We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7e0510 commit a3f1ca3Copy full SHA for a3f1ca3
1 file changed
src/nvme/mi.h
@@ -499,14 +499,9 @@ static inline __u32 nvme_mi_aem_aeolli_get_aeoltl(__u8 *aeolli)
499
500
static inline void nvme_mi_aem_aeolli_set_aeoltl(__u32 aeoltl, struct nvme_mi_aem_occ_list_hdr *hdr)
501
{
502
- fprintf(stderr, "Set AEOTL: %d\n", aeoltl);
503
- //First 23-bits contain the aeoltl
504
- __u32 le_bytes = cpu_to_le32(aeoltl);
505
- fprintf(stderr, "AEOTL le: %d\n", le_bytes);
506
-
507
- hdr->aeolli[0] = le_bytes & 0xFF;
508
- hdr->aeolli[1] = (le_bytes >> 8) & 0xFF;
509
- hdr->aeolli[2] = (hdr->aeolli[2] & 0b10000000) | ((le_bytes >> 16) & 0x7F);
+ hdr->aeolli[0] = aeoltl & 0xFF;
+ hdr->aeolli[1] = (aeoltl >> 8) & 0xFF;
+ hdr->aeolli[2] = (hdr->aeolli[2] & 0b10000000) | ((aeoltl >> 16) & 0x7F);
510
}
511
512
0 commit comments