Thread (1 message) 1 message, 1 author, 2023-02-08

Re: [PATCH 1/1] ice: Change assigning method of the CPU affinity masks

From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date: 2023-02-08 16:08:50
Also in: linux-crypto, linux-rdma, lkml

On Wed, Feb 08, 2023 at 09:18:14PM +0530, Kalesh Anakkur Purayil wrote:
On Wed, Feb 8, 2023 at 9:11 PM Pawel Chmielewski <
pawel.chmielewski@intel.com> wrote:
...
quoted
+       u16 v_idx, cpu = 0;
[Kalesh]: if you initialize v_idx to 0 here, you can avoid the assignment
below
I would avoid doing this.

The problem is that it will become harder to maintain and more error prone
during development.

So, please leave as is.

-- 
With Best Regards,
Andy Shevchenko

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help