Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4812787yba; Tue, 30 Apr 2019 04:56:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqw/w+eMiuc8wEZHBpIkrakYTMPOkWVqm26Xro96h8txpz9xPW49CcfGfGPll9ptVyew0CJj X-Received: by 2002:a17:902:e285:: with SMTP id cf5mr32200274plb.77.1556625396889; Tue, 30 Apr 2019 04:56:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556625396; cv=none; d=google.com; s=arc-20160816; b=BFHZZClVBojABw/pSEPoV6aqNfLCFMvuR6AxKdfqWjCGjkBPkp/uzA+ejNmEP0kiaJ RDiflSiYHrr46IhSHUf683+FTIBtqRU1YyliYSUMy62aWsll4YchXV2nb/X1Qw/oy9t5 vBPMibanLwJQSUsgv9tdZJjXmUSdJ1NpPElsnnJu4lJb0v6H6Faf7ZwSMdRMSn9UIGUp XlMcrDSqslLjPQ5N3g3iSsewdMYMluFklwQeuni8yulknpeJ39FxueaN8z9c/xX4P1xZ OvTojqsY4s7xqyOejMLTqSE2ucXL2f+QS0apQQ+WPS68azsN5uBbM0ZZe0ILRYVcoiiX 50uw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=fx/c+XkJmjYw4Itztl36tAc0OrtUGHy6PSirr6pwkNc=; b=Ah7HktLlE85qSnRvjg3Yx6lNa7oqN0HvSZqdhL+UCQibp/4vyd9MfxoMAjJ+Re45WG fnmJSEJ4ZdPz9vWOLUF36lZTIrbOe4SJLXcbHNO/cD2x0GC4MU9n64Q3XZzybRU8vBbW v+WQI5lfEQSrLr92xFAzrKRsWEyexRI/CNIaNIjHyvYZQo0DCVWvjxyXf7k3c8+E8lj0 6Us244RsfhqTwnxPBWHHZFYGLN2ynDhDO5Vdjcmnzm73XtNQRx1hxXJkdhAyYGD3ZVci uy+vtHEjjhjhxD/zSwIRl02xQ3yAVgEFgqaeImtTQwbkWn9mpkuH4pogNdNpFH2lQQrJ cOpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=dc4zys7B; 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 r24si35988716pls.398.2019.04.30.04.56.21; Tue, 30 Apr 2019 04:56:36 -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; dkim=pass header.i=@kernel.org header.s=default header.b=dc4zys7B; 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 S1731103AbfD3Lt6 (ORCPT + 99 others); Tue, 30 Apr 2019 07:49:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:36630 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730402AbfD3Lt5 (ORCPT ); Tue, 30 Apr 2019 07:49:57 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3E27220449; Tue, 30 Apr 2019 11:49:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556624996; bh=LCAkp//ftKgk6OdwS8adWpcWxA/yq6rOKlqWZgMYfoY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dc4zys7BfeoUrG/Tp+xSOMVv+0AfDS8eIB1lO3ruNAWq+rcNUFOBudef9q5TWb5p6 sjXRsJSgODcx9HqzUvh21fcZGkuGhOe0YFgupTbrmTG+ewAqq4v3Ye7MsVnIlKz+dH f0PtQY5obyMXVAkSYAUTSSFuc1vORRpUDbDh6GlA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, YueHaibing , Hulk Robot , Kees Cook , Masahiro Yamada , Petr Mladek , Andy Shevchenko , Matthew Wilcox , Joe Lawrence , Robin Murphy , Luis Chamberlain , Andrew Morton , Linus Torvalds Subject: [PATCH 5.0 17/89] lib/Kconfig.debug: fix build error without CONFIG_BLOCK Date: Tue, 30 Apr 2019 13:38:08 +0200 Message-Id: <20190430113610.465460015@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190430113609.741196396@linuxfoundation.org> References: <20190430113609.741196396@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: YueHaibing commit ae3d6a323347940f0548bbb4b17f0bb2e9164169 upstream. If CONFIG_TEST_KMOD is set to M, while CONFIG_BLOCK is not set, XFS and BTRFS can not be compiled successly. Link: http://lkml.kernel.org/r/20190410075434.35220-1-yuehaibing@huawei.com Fixes: d9c6a72d6fa2 ("kmod: add test driver to stress test the module loader") Signed-off-by: YueHaibing Reported-by: Hulk Robot Reviewed-by: Kees Cook Cc: Masahiro Yamada Cc: Petr Mladek Cc: Andy Shevchenko Cc: Matthew Wilcox Cc: Joe Lawrence Cc: Robin Murphy Cc: Luis Chamberlain Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman --- lib/Kconfig.debug | 1 + 1 file changed, 1 insertion(+) --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -1952,6 +1952,7 @@ config TEST_KMOD depends on m depends on BLOCK && (64BIT || LBDAF) # for XFS, BTRFS depends on NETDEVICES && NET_CORE && INET # for TUN + depends on BLOCK select TEST_LKM select XFS_FS select TUN