|
@@ -40,7 +40,7 @@ struct pstore_read_data {
|
|
static inline u64 generic_id(unsigned long timestamp,
|
|
static inline u64 generic_id(unsigned long timestamp,
|
|
unsigned int part, int count)
|
|
unsigned int part, int count)
|
|
{
|
|
{
|
|
- return (timestamp * 100 + part) * 1000 + count;
|
|
|
|
|
|
+ return ((u64) timestamp * 100 + part) * 1000 + count;
|
|
}
|
|
}
|
|
|
|
|
|
static int efi_pstore_read_func(struct efivar_entry *entry, void *data)
|
|
static int efi_pstore_read_func(struct efivar_entry *entry, void *data)
|