hisi_sas: Change int to unsigned int to avoid the overflow risk of left shift Operators.
driver inclusion category: bugfix bugzilla: NA CVE: NA "4 << 29" exceeds the max value of int type, so "4" needs to be changed as unsigned int type. Signed-off-by: Ngaochuan (E) <gaochuan4@huawei.com> Reviewed-by: Nzhouyupeng1 <zhouyupeng1@huawei.com> Reviewed-by: Nchenxiang <chenxiang66@hisilicon.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录