Re: [PATCH -next] ipw2x00: fix bad alignments

From: Kalle Valo
Date: Thu Oct 31 2024 - 10:10:21 EST


Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx> wrote:

> No functional modification involved.
>
> ./drivers/net/wireless/intel/ipw2x00/libipw_rx.c:871:2-3: code aligned with following code on line 882.
> ./drivers/net/wireless/intel/ipw2x00/libipw_rx.c:886:2-3: code aligned with following code on line 900.
>
> Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=11381
> Signed-off-by: Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx>

It's cleaner to use '&&' operator than two if statements. Please also
add 'wifi: ' to subject.

Patch set to Changes Requested.

--
https://patchwork.kernel.org/project/linux-wireless/patch/20241017020113.122029-1-jiapeng.chong@xxxxxxxxxxxxxxxxx/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches