[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <AE59FB65-6D4A-46AA-AFF7-EC80D11028D1@holtmann.org>
Date: Mon, 12 Aug 2019 19:10:53 +0200
From: Marcel Holtmann <marcel@...tmann.org>
To: YueHaibing <yuehaibing@...wei.com>
Cc: Johan Hedberg <johan.hedberg@...il.com>,
linux-kernel@...r.kernel.org, linux-bluetooth@...r.kernel.org
Subject: Re: [PATCH -next] Bluetooth: hci_bcm: Fix -Wunused-const-variable
warnings
Hi Yue,
> If CONFIG_ACPI is not set, gcc warn this:
>
> drivers/bluetooth/hci_bcm.c:831:39: warning:
> acpi_bcm_int_last_gpios defined but not used [-Wunused-const-variable=]
> drivers/bluetooth/hci_bcm.c:838:39: warning:
> acpi_bcm_int_first_gpios defined but not used [-Wunused-const-variable=]
>
> move them to #ifdef CONFIG_ACPI block.
>
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
> ---
> drivers/bluetooth/hci_bcm.c | 30 +++++++++++++++---------------
> 1 file changed, 15 insertions(+), 15 deletions(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel
Powered by blists - more mailing lists