All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@intel.com>
To: Doug Anderson <dianders@chromium.org>
Cc: dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org,
	intel-xe@lists.freedesktop.org,
	Nathan Chancellor <nathan@kernel.org>,
	Andrzej Hajda <andrzej.hajda@intel.com>,
	Neil Armstrong <neil.armstrong@linaro.org>,
	Robert Foss <rfoss@kernel.org>,
	Laurent Pinchart <Laurent.pinchart@ideasonboard.com>,
	Jonas Karlman <jonas@kwiboo.se>,
	Jernej Skrabec <jernej.skrabec@gmail.com>
Subject: Re: [PATCH 4/8] drm/bridge: ti-sn65dsi86: annotate ti_sn_pwm_pin_{request, release} with __maybe_unused
Date: Wed, 11 Sep 2024 11:01:49 +0300	[thread overview]
Message-ID: <87h6amk49e.fsf@intel.com> (raw)
In-Reply-To: <CAD=FV=XgddDYmOiX1ouQo2ayhJn4GVQrErj-XBy3og5eJ0uBOA@mail.gmail.com>

On Tue, 10 Sep 2024, Doug Anderson <dianders@chromium.org> wrote:
> Hi,
>
> On Tue, Sep 10, 2024 at 3:04 AM Jani Nikula <jani.nikula@intel.com> wrote:
>>
>> Building with clang, W=1, CONFIG_PM=n and CONFIG_OF_GPIO=n leads to
>> warning about unused ti_sn_pwm_pin_request() and
>> ti_sn_pwm_pin_release(). Fix by annotating them with __maybe_unused.
>>
>> See also commit 6863f5643dd7 ("kbuild: allow Clang to find unused static
>> inline functions for W=1 build").
>>
>> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
>>
>> ---
>>
>> Cc: Douglas Anderson <dianders@chromium.org>
>> Cc: Andrzej Hajda <andrzej.hajda@intel.com>
>> Cc: Neil Armstrong <neil.armstrong@linaro.org>
>> Cc: Robert Foss <rfoss@kernel.org>
>> Cc: Laurent Pinchart <Laurent.pinchart@ideasonboard.com>
>> Cc: Jonas Karlman <jonas@kwiboo.se>
>> Cc: Jernej Skrabec <jernej.skrabec@gmail.com>
>> Cc: Nathan Chancellor <nathan@kernel.org>
>> ---
>>  drivers/gpu/drm/bridge/ti-sn65dsi86.c | 4 ++--
>>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> Reviewed-by: Douglas Anderson <dianders@chromium.org>
>
> I'm happy to land this in drm-misc-next unless there are any extra
> dependencies. Let me know. In some sense I guess this could even be
> considered a "Fix", though I guess given the history of the compiler
> options that might be a bit of a stretch.

drm-misc-next is fine. Agree on not considering this a fix.

BR,
Jani.


-- 
Jani Nikula, Intel

  reply	other threads:[~2024-09-11  8:01 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-10 10:03 [PATCH 0/8] drm: fix and enable warnings on unused static inlines Jani Nikula
2024-09-10 10:03 ` [PATCH 1/8] drm/bridge: dw-hdmi-i2s: annotate hdmi_read() with __maybe_unused Jani Nikula
2024-09-10 10:03 ` [PATCH 2/8] drm: renesas: rcar-du: annotate rcar_cmm_read() " Jani Nikula
2024-09-10 12:39   ` Geert Uytterhoeven
2024-09-10 13:36     ` Jani Nikula
2024-09-11  9:51       ` Laurent Pinchart
2024-09-11 10:21         ` Jani Nikula
2024-09-10 10:03 ` [PATCH 3/8] drm/kmb: annotate set_test_mode_src_osc_freq_target_{low, hi}_bits() " Jani Nikula
2024-09-10 18:11   ` [PATCH 3/8] drm/kmb: annotate set_test_mode_src_osc_freq_target_{low,hi}_bits() " Chrisanthus, Anitha
2024-09-13 11:46     ` Jani Nikula
2024-09-10 10:03 ` [PATCH 4/8] drm/bridge: ti-sn65dsi86: annotate ti_sn_pwm_pin_{request, release} " Jani Nikula
2024-09-10 22:57   ` Doug Anderson
2024-09-11  8:01     ` Jani Nikula [this message]
2024-09-11 20:07       ` Doug Anderson
2024-09-10 10:03 ` [PATCH 5/8] drm/imagination: annotate pvr_fw_version_packed() " Jani Nikula
2024-09-10 10:40   ` Matt Coster
2024-09-13 11:47     ` Jani Nikula
2024-09-10 10:03 ` [PATCH 6/8] drm/meson: dw-hdmi: annotate dw_hdmi_dwc_write_bits() " Jani Nikula
2024-09-10 10:03   ` Jani Nikula
2024-09-15 19:35   ` Martin Blumenstingl
2024-09-15 19:35     ` Martin Blumenstingl
2024-09-16  7:43     ` Jani Nikula
2024-09-16  7:43       ` Jani Nikula
2024-09-10 10:03 ` [PATCH 7/8] drm/msmi: annotate pll_cmp_to_fdata() " Jani Nikula
2024-09-10 14:51   ` Dmitry Baryshkov
2024-09-10 15:54     ` Marc Gonzalez
2024-09-11 10:23       ` Jani Nikula
2024-09-12 10:56         ` Marc Gonzalez
2024-09-12 11:15           ` Jani Nikula
2024-09-12 12:14             ` Marc Gonzalez
2024-09-12 12:28               ` Dmitry Baryshkov
2024-09-12 12:50                 ` Marc Gonzalez
2024-09-12 13:05                   ` Dmitry Baryshkov
2024-09-12 13:10                     ` Jani Nikula
2024-09-21 21:16         ` Dmitry Baryshkov
2024-09-23  6:38           ` Jani Nikula
2024-09-10 10:03 ` [PATCH 8/8] drm: enable warnings on unused static inlines Jani Nikula
2024-09-10 11:13 ` ✓ CI.Patch_applied: success for drm: fix and " Patchwork
2024-09-10 11:14 ` ✗ CI.checkpatch: warning " Patchwork
2024-09-10 11:15 ` ✓ CI.KUnit: success " Patchwork
2024-09-10 11:37 ` ✓ CI.Build: " Patchwork
2024-09-10 11:40 ` ✓ CI.Hooks: " Patchwork
2024-09-10 11:41 ` ✗ CI.checksparse: warning " Patchwork
2024-09-10 12:30 ` ✓ CI.BAT: success " Patchwork
2024-09-10 13:37 ` ✗ CI.FULL: failure " Patchwork
2024-09-10 14:24 ` ✗ Fi.CI.CHECKPATCH: warning " Patchwork
2024-09-10 14:24 ` ✗ Fi.CI.SPARSE: " Patchwork
2024-09-10 14:33 ` ✓ Fi.CI.BAT: success " Patchwork
2024-09-11  7:34 ` ✗ Fi.CI.IGT: failure " Patchwork
2024-09-11 17:46 ` [PATCH 0/8] " Nathan Chancellor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h6amk49e.fsf@intel.com \
    --to=jani.nikula@intel.com \
    --cc=Laurent.pinchart@ideasonboard.com \
    --cc=andrzej.hajda@intel.com \
    --cc=dianders@chromium.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=jernej.skrabec@gmail.com \
    --cc=jonas@kwiboo.se \
    --cc=nathan@kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=rfoss@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.