diff options
author | Moger, Babu <Babu.Moger@netapp.com> | 2012-01-25 00:38:42 +0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-02-19 18:08:59 +0400 |
commit | 3384db9eb8b1e4f94a02c2a0ce3c0efe6142f3ba (patch) | |
tree | 883b9e253f755a5622c4c8ba250c86550e942fea /lib/dec_and_lock.c | |
parent | 98788a134979fe66c32a1393adf66f7d3faf16ea (diff) | |
download | linux-3384db9eb8b1e4f94a02c2a0ce3c0efe6142f3ba.tar.xz |
[SCSI] Correctly set the scsi host/msg/status bytes
Resubmitting as my previous post had format issues and did not go llinux-scsi.
This patch changes the function to set_msg_byte, set_host_byte and
set_driver_byte to correctly set the corresponding bytes appropriately.
It will reset the original setting and correctly set it to the new value. The
previous OR operation does not always set it back to new value. Look at patch
2/2 for an example.
Signed-off-by: Babu Moger <babu.moger@netapp.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'lib/dec_and_lock.c')
0 files changed, 0 insertions, 0 deletions