diff options
author | Andy Shevchenko <[email protected]> | 2020-06-16 19:31:39 +0300 |
---|---|---|
committer | Nicolas Saenz Julienne <[email protected]> | 2020-06-17 12:51:45 +0200 |
commit | da785a87787c97823d12107a4f0ec7adcc2a78d9 (patch) | |
tree | 5992e8b09213522501e20441a944a14e04b1eb1c /scripts/gdb/linux | |
parent | b3a9e3b9622ae10064826dccb4f7a52bd88c7407 (diff) |
ARM: bcm2835: Fix integer overflow in rpi_firmware_print_firmware_revision()
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
4a60f58ee002 ("ARM: bcm2835: Switch to use %ptT"). Use temporary variable
of time64_t type to correctly handle lesser types.
Fixes: 4a60f58ee002 ("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]
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions