lkml.org 
[lkml]   [2023]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH net-next v4 4/4] net: dsa: mv88e6xxx: mask apparently non-existing phys during probing
On Sun, Mar 19, 2023 at 11:06:06AM +0100, Marek Behún wrote:
> ~GENMASK(chip->info->phy_base_addr + mv88e6xxx_num_ports(chip),
> chip->info->phy_base_addr)

But it needs to be ~GENMASK(base + num - 1, base), no?

\
 
 \ /
  Last update: 2023-03-27 01:06    [W:0.087 / U:0.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site