We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3a9e3b commit da785a8Copy full SHA for da785a8
drivers/firmware/raspberrypi.c
@@ -181,6 +181,7 @@ EXPORT_SYMBOL_GPL(rpi_firmware_property);
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,7 +190,9 @@ rpi_firmware_print_firmware_revision(struct rpi_firmware *fw)
189
190
if (ret)
191
return;
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);
196
}
197
198
0 commit comments