Signed-off-by: Brandon Paupore <brandon.paupore@wdc.com>
} else if (err < 0) {
perror("get-feature");
} else {
- if ((ctrl.lpa & 64)) {
+ if ((ctrl.lpa & 0x40)) {
if (((unsigned char *)buf)[1] == 1)
total_size = (le32_to_cpu(log->dalb4) * bs) + NVME_LOG_TELEM_BLOCK_SIZE;
else {
} else if (err < 0) {
perror("get-feature");
} else {
- if ((ctrl.lpa & 64)) {
+ if ((ctrl.lpa & 0x40)) {
if (((unsigned char *)buf)[1] == 1)
full_size = (le32_to_cpu(hdr->dalb4) * WDC_TELEMETRY_BLOCK_SIZE) + WDC_TELEMETRY_HEADER_LENGTH;
else {