[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANpmjNO8CRXPxBDFVa5XLYpPuU8Zof=7uvUam9ZFVPP9j8+TEQ@mail.gmail.com>
Date: Thu, 21 Nov 2024 15:11:41 +0100
From: Marco Elver <elver@...gle.com>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: kasan-dev@...glegroups.com, linux-kernel@...r.kernel.org,
Dmitry Vyukov <dvyukov@...gle.com>
Subject: Re: [PATCH v1 1/1] kcsan: debugfs: Use krealloc_array() to replace krealloc()
On Thu, 21 Nov 2024 at 15:04, Marco Elver <elver@...gle.com> wrote:
>
> On Thu, 21 Nov 2024 at 14:58, Andy Shevchenko
> <andriy.shevchenko@...ux.intel.com> wrote:
> >
> > Use krealloc_array() to replace krealloc() with multiplication.
> > krealloc_array() has multiply overflow check, which will be safer.
> >
> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
>
> Reviewed-by: Marco Elver <elver@...gle.com>
Unreview.
> Do you have a tree to take this through? Otherwise I'll take it.
Whoops. We got rid of that krealloc() in 59458fa4ddb4 ("kcsan: Turn
report_filterlist_lock into a raw_spinlock"). And the replacement
kmalloc() is already a kmalloc_array(). I suppose this patch is
therefore obsolete.
Powered by blists - more mailing lists