From patchwork Fri Nov 2 11:11:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 150024 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1939469ljp; Fri, 2 Nov 2018 04:12:05 -0700 (PDT) X-Google-Smtp-Source: AJdET5exZI3f6+dd6h5lknjMCvk8C1tOWvvWy3+Zumovp6g+R0EyTcTwTW89uF6lLV1Jn2zcnaIE X-Received: by 2002:a17:902:9346:: with SMTP id g6-v6mr7409035plp.148.1541157125620; Fri, 02 Nov 2018 04:12:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541157125; cv=none; d=google.com; s=arc-20160816; b=qkkMvo/6WeIBxlQHhHq7OH06+NVpuonR7sqPq3B+8JbIRrzrBeVnNiqnZkhGUuwGUD GjFs+Mps2mkCBmg8LB/nr2faKgoxVD6kFN1CdombAKxb2dhJ1Dk1mjIb7Nw7niHjKXZA OYH75fEXhqcV17y8mSmUHz0gzmr5TTfbAdaiaMKbwEcOnUof3wzSjxAbJlAaRlq7RIvn 4PpZHpBawb0ymK250s/Kv7bfM92cIMQ9d5Xj/ohZFdlY1re/D2fyX6MHfkkzPx3cEXc5 zXEQZKxQjQiZ7X+aHBKO9E+/baMvs0Oo8++PLMlOenQSlutdIeMfT0edEI1gZTnVE4ez 5X7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=TW/uAMR9x+ea/DDCwlrhZX1UPV7Ve+TbS8C+obKjcHk=; b=kq0ylzVZ92aX6yYjJeECKsKL1j8aMGaw7S2ZLc9sCrMoog/UyMlLIGRgjvKw//wyXE ywj887MTSjTbQdBW3uNA9uNpdQRgyW3qtIpgl8iNuu2N7XncfuU+Rp3uP4SJkRAMvp9K BjbJFepQujG/yDrynKTlvqroH85J4eRxPtzJNbpMD+mpyRYxee4ge0h7yPmcR6E77nW3 Ylj73EM7CfMl59H55suBWnMXBp4aIogJK1PuZa6miJer5SggDMsLE53D4RtuiMMu7+yW XpoPyM2C3oa6GLjy0MCO4oWnqB3zqA5NSXm9Iun9rr/Fs4Rtu6cNzcACk6/Hzipz1iXq sGUw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k11si5976104pgf.213.2018.11.02.04.12.05; Fri, 02 Nov 2018 04:12:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726241AbeKBUSu (ORCPT + 32 others); Fri, 2 Nov 2018 16:18:50 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:56897 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725935AbeKBUSu (ORCPT ); Fri, 2 Nov 2018 16:18:50 -0400 Received: from wuerfel.lan ([109.192.41.194]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.129]) with ESMTPA (Nemesis) id 1M7JnA-1gApjS1SVo-007maI; Fri, 02 Nov 2018 12:11:30 +0100 Received: from wuerfel.lan ([109.192.41.194]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.129]) with ESMTPA (Nemesis) id 1M7JnA-1gApjS1SVo-007maI; Fri, 02 Nov 2018 12:11:30 +0100 From: Arnd Bergmann To: Richard Weinberger , Artem Bityutskiy , Adrian Hunter Cc: Arnd Bergmann , Sascha Hauer , Stefan Agner , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] ubifs: auth: add CONFIG_KEYS dependency Date: Fri, 2 Nov 2018 12:11:22 +0100 Message-Id: <20181102111129.276496-1-arnd@arndb.de> X-Mailer: git-send-email 2.18.0 X-Provags-ID: V03:K1:CEEAGe1CdgavwNnrg0ejytqy3AyGSfj9TyB8ISxljeckjjICYTz vhxk7GABJZ0YXzIvpP2JROBy+23obH648Mwa9oApo3OCTjEJRVRN3ncPsm+ojI53orEhRaV 33nQ+BB3Hz26RGi02VSLKWe0/Hfl2HZLrGfNHYEGTgpiEmYAL6RcE8lckmNlKHYVI6BfoGo gwp9nEWsQZ9NwWq9GmAWQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V01:K0:wxpjIpwPxUY=:FUCBYv2K0rgYr2De3DbKMG EWYWIbTE4XBUuUBkKCa2oaFnhIc/GJ3V9tKp6JNG6SM/oXv9UXhg4okNfmW/pVqn3/1bk6tTl vFeSbsmDb4SHoGXnc3EdGQk4wgCsbSCx2TAXV9cE56+F7NBBVS8dTrBoLRwLiP2qLrxQqBPFM xV7LiCKBNdVNbc0kwgZWAOUBJJQmW+QTFv57bsI84elE463R96vuhD0UVBf0V8avh4V6R9nMy HKFiFOyooo9L3iN5aw46zZrt8gX3N7yeBUZGfhMiIrd5f1wmEeeXBqVJ4at68Q0FuWBGOdlNU RviOD15PNMLuckIx5ar1J9GYOpygRP6U7QsDZxbzYnqeFOwMpXr2PjVyrGiHtpArUJNqFGcMS dKXSOqE/v3tSZyRC+lGTPOSdp40CWitRpgQvFkEiEZCOCHjFRrI0UC3ga0ANKh1urtDon2JM3 ILht4/bdtTuICilh2zMnyUXh3T/WP5AYksfmOyAkT2tvWP4US9xv0sLtKAq//S5KGt+Ff8n73 R7r/RHJTa94ib/vWnqNdCRX4CYK/AHQAJvUAT0+pUHXUjk0CZK4j1u3/wJPyZrrMgnuk4mGd1 z4HB9p8tfc41GM/z8jf70wfgooLgZxD7shRg+4tfHtYsFwj95flQJKFu0xDa4oy1iOQCJTkqg y6tblQ8VInYoiINC00/WMVuqmHz4rT4cmRSy04zJyWDkxOe8NkMq9yW601NUhZOMqQ4c= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The new authentication support causes a build failure when CONFIG_KEYS is disabled, so add a dependency. fs/ubifs/auth.c: In function 'ubifs_init_authentication': fs/ubifs/auth.c:249:16: error: implicit declaration of function 'request_key'; did you mean 'request_irq'? [-Werror=implicit-function-declaration] keyring_key = request_key(&key_type_logon, c->auth_key_name, NULL); Fixes: d8a22773a12c ("ubifs: Enable authentication support") Signed-off-by: Arnd Bergmann --- fs/ubifs/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.18.0 diff --git a/fs/ubifs/Kconfig b/fs/ubifs/Kconfig index 529856fbccd0..406c88dc039e 100644 --- a/fs/ubifs/Kconfig +++ b/fs/ubifs/Kconfig @@ -89,6 +89,7 @@ config UBIFS_FS_SECURITY config UBIFS_FS_AUTHENTICATION bool "UBIFS authentication support" + depends on KEYS select CRYPTO_HMAC help Enable authentication support for UBIFS. This feature offers protection