From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Huacai Chen <chenhuacai@loongson.cn>
Cc: Sasha Levin <sashal@kernel.org>,
Huacai Chen <chenhuacai@kernel.org>,
Xuerui Wang <kernel@xen0n.name>,
stable@vger.kernel.org, ziyao@disroot.org,
linux-kernel@vger.kernel.org, loongarch@lists.linux.dev
Subject: Re: [PATCH for 6.1/6.6] platform/loongarch: laptop: Fix build error due to backport
Date: Sun, 22 Jun 2025 15:10:16 +0200 [thread overview]
Message-ID: <2025062206-roundish-thumb-a20e@gregkh> (raw)
In-Reply-To: <20250622110148.3108758-1-chenhuacai@loongson.cn>
On Sun, Jun 22, 2025 at 07:01:48PM +0800, Huacai Chen wrote:
> In 6.1/6.6 there is no BACKLIGHT_POWER_ON definition so a build error
> occurs due to recently backport:
>
> CC drivers/platform/loongarch/loongson-laptop.o
> drivers/platform/loongarch/loongson-laptop.c: In function 'laptop_backlight_register':
> drivers/platform/loongarch/loongson-laptop.c:428:23: error: 'BACKLIGHT_POWER_ON' undeclared (first use in this function)
> 428 | props.power = BACKLIGHT_POWER_ON;
> | ^~~~~~~~~~~~~~~~~~
>
> Use FB_BLANK_UNBLANK instead which has the same meaning.
>
> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
> ---
> drivers/platform/loongarch/loongson-laptop.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
What commit id is this fixing?
thanks,
greg k-h
next prev parent reply other threads:[~2025-06-22 13:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-22 11:01 Huacai Chen
2025-06-22 13:10 ` Greg Kroah-Hartman [this message]
2025-06-22 13:11 ` Huacai Chen
2025-06-23 6:28 ` Greg Kroah-Hartman
2025-06-23 6:36 ` Huacai Chen
2025-06-23 8:03 ` Greg Kroah-Hartman
2025-06-23 8:09 ` Huacai Chen
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=2025062206-roundish-thumb-a20e@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=chenhuacai@kernel.org \
--cc=chenhuacai@loongson.cn \
--cc=kernel@xen0n.name \
--cc=linux-kernel@vger.kernel.org \
--cc=loongarch@lists.linux.dev \
--cc=sashal@kernel.org \
--cc=stable@vger.kernel.org \
--cc=ziyao@disroot.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
all inboxes | Powered by JetHome®