[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHp75VeOLfKw4-+Dpn54yy6j=tdiBNA_2Kvhj7mUUjTD-M_vYA@mail.gmail.com>
Date: Wed, 13 Jul 2022 21:10:33 +0200
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Yury Norov <yury.norov@...il.com>
Cc: Sebastian Fricke <sebastian.fricke@...labora.com>,
Linux Media Mailing List <linux-media@...r.kernel.org>,
Jernej Skrabec <jernej.skrabec@...il.com>, knaerzche@...il.com,
Collabora Kernel ML <kernel@...labora.com>,
bob.beckett@...labora.com,
Ezequiel Garcia <ezequiel@...guardiasur.com.ar>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
"open list:ARM/Rockchip SoC..." <linux-rockchip@...ts.infradead.org>,
linux-staging@...ts.linux.dev, nicolas.dufresne@...labora.com,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Rasmus Villemoes <linux@...musvillemoes.dk>
Subject: Re: [PATCH 3/6] bitops: bitmap helper to set variable length values
On Wed, Jul 13, 2022 at 8:56 PM Yury Norov <yury.norov@...il.com> wrote:
> On Wed, Jul 13, 2022 at 06:31:59PM +0200, Sebastian Fricke wrote:
...
> I'd suggest you to try implementing
> bitmap_copy_from(dst, src, dst_off, len)
> or even
> bitmap_copy_from(dst, dst_off, src, src_off, len)
> if you expect that you'll need more flexibility in the future.
Do you think it would be useful?
We have bitmap_replace() & bitmap_remap(). Wouldn't that be enough?
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists