lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aYNJ-yAqd7SqP1GR@smile.fi.intel.com>
Date: Wed, 4 Feb 2026 15:30:35 +0200
From: Andy Shevchenko <andriy.shevchenko@...el.com>
To: Minu Jin <s9430939@...er.com>
Cc: gregkh@...uxfoundation.org, andy@...nel.org, dan.carpenter@...aro.org,
	trohan2000@...il.com, straube.linux@...il.com,
	linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v6 2/5] staging: rtl8723bs: replace rtw_malloc() with
 kmalloc()

On Wed, Feb 04, 2026 at 10:20:45PM +0900, Minu Jin wrote:
> On Wed, Feb 04, 2026 at 10:13:44PM +0900, Minu Jin wrote:
> > Replace the wrapper function rtw_malloc() with standard kmalloc().
> > Call sites were reviewed to use appropriate GFP flags (GFP_KERNEL or
> > GFP_ATOMIC) based on the execution context.
> > 
> > About GFP Flags:
> > - GFP_ATOMIC is used for allocations in atomic contexts such as
> >   spinlock-protected sections, tasklets, and timer handlers.
> > - GFP_KERNEL is used for process contexts where sleeping is allowed.
> > 
> > Also, convert error return codes from -1 to -ENOMEM where appropriate.
> > 
> > Signed-off-by: Minu Jin <s9430939@...er.com>
> 
> > Reviewd-by: Andy Shevchenko <andriy.shevchenko@...el.com>
> Apologies, I noticed a typo in the tag.
> It should be:
> Reviewed-by: Andy Shevchenko <andriy.shevchenko@...el.com>
> 
> Please let me know if you need me to resend v7 for this.

Let's wait a bit (24h), but usually Greg requires a resend if something needs
to be updated before applying.

-- 
With Best Regards,
Andy Shevchenko



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ