Re: [Nouveau] [PATCH -next] drm/nouveau/disp: make gv100_disp_core_mthd_base static

2023-04-11 Thread Karol Herbst
Reviewed-by: Karol Herbst On Sat, Sep 24, 2022 at 10:00 AM ruanjinjie wrote: > > The symbol is not used outside of the file, so mark it static. > > Fixes the following warning: > > ./drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c:591:1: warning: > symbol 'gv100_disp_core_mthd_base' was not dec

Re: [Nouveau] [PATCH] drm/nouveau/mc/ga100: make ga100_mc_device static

2023-04-11 Thread Karol Herbst
Reviewed-by: Karol Herbst On Thu, Dec 29, 2022 at 4:52 PM Ben Dooks wrote: > > Make ga100_mc_device static as it isn't exported, to > fix the following sparse warning: > > drivers/gpu/drm/nouveau/nvkm/subdev/mc/ga100.c:51:1: warning: symbol > 'ga100_mc_device' was not declared. Should it be sta

Re: [Nouveau] [PATCH 1/2] drm/i915: constify pointers to hwmon_channel_info

2023-04-11 Thread Jani Nikula
On Fri, 07 Apr 2023, Krzysztof Kozlowski wrote: > Statically allocated array of pointed to hwmon_channel_info can be made > const for safety. > > Signed-off-by: Krzysztof Kozlowski > > --- > > This depends on hwmon core patch: > https://lore.kernel.org/all/20230406203103.3011503-2-krzysztof.kozlo