commit | ee194b75318df718827677d150ebdc31086b121b | [log] [tgz] |
---|---|---|
author | Damien Le Moal <damien.lemoal@hgst.com> | Thu Jul 14 09:05:50 2016 +0900 |
committer | Tejun Heo <tj@kernel.org> | Fri Jul 15 08:08:14 2016 -0400 |
tree | 22b7e3434f8ed91b447b83630312d9e3a4aa6944 | |
parent | 3f17422b425afd91f4fb45b8f47ffd61b02c0bb8 [diff] |
libata-scsi: Fix ZBC management out command translation The subcommand for NCQ NON-DATA must be specified in the feature (low byte), not the high-order count byte. Also make sure to properly cast the all bit to a u16 before shiting it by 8 to avoid undefined behavior. Signed-off-by: Damien Le Moal <damien.lemoal@hgst.com> [hch: split the original patch into two, updated changelog] Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Tejun Heo <tj@kernel.org>