From: Sakari Ailus <sakari.ailus@linux.intel.com>
To: "luo.liu.linux" <luo.liu.linux@163.com>
Cc: mchehab@kernel.org, linux-media@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: Re: [PATCH v2] media:v4l2-async:add debugfs under CONFIG_DEBUG_FS
Date: Wed, 11 Mar 2026 11:16:51 +0200 [thread overview]
Message-ID: <abEzA_aZyr125D07@kekkonen.localdomain> (raw)
In-Reply-To: <24d41d72.7da6.19cdc1e683e.Coremail.luo.liu.linux@163.com>
On Wed, Mar 11, 2026 at 04:58:26PM +0800, luo.liu.linux wrote:
>
> Hi Sakari,
>
> Thank you very much for your reply and reminder.
>
> I think two latter #if's is useful,While modern compilers (such as GCC and Clang) possess "Dead Code Elimination" (DCE) capabilities and can optimize away function calls when CONFIG_DEBUG_FS is disabled,
>
> explicitly wrapping the relevant code blocks with #ifdef CONFIG_DEBUG_FS remains a standard and necessary practice in Linux kernel development.
Just fix it, please?
--
Sakari Ailus
prev parent reply other threads:[~2026-03-11 9:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-21 3:14 luo.liu
2026-03-06 9:41 ` luo.liu.linux
2026-03-11 9:20 ` [PATCH " Sakari Ailus
2026-03-11 9:42 ` luo.liu.linux
2026-03-12 7:06 ` luo.liu.linux
2026-03-11 7:04 ` Sakari Ailus
2026-03-11 8:58 ` luo.liu.linux
2026-03-11 9:16 ` Sakari Ailus [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=abEzA_aZyr125D07@kekkonen.localdomain \
--to=sakari.ailus@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=luo.liu.linux@163.com \
--cc=mchehab@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
all inboxes | Powered by JetHome®