Adding upstream version 2.12.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
65508f0a28
commit
c0fbec1eb4
571 changed files with 10718 additions and 2738 deletions
|
@ -7,9 +7,12 @@
|
|||
|
||||
static void binary_hwcomp_log(struct hwcomp_log *log, __u32 id, bool list)
|
||||
{
|
||||
long double desc_len = uint128_t_to_double(le128_to_cpu(log->size)) * sizeof(__le32);
|
||||
long double log_bytes = uint128_t_to_double(le128_to_cpu(log->size));
|
||||
|
||||
d_raw((unsigned char *)log, offsetof(struct hwcomp_log, desc) + desc_len);
|
||||
if (log->ver == 1)
|
||||
log_bytes *= sizeof(__le32);
|
||||
|
||||
d_raw((unsigned char *)log, log_bytes);
|
||||
}
|
||||
|
||||
static void binary_c5_log(struct nvme_dev *dev, struct unsupported_requirement_log *log_data)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue