lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Tue, 07 Oct 2014 00:11:13 -0400 (EDT)
From:	David Miller <davem@...emloft.net>
To:	azhou@...ira.com
Cc:	netdev@...r.kernel.org
Subject: Re: [net-next 2/2] openvswitch: fix a sparse warning

From: Andy Zhou <azhou@...ira.com>
Date: Mon,  6 Oct 2014 13:22:51 -0700

> Fix a sparse warning introduced by commit:
> f5796684069e0c71c65bce6a6d4766114aec1396 (openvswitch: Add support for
> Geneve tunneling.) caught by kbuild test robot:
> 
> reproduce:
>   # apt-get install sparse
>   #   git checkout f5796684069e0c71c65bce6a6d4766114aec1396
>   #     make ARCH=x86_64 allmodconfig
>   #       make C=1 CF=-D__CHECK_ENDIAN__
>   #
>   #
>   #       sparse warnings: (new ones prefixed by >>)
>   #
>   #       >> net/openvswitch/vport-geneve.c:109:15: sparse: incorrect type in assignment (different base types)
>   #          net/openvswitch/vport-geneve.c:109:15:    expected restricted __be16 [usertype] sport
>   #             net/openvswitch/vport-geneve.c:109:15:    got int
>   #             >> net/openvswitch/vport-geneve.c:110:56: sparse: incorrect type in argument 3 (different base types)
>   #                net/openvswitch/vport-geneve.c:110:56:    expected unsigned short [unsigned] [usertype] value
>   #                   net/openvswitch/vport-geneve.c:110:56:    got restricted __be16 [usertype] sport
> 
> Reported-by: kbuild test robot <fengguang.wu@...el.com>
> Signed-off-by: Andy Zhou <azhou@...ira.com>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ