Home
last modified time | relevance | path

Searched hist:"5 d4156ac48a4f4c0b7f980a51937e33362f78911" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/firmware/broadcom/
H A Dbcm47xx_nvram.cdiff 5d4156ac48a4f4c0b7f980a51937e33362f78911 Sun Sep 22 13:31:15 CDT 2019 Linus Torvalds <torvalds@linux-foundation.org> firmware: bcm47xx_nvram: _really_ correct size_t printf format

Commit feb4eb060c3a ("firmware: bcm47xx_nvram: Correct size_t printf
format") was wrong, and changed a printout of 'header.len' - which is an
u32 type - to use '%zu'.

It apparently did pattern matching on the other case, where it printed
out 'nvram_len', which is indeed of type 'size_t'.

Rather than undoing the change, this just makes it use the variable that
the change seemed to expect to be used.

Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Philippe Mathieu-Daudé <f4bug@amsat.org>
Cc: Paul Burton <paul.burton@mips.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>