Re: [PATCH v2] staging: rtl8723bs: Split multiple assignments in _rtw_open_pktfile

From: Dan Carpenter

Date: Thu Jul 16 2026 - 04:56:36 EST


On Thu, Jul 16, 2026 at 12:08:22PM +0330, Amin Madani wrote:
> In _rtw_open_pktfile(), multiple variables are assigned on the same
> line. According to the Linux kernel coding style, multiple assignments
> on a single line should be avoided. Split them into separate lines to
> improve readability.
>
> Signed-off-by: Amin Madani <aminmadani112@xxxxxxxxx>
> ---
> v2: Assign pktptr values directly to variables instead of chaining them,
> as suggested by Dan Carpenter.
> (https://lore.kernel.org/all/aZ_0OratIkUBNHmy@stanley.mountain/)
>

Thanks!

Reviewed-by: Dan Carpenter <error27@xxxxxxxxx>

regards,
dan carpenter