History

Merge tag 'tags/bcm2835-drivers-fixes-2020-0-17' into drivers/fixes

Fixes Raspberry Pi firmware version output

Florian Fainelli committed 6 years ago

Commit e92bc052 parents b3a9e3b da785a81 file · +4 −1Browse files

Unified · Split

drivers/firmware/raspberrypi.c+4−1
@@ -181,6 +181,7 @@ EXPORT_SYMBOL_GPL(rpi_firmware_property); · 180 unmodified lines
181181 static void
182182 rpi_firmware_print_firmware_revision(struct rpi_firmware *fw)
183183 {
184+ time64_t date_and_time;
184185 u32 packet;
185186 int ret = rpi_firmware_property(fw,
186187 RPI_FIRMWARE_GET_FIRMWARE_REVISION,
@@ -189,7 +190,9 @@ rpi_firmware_print_firmware_revision(struct rpi_firmware *fw) · 2 unmodified lines
189190 if (ret)
190191 return;
191192
192− dev_info(fw->cl.dev, "Attached to firmware from %ptT\n", &packet);
193+ /* This is not compatible with y2038 */
194+ date_and_time = packet;
195+ dev_info(fw->cl.dev, "Attached to firmware from %ptT\n", &date_and_time);
193196 }
194197
195198 static void

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t