From: "Arnd Bergmann" <arnd@arndb.de>
To: "Andrew Davis" <afd@ti.com>,
"Jassi Brar" <jassisinghbrar@gmail.com>,
"Bjorn Andersson" <andersson@kernel.org>,
"Mathieu Poirier" <mathieu.poirier@linaro.org>,
"Martyn Welch" <martyn.welch@collabora.com>,
"Hari Nagalla" <hnagalla@ti.com>
Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] mailbox: ti-msgmgr: Remove use of of_match_ptr() helper
Date: Mon, 14 Oct 2024 14:52:25 +0000 [thread overview]
Message-ID: <d7f71016-4211-4d59-9d8b-53c47ec47096@app.fastmail.com> (raw)
In-Reply-To: <20241014144821.15094-2-afd@ti.com>
On Mon, Oct 14, 2024, at 14:48, Andrew Davis wrote:
> When OF support is disabled the of_device_id struct match table can be
> conditionally compiled out, this helper allows the assignment to also be
> turned into a NULL conditionally. When the of_device_id struct is not
> conditionally defined based on OF then the table will be unused causing a
> warning. The two options are to either set the table as _maybe_unused, or
> to just remove this helper since the table will always be defined.
> Do the latter here.
>
> Signed-off-by: Andrew Davis <afd@ti.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
next prev parent reply other threads:[~2024-10-14 14:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-14 14:48 [PATCH 0/2] Enable compile testing of TI MSGMGR/SPROXY driver Andrew Davis
2024-10-14 14:48 ` [PATCH 1/2] mailbox: ti-msgmgr: Remove use of of_match_ptr() helper Andrew Davis
2024-10-14 14:52 ` Arnd Bergmann [this message]
2024-10-14 14:48 ` [PATCH 2/2] mailbox: ti-msgmgr: Allow building under COMPILE_TEST Andrew Davis
2024-10-14 14:52 ` Arnd Bergmann
2024-10-15 20:46 ` kernel test robot
2024-10-15 20:54 ` Arnd Bergmann
2024-10-15 21:34 ` Andrew Davis
2024-10-14 16:53 ` [PATCH 0/2] Enable compile testing of TI MSGMGR/SPROXY driver Nishanth Menon
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=d7f71016-4211-4d59-9d8b-53c47ec47096@app.fastmail.com \
--to=arnd@arndb.de \
--cc=afd@ti.com \
--cc=andersson@kernel.org \
--cc=hnagalla@ti.com \
--cc=jassisinghbrar@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=martyn.welch@collabora.com \
--cc=mathieu.poirier@linaro.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®