Re: [PATCH] staging: rtl8723bs: break long lines in rtw_sta_mgt.c
From: Ethan Tidmore
Date: Thu Mar 19 2026 - 14:59:27 EST
On Thu Mar 19, 2026 at 1:58 PM CDT, Ethan Tidmore wrote:
> On Thu Mar 19, 2026 at 12:42 PM CDT, MalavyaRaval wrote:
>> The original patch attempted to use the preferred sizeof(*ptr) style,
>> but since the target variable is a u8 pointer, this caused a buffer
>> overflow. Reverting to sizeof(struct sta_info) ensures the correct
>> allocation size while satisfying the line-splitting requirement.
Also this commit message is totally unrelated to the change.
Thanks,
ET
>>
>> Signed-off-by: MalavyaRaval <malavyaraval@xxxxxxxxx>