Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5019431pxj; Wed, 26 May 2021 00:24:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1uWg0Om99mCdxoVEqfRoPY9EtN5PoitWAoNPXXJrhLsGN6wD1g014ms8d43pSPxtF4hIX X-Received: by 2002:a17:906:c0c6:: with SMTP id bn6mr31203421ejb.436.1622013863090; Wed, 26 May 2021 00:24:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622013863; cv=none; d=google.com; s=arc-20160816; b=kJkdkcB6QNSG7pfB2M1KCNmk1AEmeWLgr0mFhLJ48tWRmBbUsNzY68OuTIJ5evLsNb rePOfnB3s1nmK9+DyHpHcWimUO78LO7NmfW4IaaJQHqyzAziLaRQQzmsPs2CCvpBBAdM 4tncOCascLH3EwMbFjB9IV7tSnMjCwanM/RSKXcjLu3KhF7Rgt1Kq4M9JZQOdlvlzKKo 5DkrL5Om8uokXUC/kHMb9tmi20TKBQ7lIRdfBLcpMV74+neujH/xPm0CFkaGBZMA8Yv4 6MkU5BKaLk9UXNFtSpcNloR3MCIsKTSWJG5+iclKpba1JvDfffRQ2invqk0mV4wpZP68 Emow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=mfyNClndHUNcIv3x/5sWBhrH6KgenkR88tjR35EvNYU=; b=WWg7CFEV4unAziylRD2NqCo6yL3CgsxwBUcyKRg1vc0XkJBHlPWzE0lXhhsTf2nZ3Y TEPDty12ckHaIa3dVW9suTehORberC9TD7QUfzvJOJfp7+teeSPRIDpgEn7vMIvMGx2U rz0X2x3CJwKcAeDrcWRvZU/3L1g9hY/7Qrxs2HPG1VvWH7G+8KcqVYmKD4rAB/5wqLs1 09UpTmUEJT/hbD0rLafDFA26SkW382qDtoq+vhbBC5dD0bpaxx4g/imSM63XJnbu3buf p9Yep4wewszyactewLaAL2lo6GyOL4cB+8fpwHvaTSVYVSy096ll1e5LKaI1AVXndzf1 Gzmg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mp12si2087469ejc.245.2021.05.26.00.23.58; Wed, 26 May 2021 00:24:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232934AbhEZHWE (ORCPT + 99 others); Wed, 26 May 2021 03:22:04 -0400 Received: from mail-ua1-f41.google.com ([209.85.222.41]:37502 "EHLO mail-ua1-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232974AbhEZHWC (ORCPT ); Wed, 26 May 2021 03:22:02 -0400 Received: by mail-ua1-f41.google.com with SMTP id w28so243960uae.4; Wed, 26 May 2021 00:20:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mfyNClndHUNcIv3x/5sWBhrH6KgenkR88tjR35EvNYU=; b=HrEhP41rl7HC2suyTXmUqNDjCUQqTJPP/vBDDq++ido4SJYWCi4+vqhzm6pXUaAicZ EHpqOK/QnAvXECuhCRpw5/vaD4vg7MkFvKdNSihaPSt4epsp2hPxe9KDjb/80qHctJke i6yyXTJRqvxLcT1Snep32PZM41ulTSVjm71OPkj3kLxQQFdecQvruSVkNGqINBLGTm/I Zbw0LBjA6H/+gCgk4OQHQlaqMtuLroyBqAmr5k9ivE/KF+0Fe5tmUgoI6Q19gOeEmDn2 WUMgcjM4CdaR9W6rESCIOxwbz0wJRy3MYmMh06SNvKPRvsRZpeevschz+tcrHNLhDgUn eJsA== X-Gm-Message-State: AOAM530ekZYNX6tSy/7BG4YISpRQYi0w68AfUFSPBa4dQIVTE1BYlONQ Qbo5fAfYT8wqwLzxfVBrCUmmwej0Tqr2M6KDcmy/FU5g1Hw= X-Received: by 2002:ab0:7705:: with SMTP id z5mr30510980uaq.2.1622013630064; Wed, 26 May 2021 00:20:30 -0700 (PDT) MIME-Version: 1.0 References: <20210526070345.31114-1-rdunlap@infradead.org> In-Reply-To: <20210526070345.31114-1-rdunlap@infradead.org> From: Geert Uytterhoeven Date: Wed, 26 May 2021 09:20:18 +0200 Message-ID: Subject: Re: [PATCH] MOUSE_ATARI: fix kconfig unmet dependency warning To: Randy Dunlap Cc: Linux Kernel Mailing List , Michael Schmitz , Roman Zippel , Dmitry Torokhov , linux-input , linux-m68k Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Randy, On Wed, May 26, 2021 at 9:03 AM Randy Dunlap wrote: > MOUSE_ATARI should depend on INPUT_KEYBOARD since ATARI_KBD_CORE > depends on INPUT_KEYBOARD. This prevents MOUSE_ATARI from > selecting ATARI_KBD_CORE when INPUT_KEYBOARD is not set/enabled. > > WARNING: unmet direct dependencies detected for ATARI_KBD_CORE > Depends on [n]: !UML && INPUT [=y] && INPUT_KEYBOARD [=n] > Selected by [y]: > - MOUSE_ATARI [=y] && !UML && INPUT [=y] && INPUT_MOUSE [=y] && ATARI [=y] > > Fixes: c04cb856e20a ("m68k: Atari keyboard and mouse support.") > Signed-off-by: Randy Dunlap Thanks for your patch! > --- linux-next-20210525.orig/drivers/input/mouse/Kconfig > +++ linux-next-20210525/drivers/input/mouse/Kconfig > @@ -348,6 +348,7 @@ config MOUSE_AMIGA > > config MOUSE_ATARI > tristate "Atari mouse" > + depends on INPUT_KEYBOARD > depends on ATARI > select ATARI_KBD_CORE > help It looks like arch/m68k/atari/atakeyb.c doesn't use anything from the input subsystem, so I think you can move the ATARI_KBD_CORE symbol outside the "if INPUT_KEYBOARD" section instead. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds