Messages in this thread | | | Date | Fri, 15 Nov 2019 12:14:15 -0800 (PST) | Subject | Re: [PATCH net-next] cnic: Fix Kconfig warning without MMU | From | David Miller <> |
| |
From: YueHaibing <yuehaibing@huawei.com> Date: Thu, 14 Nov 2019 17:02:19 +0800
> If MMU is not set, Kconfig warning this: > > WARNING: unmet direct dependencies detected for UIO > Depends on [n]: MMU [=n] > Selected by [y]: > - CNIC [=y] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_BROADCOM [=y] && PCI [=y] && (IPV6 [=y] || IPV6 [=y]=n) > > Make CNIC depend on UIO instead of select it to fix this. > > Reported-by: Hulk Robot <hulkci@huawei.com> > Signed-off-by: YueHaibing <yuehaibing@huawei.com>
This makes no sense, if you need MMU then guard on MMU.
UIO is for userspace device drivers, and not something that CNIC requires.
| |