Re: [PATCH -next] drm/arc: Fix some sparse warnings

From: Alexey Brodkin
Date: Tue Jul 19 2016 - 14:01:33 EST


Hi+AKA-Wei Yongjun,

On Tue, 2016-07-19 at 12:04 +-0000, Wei Yongjun wrote:
+AD4- From: Wei Yongjun +ADw-yongjun+AF8-wei+AEA-trendmicro.com.cn+AD4-
+AD4-
+AD4- Fixes the following sparse warnings:
+AD4-
+AD4- drivers/gpu/drm/arc/arcpgu+AF8-drv.c:52:5: warning:
+AD4- +AKA- symbol 'arcpgu+AF8-gem+AF8-mmap' was not declared. Should it be static?
+AD4- drivers/gpu/drm/arc/arcpgu+AF8-drv.c:134:48: warning:
+AD4- +AKA- Using plain integer as NULL pointer
+AD4- drivers/gpu/drm/arc/arcpgu+AF8-drv.c:155:5: warning:
+AD4- +AKA- symbol 'arcpgu+AF8-unload' was not declared. Should it be static?
+AD4-
+AD4- Signed-off-by: Wei Yongjun +ADw-yongjun+AF8-wei+AEA-trendmicro.com.cn+AD4-

Acked-by: Alexey Brodkin +ADw-abrodkin+AEA-synopsys.com+AD4-