[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <nycvar.YFH.7.76.2212201537570.9000@cbobk.fhfr.pm>
Date: Tue, 20 Dec 2022 15:38:08 +0100 (CET)
From: Jiri Kosina <jikos@...nel.org>
To: José Expósito <jose.exposito89@...il.com>
cc: benjamin.tissoires@...hat.com, rydberg@...math.org,
linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] HID: sony: Fix unused function warning
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@...il.com>
Thanks for fixing this, now applied.
--
Jiri Kosina
SUSE Labs
Powered by blists - more mailing lists