From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C604EC3F6B0 for ; Thu, 25 Aug 2022 01:49:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232148AbiHYBtK (ORCPT ); Wed, 24 Aug 2022 21:49:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54330 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236775AbiHYBsu (ORCPT ); Wed, 24 Aug 2022 21:48:50 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C44B89D66B; Wed, 24 Aug 2022 18:41:59 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 65662B826C6; Thu, 25 Aug 2022 01:40:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 36C4CC433C1; Thu, 25 Aug 2022 01:40:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661391629; bh=3PEz6xC+ooWs2rhOFLoQ7puyzIZeBk+F25VlSZnSjU4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lFe8k40rdT9io9sY4z044fRkX+rbhjop1mC5Sv7k/p6cFTi6sL32HTzLELdRKf8H4 UeGnBaatLIhE0Wgid0eRNcboHlA3nROIhHgm0IcdFcZxMBu6/L/orBRzu1xRs5cSng hmgM/8aODJJGErPkI9JP+RD24OZLaPFt9ovljHcP2ZDZUyw2rLYXwjeRrg6NQtFxrG JuPyHOcKJJiZXr266LhT5Zp43gT+0rMrRRxmwBOoVL7JQi/7ZQYD5Eag0O/febGfo1 Zr9BwUqtWxnEF/yBGv776FMyuxG2Ivr+Eg4vybLRb4KBzevbXaRJTvwRn1CmYrNtV7 AhBLzGHHEAW4A== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Juergen Gross , Heiko Carstens , Christian Borntraeger , Alexander Gordeev , Sasha Levin , gor@linux.ibm.com, linux-s390@vger.kernel.org Subject: [PATCH AUTOSEL 4.14 2/4] s390/hypfs: avoid error message under KVM Date: Wed, 24 Aug 2022 21:40:16 -0400 Message-Id: <20220825014020.24088-2-sashal@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220825014020.24088-1-sashal@kernel.org> References: <20220825014020.24088-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Juergen Gross [ Upstream commit 7b6670b03641ac308aaa6fa2e6f964ac993b5ea3 ] When booting under KVM the following error messages are issued: hypfs.7f5705: The hardware system does not support hypfs hypfs.7a79f0: Initialization of hypfs failed with rc=-61 Demote the severity of first message from "error" to "info" and issue the second message only in other error cases. Signed-off-by: Juergen Gross Acked-by: Heiko Carstens Acked-by: Christian Borntraeger Link: https://lore.kernel.org/r/20220620094534.18967-1-jgross@suse.com [arch/s390/hypfs/hypfs_diag.c changed description] Signed-off-by: Alexander Gordeev Signed-off-by: Sasha Levin --- arch/s390/hypfs/hypfs_diag.c | 2 +- arch/s390/hypfs/inode.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/s390/hypfs/hypfs_diag.c b/arch/s390/hypfs/hypfs_diag.c index be8cc53204b5..46338c65c75b 100644 --- a/arch/s390/hypfs/hypfs_diag.c +++ b/arch/s390/hypfs/hypfs_diag.c @@ -437,7 +437,7 @@ __init int hypfs_diag_init(void) int rc; if (diag204_probe()) { - pr_err("The hardware system does not support hypfs\n"); + pr_info("The hardware system does not support hypfs\n"); return -ENODATA; } if (diag204_info_type == DIAG204_INFO_EXT) { diff --git a/arch/s390/hypfs/inode.c b/arch/s390/hypfs/inode.c index 32f5b3fb069f..2a34c075fef6 100644 --- a/arch/s390/hypfs/inode.c +++ b/arch/s390/hypfs/inode.c @@ -494,9 +494,9 @@ static int __init hypfs_init(void) hypfs_vm_exit(); fail_hypfs_diag_exit: hypfs_diag_exit(); + pr_err("Initialization of hypfs failed with rc=%i\n", rc); fail_dbfs_exit: hypfs_dbfs_exit(); - pr_err("Initialization of hypfs failed with rc=%i\n", rc); return rc; } device_initcall(hypfs_init) -- 2.35.1