[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <85f5348dd18949f5a4033dad982882ec@realtek.com>
Date: Fri, 1 Nov 2024 02:43:52 +0000
From: Ping-Ke Shih <pkshih@...ltek.com>
To: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>,
"stas.yakovlev@...il.com"
<stas.yakovlev@...il.com>
CC: "kvalo@...nel.org" <kvalo@...nel.org>,
"linux-wireless@...r.kernel.org"
<linux-wireless@...r.kernel.org>,
"linux-kernel@...r.kernel.org"
<linux-kernel@...r.kernel.org>,
Abaci Robot <abaci@...ux.alibaba.com>
Subject: RE: [PATCH v2 -next] wifi: ipw2x00: fix bad alignments
Jiapeng Chong <jiapeng.chong@...ux.alibaba.com> wrote:
> This patch fixes incorrect code alignment.
>
> ./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@...ux.alibaba.com>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=11381
> Signed-off-by: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
> ---
> Changes in v2:
> -Replace the & in the if statement with &&.
I feel what Kalle meant is like this:
if (ether_addr_equal(hdr->addr3, ieee->bssid) &&
(fc & (IEEE80211_FCTL_TODS + IEEE80211_FCTL_FROMDS)) == 0)
Powered by blists - more mailing lists