summaryrefslogtreecommitdiff
path: root/include/linux/compiler_types.h
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2020-07-22 16:17:19 +0000
committerDave Airlie <airlied@redhat.com>2020-07-23 14:33:12 +1000
commitfa07634d9c6757fa859e228b6b1e23017d1d7279 (patch)
treefc7c1fd11da0a3133ef55fc1ad3cd2b782500b2e /include/linux/compiler_types.h
parent4145cb541668eb48ac7d028d4e27b5f1b7378e4c (diff)
dma-fence: Make symbol 'dma_fence_lockdep_map' static
The sparse tool complains as follows: drivers/dma-buf/dma-fence.c:249:25: warning: symbol 'dma_fence_lockdep_map' was not declared. Should it be static? This variable is not used outside of dma-fence.c, so this commit marks it static. Fixes: 5fbff813a4a3 ("dma-fence: basic lockdep annotations") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/dc5e3b19-2087-44ab-a28c-ddb38ff8861a@email.android.com
Diffstat (limited to 'include/linux/compiler_types.h')
0 files changed, 0 insertions, 0 deletions