[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <DCTFGN6IH4MM.2UXRHE7M6O9TS@kernel.org>
Date: Mon, 15 Sep 2025 16:01:50 +0200
From: "Michael Walle" <mwalle@...nel.org>
To: "Ioana Ciornei" <ioana.ciornei@....com>
Cc: "Rob Herring" <robh@...nel.org>, "Krzysztof Kozlowski"
<krzk+dt@...nel.org>, "Conor Dooley" <conor+dt@...nel.org>, "Linus Walleij"
<linus.walleij@...aro.org>, "Bartosz Golaszewski" <brgl@...ev.pl>, "Shawn
Guo" <shawnguo@...nel.org>, "Lee Jones" <lee@...nel.org>,
<devicetree@...r.kernel.org>, <linux-gpio@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, "Frank Li" <Frank.Li@....com>
Subject: Re: [PATCH v2 4/9] gpio: regmap: add the .fixed_direction_output
configuration parameter
Hi Ioana,
> So you are suggesting gpio-regmap to allocate the bitmap using
> devm_bitmap_alloc() and base its size on config->ngpio, then copy into
> it the bitmap passed by the caller, right? Yes, that does seem more
> error proof in terms of memory handling. Will change it in the next
> version.
Yes exactly.
-michael
Download attachment "signature.asc" of type "application/pgp-signature" (298 bytes)
Powered by blists - more mailing lists