Re: format string mismatch

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

 



Toralf,

thanks for reporting these inconsistencies in our drivers. Patches are
welcome, if you can spend the time. Otherwise we will take care about
them. I suggest to keep the "unsigned int" format in lcs.c and
ctcm_sysfs.c, but move to a "u8" format in qeth_l3_main.c.

Regards, Ursula Braun

> From:        Toralf Förster <toralf.foerster@xxxxxx> 
> To:        linux-s390@xxxxxxxxxxxxxxx, 
> Date:        19/05/2014 17:42 
> Subject:        format string mismatch 
> Sent by:        linux-s390-owner@xxxxxxxxxxxxxxx 
> 
> 
> FWIW a current cppcheck blamed these issues :
> 
> [drivers/s390/net/ctcm_sysfs.c:46]: (warning) %u in format string (no.
> 1) requires 'unsigned int *' but the argument type is 'int *'.
> [drivers/s390/net/ctcm_sysfs.c:151]: (warning) %u in format string
> (no. 1) requires 'unsigned int *' but the argument type is 'int *'.
> [drivers/s390/net/lcs.c:1953]: (warning) %u in format string (no. 1)
> requires 'unsigned int *' but the argument type is 'int *'.
> [drivers/s390/net/lcs.c:2007]: (warning) %u in format string (no. 1)
> requires 'unsigned int *' but the argument type is 'int *'.
> [drivers/s390/net/qeth_l3_main.c:69]: (warning) %u in format string
> (no. 1) requires 'unsigned int *' but the argument type is 'int *'.
> [drivers/s390/net/qeth_l3_main.c:69]: (warning) %u in format string
> (no. 2) requires 'unsigned int *' but the argument type is 'int *'.
> [drivers/s390/net/qeth_l3_main.c:69]: (warning) %u in format string
> (no. 3) requires 'unsigned int *' but the argument type is 'int *'.
> [drivers/s390/net/qeth_l3_main.c:69]: (warning) %u in format string
> (no. 4) requires 'unsigned int *' but the argument type is 'int *'.
> 
> patches welcome ?
> 


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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux