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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 28 Mar 2013 17:40:39 -0400 (EDT)
From:	David Miller <davem@...emloft.net>
To:	alex.mihai.c@...il.com
Cc:	linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
	honkiko@...il.com, tgraf@...g.ch
Subject: Re: [PATCH net-next] audit: pass int* to nlmsg_next

From: Alexandru Copot <alex.mihai.c@...il.com>
Date: Thu, 28 Mar 2013 23:31:29 +0200

> Commit 941912133025926307c7a65b203fa38403b1063a replaced the macros
> NLMSG_NEXT with calls to nlmsg_next which produces this warning:
> 
> kernel/audit.c: In function ‘audit_receive_skb’:
> kernel/audit.c:928:3: warning: passing argument 2 of ‘nlmsg_next’ makes pointer from integer without a cast
> In file included from include/net/rtnetlink.h:5:0,
>                  from include/net/neighbour.h:28,
>                  from include/net/dst.h:17,
>                  from include/net/sock.h:68,
>                  from kernel/audit.c:55:
> include/net/netlink.h:359:1: note: expected ‘int *’ but argument is of type ‘int’
> 
> Fix this by sending the intended pointer.
> 
> Signed-off-by: Alexandru Copot <alex.mihai.c@...il.com>

Applied, thanks.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ