Re: [PATCH 1/7] drm/amdgpu/mes10.1: Fix header guard

2019-07-08 Thread Arnd Bergmann
On Thu, Jul 4, 2019 at 7:52 AM Nathan Chancellor wrote: > > clang warns: > > In file included from drivers/gpu/drm/amd/amdgpu/nv.c:53: > drivers/gpu/drm/amd/amdgpu/../amdgpu/mes_v10_1.h:24:9: warning: > '__MES_V10_1_H__' is used as a header guard here, followed by #define of > a different

[PATCH 1/7] drm/amdgpu/mes10.1: Fix header guard

2019-07-03 Thread Nathan Chancellor
clang warns: In file included from drivers/gpu/drm/amd/amdgpu/nv.c:53: drivers/gpu/drm/amd/amdgpu/../amdgpu/mes_v10_1.h:24:9: warning: '__MES_V10_1_H__' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __MES_V10_1_H__ ^~~