From: Qian Cai Subject: [RESEND PATCH] gpu/drm_memory: fix a few warnings Date: Fri, 7 Jun 2019 15:00:35 -0400 Message-ID: <1559934035-3330-1-git-send-email-cai@lca.pw> Return-path: Sender: linux-kernel-owner@vger.kernel.org To: akpm@linux-foundation.org Cc: airlied@linux.ie, daniel@ffwll.ch, maarten.lankhorst@linux.intel.com, sean@poorly.run, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Qian Cai List-Id: dri-devel@lists.freedesktop.org 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 Signed-off-by: Qian Cai --- drivers/gpu/drm/drm_memory.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_memory.c b/drivers/gpu/drm/drm_memory.c index 132fef8ff1b6..683042c8ee2c 100644 --- a/drivers/gpu/drm/drm_memory.c +++ b/drivers/gpu/drm/drm_memory.c @@ -1,4 +1,5 @@ -/** +// SPDX-License-Identifier: MIT +/* * \file drm_memory.c * Memory management wrappers for DRM * -- 1.8.3.1