[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <PH0PR11MB51447E4D5D2D7194EBB1B1A0E2612@PH0PR11MB5144.namprd11.prod.outlook.com>
Date: Tue, 17 Sep 2024 19:10:35 +0000
From: "Kuruvinakunnel, George" <george.kuruvinakunnel@...el.com>
To: Hongbo Li <lihongbo22@...wei.com>, "Nguyen, Anthony L"
<anthony.l.nguyen@...el.com>
CC: "Kitszel, Przemyslaw" <przemyslaw.kitszel@...el.com>,
"edumazet@...gle.com" <edumazet@...gle.com>,
"intel-wired-lan@...ts.osuosl.org" <intel-wired-lan@...ts.osuosl.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>, "kuba@...nel.org"
<kuba@...nel.org>, "pabeni@...hat.com" <pabeni@...hat.com>,
"davem@...emloft.net" <davem@...emloft.net>
Subject: RE: [Intel-wired-lan] [PATCH net-next] ice: Make use of assign_bit()
API
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces@...osl.org> On Behalf Of Hongbo
> Li
> Sent: Monday, September 2, 2024 6:14 AM
> To: Nguyen, Anthony L <anthony.l.nguyen@...el.com>
> Cc: Kitszel, Przemyslaw <przemyslaw.kitszel@...el.com>; edumazet@...gle.com;
> intel-wired-lan@...ts.osuosl.org; lihongbo22@...wei.com; netdev@...r.kernel.org;
> kuba@...nel.org; pabeni@...hat.com; davem@...emloft.net
> Subject: [Intel-wired-lan] [PATCH net-next] ice: Make use of assign_bit() API
>
> We have for some time the assign_bit() API to replace open coded
>
> if (foo)
> set_bit(n, bar);
> else
> clear_bit(n, bar);
>
> Use this API to clean the code. No functional change intended.
>
> Signed-off-by: Hongbo Li <lihongbo22@...wei.com>
> ---
> drivers/net/ethernet/intel/ice/ice_main.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
Tested-by: George Kuruvinakunnel <george.kuruvinakunnel@...el.com>
Powered by blists - more mailing lists