From: Jiri Kosina <jikos@kernel.org>
To: "José Expósito" <jose.exposito89@gmail.com>
Cc: benjamin.tissoires@redhat.com, rydberg@bitmath.org,
linux-input@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] HID: sony: Fix unused function warning
Date: Tue, 20 Dec 2022 15:38:08 +0100 (CET) [thread overview]
Message-ID: <nycvar.YFH.7.76.2212201537570.9000@cbobk.fhfr.pm> (raw)
In-Reply-To: <20221128165524.6387-1-jose.exposito89@gmail.com>
On Mon, 28 Nov 2022, José Expósito wrote:
> Compiling this driver without setting "CONFIG_SONY_FF" generates the
> following warning:
>
> drivers/hid/hid-sony.c:2358:20: warning: unused function
> 'sony_send_output_report' [-Wunused-function]
> static inline void sony_send_output_report(struct sony_sc *sc)
> ^
> 1 warning generated.
>
> Add the missing preprocessor check to fix it.
>
> Signed-off-by: José Expósito <jose.exposito89@gmail.com>
Thanks for fixing this, now applied.
--
Jiri Kosina
SUSE Labs
prev parent reply other threads:[~2022-12-20 14:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-28 16:55 [PATCH] HID: sony: Fix unused function warning José Expósito
2022-12-20 14:38 ` Jiri Kosina [this message]
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=nycvar.YFH.7.76.2212201537570.9000@cbobk.fhfr.pm \
--to=jikos@kernel.org \
--cc=benjamin.tissoires@redhat.com \
--cc=jose.exposito89@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rydberg@bitmath.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).