diff options
author | Subhash Jadavani <subhashj@codeaurora.org> | 2015-07-06 15:09:22 -0700 |
---|---|---|
committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:00:06 -0700 |
commit | 7bab20e6e532ca359896d78958843c7cf844fdf6 (patch) | |
tree | e86d6b365a6d7281fbcfd47e0336471c5b9aeeb2 /drivers/scsi/sr.h | |
parent | f254bdb5124e5ea757f2a7bfcd01d423d2402d89 (diff) |
scsi: ufs: fix compilation errors with gcc5
When compiling with gcc5, it throws below errors:
drivers/scsi/ufs/ufs-qcom.c: In function 'ufs_qcom_hce_enable_notify':
drivers/scsi/ufs/ufs-qcom.c:352:10: warning: switch condition has boolean
value [-Wswitch-bool] error, forbidden warning: ufs-qcom.c:352
This is because we are using the boolean value in switch condition and it
seems to be forbidden by compiler (by default). Fix this by using the
proper enum type instead of boolean.
Change-Id: Iee6950e5986dc51afbf9440cd4773b4d0f02fcdc
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
[venkatg@codeaurora.org: resolved trivial merge conflict]
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
Diffstat (limited to 'drivers/scsi/sr.h')
0 files changed, 0 insertions, 0 deletions