lkml.org 
[lkml]   [2019]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH net-next] cnic: Fix Kconfig warning without MMU
From
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.

\
 
 \ /
  Last update: 2019-11-15 21:15    [W:0.034 / U:0.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site