Re: [PATCH] lomount: clean up gcc warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 08, 2007 at 09:59:18AM -0700, Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
> 
> Fix strict gcc warnings that come from using:
>   ("-Wall -Wp,-D_FORTIFY_SOURCE=2")
> 
> lomount.c:98: warning: pointer targets in initialization differ in signedness
> lomount.c:111: warning: format '%04x' expects type 'unsigned int', but argument 4 has type '__kernel_old_dev_t'
> lomount.c:300: warning: pointer targets in passing argument 1 of 'xstrncpy' differ in signedness
> lomount.c:307: warning: pointer targets in passing argument 1 of '__builtin___snprintf_chk' differ in signedness
> lomount.c:339: warning: pointer targets in passing argument 1 of 'xstrncpy' differ in signedness
> 
> Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

 Applied, thanks.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux