diff options
| author | Stefan Chulski <[email protected]> | 2021-02-11 15:13:19 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-02-12 02:05:05 +0000 |
| commit | 7867299cde34e9c2d2c676f2a384a9d5853b914d (patch) | |
| tree | e1f36a4e900b4ba4818db0aefa6dd3006eda1314 /net/core/dev_ioctl.c | |
| parent | Merge branch 'am65-cpsw-nuss-switchdev-driver' (diff) | |
| download | kernel-7867299cde34e9c2d2c676f2a384a9d5853b914d.tar.gz kernel-7867299cde34e9c2d2c676f2a384a9d5853b914d.zip | |
net: mvpp2: fix interrupt mask/unmask skip condition
The condition should be skipped if CPU ID equal to nthreads.
The patch doesn't fix any actual issue since
nthreads = min_t(unsigned int, num_present_cpus(), MVPP2_MAX_THREADS).
On all current Armada platforms, the number of CPU's is
less than MVPP2_MAX_THREADS.
Fixes: e531f76757eb ("net: mvpp2: handle cases where more CPUs are available than s/w threads")
Reported-by: Russell King <[email protected]>
Signed-off-by: Stefan Chulski <[email protected]>
Reviewed-by: Russell King <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/core/dev_ioctl.c')
0 files changed, 0 insertions, 0 deletions
