From: Nicholas Bellinger Date: Fri, 13 Feb 2015 23:28:27 +0000 (+0000) Subject: target: Add sanity checks for DPO/FUA bit usage X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~13^2~3 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fde9f50f80fe89a9115b4bfa773017272597d85d;p=pandora-kernel.git target: Add sanity checks for DPO/FUA bit usage This patch adds a sbc_check_dpofua() function that performs sanity checks for DPO/FUA command bits. It introduces checks to fail when either bit is set, but the backend device is not advertising support for them. It also moves the existing cmd->se_cmd_flags |= SCF_FUA assignement into the new helper function. Cc: Christoph Hellwig Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed