]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
Fix to determine initial value for lba in print_list_item
authorstevegalbraith <steven.galbraith@pmcs.com>
Wed, 27 May 2015 16:36:38 +0000 (09:36 -0700)
committerstevegalbraith <steven.galbraith@pmcs.com>
Wed, 27 May 2015 16:36:38 +0000 (09:36 -0700)
commite5c4ea7131c1a12732e6982b45b4d68e7b75f34e
treed2433b65f53b965237fbee0b96a2e49a8965b157
parenta0b2df0eebc4237b12804c799d431aa56cc8b183
Fix to determine initial value for lba in print_list_item
The index used to determine lba value takes into accout the entire FLBAS field.  Bit 4 determines whether an extended or separate is used to send metadata and if set to 1'b,
throws off the index value.  Masked out the top 4 bits to only take into account Bits 3:0 which indicate the LBA format type used.
nvme.c