[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aYNHrXRGvWyJ82cB@JMW-Ubuntu>
Date: Wed, 4 Feb 2026 22:20:45 +0900
From: Minu Jin <s9430939@...er.com>
To: gregkh@...uxfoundation.org, andy@...nel.org
Cc: dan.carpenter@...aro.org, trohan2000@...il.com, straube.linux@...il.com,
linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org,
Andy Shevchenko <andriy.shevchenko@...el.com>
Subject: Re: [PATCH v6 2/5] staging: rtl8723bs: replace rtw_malloc() with
kmalloc()
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.
Powered by blists - more mailing lists