Merge tag 'arm-soc/for-5.8/drivers-fixes' of https://github.com/Broadcom/stblinux into arm/fixes

This pull request contains Broadcom ARM/ARM64/MIPS SoCs drivers fixes
for 5.8, please pull the following:

- Andy provides a fix for the Raspberry Pi firmware driver to print the
correct time upon boot. This is a fallout from a converstion to use
the ptT format

* tag 'arm-soc/for-5.8/drivers-fixes' of https://github.com/Broadcom/stblinux:
ARM: bcm2835: Fix integer overflow in rpi_firmware_print_firmware_revision()

Link: https://lore.kernel.org/r/20200619202250.19029-2-f.fainelli@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Changed files
+4 -1
drivers
firmware
+4 -1
drivers/firmware/raspberrypi.c
··· 181 static void 182 rpi_firmware_print_firmware_revision(struct rpi_firmware *fw) 183 { 184 u32 packet; 185 int ret = rpi_firmware_property(fw, 186 RPI_FIRMWARE_GET_FIRMWARE_REVISION, ··· 190 if (ret) 191 return; 192 193 - dev_info(fw->cl.dev, "Attached to firmware from %ptT\n", &packet); 194 } 195 196 static void
··· 181 static void 182 rpi_firmware_print_firmware_revision(struct rpi_firmware *fw) 183 { 184 + time64_t date_and_time; 185 u32 packet; 186 int ret = rpi_firmware_property(fw, 187 RPI_FIRMWARE_GET_FIRMWARE_REVISION, ··· 189 if (ret) 190 return; 191 192 + /* This is not compatible with y2038 */ 193 + date_and_time = packet; 194 + dev_info(fw->cl.dev, "Attached to firmware from %ptT\n", &date_and_time); 195 } 196 197 static void