• Julian Braha's avatar
    fs: nfsd: fix kconfig dependency warning for NFSD_V4 · 70052273
    Julian Braha authored
    When NFSD_V4 is enabled and CRYPTO is disabled,
    Kbuild gives the following warning:
    
    WARNING: unmet direct dependencies detected for CRYPTO_SHA256
      Depends on [n]: CRYPTO [=n]
      Selected by [y]:
      - NFSD_V4 [=y] && NETWORK_FILESYSTEMS [=y] && NFSD [=y] && PROC_FS [=y]
    
    WARNING: unmet direct dependencies detected for CRYPTO_MD5
      Depends on [n]: CRYPTO [=n]
      Selected by [y]:
      - NFSD_V4 [=y] && NETWORK_FILESYSTEMS [=y] && NFSD [=y] && PROC_FS [=y]
    
    This is because NFSD_V4 selects CRYPTO_MD5 and CRYPTO_SHA256,
    without depending on or selecting CRYPTO, despite those config options
    being subordinate to CRYPTO.
    Signed-off-by: default avatarJulian Braha <julianbraha@gmail.com>
    Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
    70052273
Kconfig 5.22 KB