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 6a0164f commit 798edadCopy full SHA for 798edad
drivers/nvme/host/trace.c
@@ -119,7 +119,10 @@ static const char *nvme_trace_get_lba_status(struct trace_seq *p,
119
static const char *nvme_trace_admin_format_nvm(struct trace_seq *p, u8 *cdw10)
120
{
121
const char *ret = trace_seq_buffer_ptr(p);
122
- u8 lbaf = cdw10[0] & 0xF;
+ /*
123
+ * lbafu(bit 13:12) is already in the upper 4 bits, lbafl: bit 03:00.
124
+ */
125
+ u8 lbaf = (cdw10[1] & 0x30) | (cdw10[0] & 0xF);
126
u8 mset = (cdw10[0] >> 4) & 0x1;
127
u8 pi = (cdw10[0] >> 5) & 0x7;
128
u8 pil = cdw10[1] & 0x1;
0 commit comments