commit | d79713f911918e43576338e33396c7f889f5d272 | [log] [tgz] |
---|---|---|
author | Tomas Winkler <tomas.winkler@intel.com> | Thu Jan 05 10:45:11 2017 +0200 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Tue Jan 10 22:59:58 2017 -0500 |
tree | a7b857d6b81903a939d1a01fbbd1522c9d6fbcaf | |
parent | 8209b6d54e7e2f8b305da831c78629b65d144f91 [diff] |
scsi: ufs: ufshcd_get_max_icc_level fix endianity handling Reading big endian value from a buffer requires explicit cast. Fix sparse warning: drivers/scsi/ufs/ufshcd.c:4825:24: warning: cast to restricted __be16 Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Reviewed-by: Subhash Jadavani <subhashj@codeaurora.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>