gpu/drm_memory: fix a few warnings
Subsystems (2)
PATCH RESEND 1/1 gpu/drm_memory: fix a few warnings
The opening comment mark "/**" is reserved for kernel-doc comments, so it will generate a warning with "make W=1".
drivers/gpu/drm/drm_memory.c:2: warning: Cannot understand * \file drm_memory.c
Also, silence a checkpatch warning by adding a license identfiter where it indicates the MIT license further down in the source file.
WARNING: Missing or malformed SPDX-License-Identifier tag in line 1
--- drivers/gpu/drm/drm_memory.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/drm_memory.c +2 -1
@@ -1,4 +1,5 @@ -/** +// SPDX-License-Identifier: MIT +/* * \file drm_memory.c * Memory management wrappers for DRM *
Signature · 1 line
1.8.3.1
Ping.
Quoted 27 lines · Qian Cai
The opening comment mark "/**" is reserved for kernel-doc comments, so it will generate a warning with "make W=1".
drivers/gpu/drm/drm_memory.c:2: warning: Cannot understand * \filedrm_memory.cAlso, silence a checkpatch warning by adding a license identfiter where it indicates the MIT license further down in the source file.
WARNING: Missing or malformed SPDX-License-Identifier tag in line 1
Signed-off-by Qian Cai <[email protected]>---
drivers/gpu/drm/drm_memory.c | 3 ++-1 file changed, 2 insertions(+), 1 deletion(-)drivers/gpu/drm/drm_memory.c +2
-1@@ -1,4 +1,5 @@ -/** +// SPDX-License-Identifier: MIT +/* * \file drm_memory.c * Memory management wrappers for DRM *