[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <40aadcbe828c71a2e148890b437330465c756f15.camel@suse.de>
Date: Wed, 17 Jun 2020 13:14:50 +0200
From: Nicolas Saenz Julienne <nsaenzjulienne@...e.de>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
linux-kernel@...r.kernel.org, Arnd Bergmann <arnd@...db.de>
Cc: Stefan Wahren <wahrenst@....net>, Petr Mladek <pmladek@...e.com>,
Steven Rostedt <rostedt@...dmis.org>,
Sergey Senozhatsky <sergey.senozhatsky@...il.com>
Subject: Re: [PATCH v1] ARM: bcm2835: Fix integer overflow in
rpi_firmware_print_firmware_revision()
On Tue, 2020-06-16 at 19:31 +0300, Andy Shevchenko wrote:
> 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 <wahrenst@....net>
> Reported-by: Nicolas Saenz Julienne <nsaenzjulienne@...e.de>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
> Cc: Petr Mladek <pmladek@...e.com>
> Cc: Steven Rostedt <rostedt@...dmis.org>
> Cc: Sergey Senozhatsky <sergey.senozhatsky@...il.com>
> ---
Applied to fixes branch,
Thanks,
Nicolas
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists