From: Julian Braha <julianbraha@gmail.com>
To: Thomas Zimmermann <tzimmermann@suse.de>,
maarten.lankhorst@linux.intel.com, mripard@kernel.org
Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] drm: cleanup duplicate dependencies in kconfig
Date: Fri, 19 Jun 2026 09:00:59 +0100 [thread overview]
Message-ID: <0e38e21a-eb7d-4503-8b3e-3e056d6ac454@gmail.com> (raw)
In-Reply-To: <9937cd6d-7724-47bf-8bf6-a5d0580bdd60@suse.de>
Hi Thomas,
On 6/19/26 07:25, Thomas Zimmermann wrote:
> Is there a functional difference between 'if' and 'depends on'?
No functional difference. In Kconfig, 'if..endif' is just a way to
factor out repeated 'depends on'.
> IMHO it would be nicer to remove the if.
I think the if..endif style is more succinct, and many other subsystems
do this too. But it would also be dangerous to remove it since there may
be config options that don't also have the 'depends on DRM'.
- Julian Braha
prev parent reply other threads:[~2026-06-19 8:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-18 20:46 Julian Braha
2026-06-19 6:25 ` Thomas Zimmermann
2026-06-19 8:00 ` Julian Braha [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=0e38e21a-eb7d-4503-8b3e-3e056d6ac454@gmail.com \
--to=julianbraha@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=tzimmermann@suse.de \
/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®