summaryrefslogtreecommitdiff
path: root/security/yama
diff options
context:
space:
mode:
authorJianxin Xiong <jianxin.xiong@intel.com>2020-11-03 06:51:58 +0300
committerChristian König <christian.koenig@amd.com>2020-11-05 18:58:19 +0300
commit00efd65a65968fddd9816315ce190c1fa3bfcd29 (patch)
treede354dbe0db2db5108373d8fa266dba009a52337 /security/yama
parent2b5b95b1ff3d70a95013a45e3b5b90f1daf42348 (diff)
downloadlinux-00efd65a65968fddd9816315ce190c1fa3bfcd29.tar.xz
dma-buf: Fix static checker warning
Here is the warning message: drivers/dma-buf/dma-buf.c:917 dma_buf_map_attachment() error: 'sg_table' dereferencing possible ERR_PTR() Fix by adding error checking before dereferencing the pointer. Fixes: ac80cd17a615 ("dma-buf: Clarify that dma-buf sg lists are page aligned") Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Christian König <christian.koenig@amd.com> Link: https://patchwork.freedesktop.org/patch/398485/
Diffstat (limited to 'security/yama')
0 files changed, 0 insertions, 0 deletions