Re: format string mismatch

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

 



On Mon, 19 May 2014, Toralf Förster wrote:
> cppcheck reports :
> 
> [drivers/platform/x86/thinkpad_acpi.c:5098]: (warning) %u in format string (no. 1) requires 'unsigned int *' but the argument type is 'int *'.
> [drivers/platform/x86/thinkpad_acpi.c:5603]: (warning) %u in format string (no. 1) requires 'unsigned int *' but the argument type is 'int *'.
> [drivers/platform/x86/thinkpad_acpi.c:7183]: (warning) %u in format string (no. 1) requires 'unsigned int *' but the argument type is 'int *'.

Last time I checked, all such buglets in thinkpad-acpi were benign (other
range checking made it impossible for the buglet to manifest itself as weird
printouts).

There's a large style-fix patchset somewhere which fixes all of those, but
it came at a bad time.  I will locate it later, and review it.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
ibm-acpi-devel mailing list
ibm-acpi-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel





[Index of Archives]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite Photos]     [Yosemite Advice]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux