Message ID | 20201123111919.233376-13-lee.jones@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Rid W=1 warnings from GPU | expand |
On 2020-11-23 03:18, Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function > parameter or member 'fmt' not described in 'INTERLEAVED_RGB_FMT' > drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function > parameter or member 'a' not described in 'INTERLEAVED_RGB_FMT' > drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function > parameter or member 'r' not described in 'INTERLEAVED_RGB_FMT' > drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function > parameter or member 'g' not described in 'INTERLEAVED_RGB_FMT' > drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function > parameter or member 'b' not described in 'INTERLEAVED_RGB_FMT' > drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function > parameter or member 'e0' not described in 'INTERLEAVED_RGB_FMT' > drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function > parameter or member 'e1' not described in 'INTERLEAVED_RGB_FMT' > drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function > parameter or member 'e2' not described in 'INTERLEAVED_RGB_FMT' > drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function > parameter or member 'e3' not described in 'INTERLEAVED_RGB_FMT' > drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function > parameter or member 'uc' not described in 'INTERLEAVED_RGB_FMT' > drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function > parameter or member 'alpha' not described in 'INTERLEAVED_RGB_FMT' > drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function > parameter or member 'bp' not described in 'INTERLEAVED_RGB_FMT' > drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function > parameter or member 'flg' not described in 'INTERLEAVED_RGB_FMT' > drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function > parameter or member 'fm' not described in 'INTERLEAVED_RGB_FMT' > drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function > parameter or member 'np' not described in 'INTERLEAVED_RGB_FMT' > > Cc: Rob Clark <robdclark@gmail.com> > Cc: Sean Paul <sean@poorly.run> > Cc: David Airlie <airlied@linux.ie> > Cc: Daniel Vetter <daniel@ffwll.ch> > Cc: Fritz Koenig <frkoenig@google.com> > Cc: linux-arm-msm@vger.kernel.org > Cc: dri-devel@lists.freedesktop.org > Cc: freedreno@lists.freedesktop.org > Signed-off-by: Lee Jones <lee.jones@linaro.org> Reviewed-by: Abhinav Kumar <abhinavk@codeaurora.org> > --- > drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c > b/drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c > index a05282dede91b..21ff8f9e5dfd1 100644 > --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c > +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c > @@ -22,7 +22,7 @@ > #define DPU_MAX_IMG_WIDTH 0x3FFF > #define DPU_MAX_IMG_HEIGHT 0x3FFF > > -/** > +/* > * DPU supported format packing, bpp, and other format > * information. > * DPU currently only supports interleaved RGB formats
diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c index a05282dede91b..21ff8f9e5dfd1 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c @@ -22,7 +22,7 @@ #define DPU_MAX_IMG_WIDTH 0x3FFF #define DPU_MAX_IMG_HEIGHT 0x3FFF -/** +/* * DPU supported format packing, bpp, and other format * information. * DPU currently only supports interleaved RGB formats
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function parameter or member 'fmt' not described in 'INTERLEAVED_RGB_FMT' drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function parameter or member 'a' not described in 'INTERLEAVED_RGB_FMT' drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function parameter or member 'r' not described in 'INTERLEAVED_RGB_FMT' drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function parameter or member 'g' not described in 'INTERLEAVED_RGB_FMT' drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function parameter or member 'b' not described in 'INTERLEAVED_RGB_FMT' drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function parameter or member 'e0' not described in 'INTERLEAVED_RGB_FMT' drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function parameter or member 'e1' not described in 'INTERLEAVED_RGB_FMT' drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function parameter or member 'e2' not described in 'INTERLEAVED_RGB_FMT' drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function parameter or member 'e3' not described in 'INTERLEAVED_RGB_FMT' drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function parameter or member 'uc' not described in 'INTERLEAVED_RGB_FMT' drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function parameter or member 'alpha' not described in 'INTERLEAVED_RGB_FMT' drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function parameter or member 'bp' not described in 'INTERLEAVED_RGB_FMT' drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function parameter or member 'flg' not described in 'INTERLEAVED_RGB_FMT' drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function parameter or member 'fm' not described in 'INTERLEAVED_RGB_FMT' drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function parameter or member 'np' not described in 'INTERLEAVED_RGB_FMT' Cc: Rob Clark <robdclark@gmail.com> Cc: Sean Paul <sean@poorly.run> Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> Cc: Fritz Koenig <frkoenig@google.com> Cc: linux-arm-msm@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: freedreno@lists.freedesktop.org Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)