]> git.baikalelectronics.ru Git - kernel.git/commit
target: Add missing parentheses
authorBart Van Assche <bart.vanassche@sandisk.com>
Wed, 13 May 2015 07:19:02 +0000 (09:19 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 15 May 2015 04:13:37 +0000 (21:13 -0700)
commit13abbdc6f2ff05c07acb24edb0aaa7179c2fd794
tree5bcdca50becb2fb1b390cd6092e62c65bcb96c59
parent5309ebb8d0acc2b4dfe5a08b059051328fe13b7b
target: Add missing parentheses

Code like " &= ~CMD_T_BUSY | ..." only clears CMD_T_BUSY but not
the other flag. Modify these statements such that both flags are
cleared.

(Fix fuzz for target_write_prot_action code in mainline - nab)

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_transport.c