Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARM: bcm2835: Fix integer overflow in rpi_firmware_print_firmware_rev…
…ision() time64_t is 64-bit width type, we are not supposed to supply lesser ones as in the case of rpi_firmware_print_firmware_revision() after the commit 4a60f58 ("ARM: bcm2835: Switch to use %ptT"). Use temporary variable of time64_t type to correctly handle lesser types. Fixes: 4a60f58 ("ARM: bcm2835: Switch to use %ptT") Reported-by: Stefan Wahren <[email protected]> Reported-by: Nicolas Saenz Julienne <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]> Revieved-by: Petr Mladek <[email protected]> Tested-by: Nicolas Saenz Julienne <[email protected]> Signed-off-by: Nicolas Saenz Julienne <[email protected]> Cc: Petr Mladek <[email protected]> Cc: Steven Rostedt <[email protected]> Cc: Sergey Senozhatsky <[email protected]> Link: https://lore.kernel.org/r/[email protected]
- Loading branch information