Linux Framebuffer Layer development
 help / color / mirror / Atom feed
From: Helge Deller <deller@gmx.de>
To: Julian Braha <julianbraha@gmail.com>
Cc: arnd@arndb.de, linux-fbdev@vger.kernel.org,
	dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] fbdev: replace dead select with dependency
Date: Sat, 25 Jul 2026 17:22:52 +0200	[thread overview]
Message-ID: <bb0fb3ae-5d98-4273-93fc-b36394291d5e@gmx.de> (raw)
In-Reply-To: <20260723122818.437802-1-julianbraha@gmail.com>

On 7/23/26 14:28, Julian Braha wrote:
> 'select' does not work on config options in a 'choice', so currently it is
> possible to enable FB_MB862XX_LIME without FB_LITTLE_ENDIAN.
> 
> We cannot replace the 'select FB_LITTLE_ENDIAN' without also changing
> FB_FOREIGN_ENDIAN from 'select' to 'depends on', otherwise we will get
> a recursive dependency.
> 
> Since the default choice is FB_BOTH_ENDIAN, let's use:
> 'depends on FB_LITTLE_ENDIAN || FB_BOTH_ENDIAN'
> to avoid breaking defconfig.
> 
> This dead select was found by kconfirm, a static analysis tool for Kconfig.
> 
> Suggested-by: Arnd Bergmann <arnd@arndb.de>
> Signed-off-by: Julian Braha <julianbraha@gmail.com>
> ---
> Changes since v1: support the default FB_BOTH_ENDIAN
> Link:
> https://lore.kernel.org/all/20260722220023.196029-1-julianbraha@gmail.com/
> ---
>   drivers/video/fbdev/Kconfig | 3 +--
>   1 file changed, 1 insertion(+), 2 deletions(-)
applied.

Thanks!
Helge

      reply	other threads:[~2026-07-25 15:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-23 12:28 [PATCH v2] fbdev: replace dead select with dependency Julian Braha
2026-07-25 15:22 ` Helge Deller [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=bb0fb3ae-5d98-4273-93fc-b36394291d5e@gmx.de \
    --to=deller@gmx.de \
    --cc=arnd@arndb.de \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=julianbraha@gmail.com \
    --cc=linux-fbdev@vger.kernel.org \
    --cc=linux-kernel@vger.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox