From: Antonio Quartulli <a@unstable.cc>
To: Yajun Deng <yajun.deng@linux.dev>,
mareklindner@neomailbox.ch, sw@simonwunderlich.de,
sven@narfation.org
Cc: b.a.t.m.a.n@lists.open-mesh.org, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH net-next] batman-adv: Fix the wrong definition
Date: Thu, 28 Oct 2021 09:35:28 +0200 [thread overview]
Message-ID: <da6fa493-0911-ca3f-16c0-380bc35d8317@unstable.cc> (raw)
In-Reply-To: <20211028072306.1351-1-yajun.deng@linux.dev>
Hi,
On 28/10/2021 09:23, Yajun Deng wrote:
> There are three variables that are required at most,
> no need to define four variables.
>
> Fixes: 0fa4c30d710d ("batman-adv: Make sysfs support optional")
> Signed-off-by: Yajun Deng <yajun.deng@linux.dev>
NAK.
kobject_uevent_env() does not know how many items are stored in the
array and thus requires it to be NULL terminated.
Please check the following for reference:
https://elixir.bootlin.com/linux/v5.15-rc6/source/lib/kobject_uevent.c#L548
OTOH I guess we could still use '{}' for the initialization.
Regards,
--
Antonio Quartulli
next prev parent reply other threads:[~2021-10-28 8:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-28 7:23 Yajun Deng
2021-10-28 7:34 ` Sven Eckelmann
2021-10-28 7:35 ` Antonio Quartulli [this message]
2021-10-28 7:49 ` yajun.deng
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=da6fa493-0911-ca3f-16c0-380bc35d8317@unstable.cc \
--to=a@unstable.cc \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mareklindner@neomailbox.ch \
--cc=netdev@vger.kernel.org \
--cc=sven@narfation.org \
--cc=sw@simonwunderlich.de \
--cc=yajun.deng@linux.dev \
/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®