From: Nicholas Bellinger Date: Wed, 7 Nov 2012 04:59:41 +0000 (-0800) Subject: target: Change sbc_emulate_noop to return sense_reason_t X-Git-Tag: v3.8-rc1~94^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1920ed61fbbbb38919edfb2427b0b1fd4e4ad8d9;p=pandora-kernel.git target: Change sbc_emulate_noop to return sense_reason_t As reported by Fengguang Wu + 0 day build team, the sense_reason_t conversion in for-next did not catch the recent sbc_emulate_noop() addition in mainline, producing the following build warning in auto-next: drivers/target/target_core_sbc.c: In function ‘sbc_parse_cdb’: drivers/target/target_core_sbc.c:555: warning: assignment from incompatible pointer type Go ahead and remove duplicate sbc_emulate_verify(), and change VERIFY to use sbc_emulate_noop() as well. Reported-by: Fengguang Wu Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed