Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3945913rdh; Tue, 28 Nov 2023 07:53:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IHNqoDw4VxXUmwHY2vDSjrFbNXXc7CIhZWgxOoHxcUl48eYYNHxBPrJ7cZjGYfOf6a93mZ5 X-Received: by 2002:a17:90b:4c05:b0:285:25b3:4d5d with SMTP id na5-20020a17090b4c0500b0028525b34d5dmr13773238pjb.8.1701186788417; Tue, 28 Nov 2023 07:53:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701186788; cv=none; d=google.com; s=arc-20160816; b=XNj3Mpcf5g94axhm2NwvvH+hjeZsqGVPvABkj76hbuWTg0C3U+0ItipKNvRhGjc636 1c6WEihZJcJ1tvr3BQNZYAX4T6dPYsm18FyECB7ErI+LkwI3D21CKaKG1cu0zB3ckE0J vR2P/qSHp9B1LL9TNckb/lEy+XzpIQR3KcXubr6Sj2DjdvrSBvaGsWOPmHuEJOXdVaBU ALCvyeDvGz9a2w1rJTyHztVxBeIuoZGIiSEYznO4CxItllFIkY6bwJhMccwYzJlnZfoo VmxgSN6XqoSg3qVm6HTypOmNf2a7Js/T7TWu8FTpLAM95qIxFFa6KJKOIs53aO++/Rb8 vWwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=PLq5HxbpRpiiZPFdlD/MFzwGjARbXZ09MmXjRwUeoyA=; fh=16z9eSgr+T6wkiFTMo20mXPHGWzPIsCuS8kXeZ8Bzu4=; b=pQZIfI74WJRYT0igmljogVlLwwbpqDrsu1nm5sFRC+yHXEDIrvlf62ViGlR6dMeXWC bZnj+GtBmL14aXGr6cztM7Y4nVRSpGfyQlzpTvz+cWPpqKYxyVLIs6/gH0KnLKW1ovdv CjHgPpXV13bHMnhYpqPSH/Nhj7PBUAdueG3QiVfwf6WJW6ag96KKlGTGxREmNgxMqFQW +5IkUTlC8MLN2vu7rLgbrW9BqoWViPWbPMpMtAGEUiN2i5RzInKoWr3hslFU1NUquQjk suP79Ba//0+PEcU6eycwoqBzdyd/hRzFFDLq6aRqZaj5Yc1zEJ6oyK7WX3ITVYxt+ZGc SQPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=LwrY1Sxi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id mu4-20020a17090b388400b00285ca86a26esi5688031pjb.179.2023.11.28.07.53.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 07:53:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=LwrY1Sxi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id D8C4D8045962; Tue, 28 Nov 2023 07:53:06 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346498AbjK1Pwy (ORCPT + 99 others); Tue, 28 Nov 2023 10:52:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346429AbjK1Pwr (ORCPT ); Tue, 28 Nov 2023 10:52:47 -0500 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42F7510DF; Tue, 28 Nov 2023 07:52:53 -0800 (PST) Received: from pps.filterd (m0353726.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3ASFewta011375; Tue, 28 Nov 2023 15:52:41 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pp1; bh=PLq5HxbpRpiiZPFdlD/MFzwGjARbXZ09MmXjRwUeoyA=; b=LwrY1SxiF3BEHsLla8nuGGePmgJsqjAPgWInukPJ9l0mHrFFJkwSWmUm5FFjowoIAlvd UI9K47c06dD3XRZkA+kFrHHrubpnUv/lI6NlpA4Q6aaJ3Qs2Lu26UUH8dqOsrnghkinO 7WvEZhRNsjDPnIBZAlOYU/2XkbuF3UalHFCW0KWjUfSfdM9WpogLqCl3+cYo0xcXQf+g l2oCrlUTy1tqt8iTytjVNJJz/sxhV89n0vEjuwi59YOF0EaP24MSnWZTwgXekaI/+iDf Zc1q6W7e6/tlOx/QjozHFvhyKqT44KaGNg5k2wWhslOS+ODfXZCD4ekbn9dYttzERDZt bg== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3unjsr8wg9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 28 Nov 2023 15:52:40 +0000 Received: from m0353726.ppops.net (m0353726.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 3ASFfxaY016492; Tue, 28 Nov 2023 15:52:40 GMT Received: from ppma21.wdc07v.mail.ibm.com (5b.69.3da9.ip4.static.sl-reverse.com [169.61.105.91]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3unjsr8wfd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 28 Nov 2023 15:52:40 +0000 Received: from pps.filterd (ppma21.wdc07v.mail.ibm.com [127.0.0.1]) by ppma21.wdc07v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 3ASDTe80028326; Tue, 28 Nov 2023 15:52:38 GMT Received: from smtprelay05.fra02v.mail.ibm.com ([9.218.2.225]) by ppma21.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3ukv8ngpm0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 28 Nov 2023 15:52:38 +0000 Received: from smtpav05.fra02v.mail.ibm.com (smtpav05.fra02v.mail.ibm.com [10.20.54.104]) by smtprelay05.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 3ASFqZLQ23397114 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Nov 2023 15:52:35 GMT Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 92F7D20040; Tue, 28 Nov 2023 15:52:35 +0000 (GMT) Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3074020043; Tue, 28 Nov 2023 15:52:35 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by smtpav05.fra02v.mail.ibm.com (Postfix) with ESMTP; Tue, 28 Nov 2023 15:52:35 +0000 (GMT) From: Sumanth Korikkar To: linux-mm , Andrew Morton , David Hildenbrand Cc: Oscar Salvador , Michal Hocko , "Aneesh Kumar K.V" , Anshuman Khandual , Gerald Schaefer , Alexander Gordeev , Heiko Carstens , Vasily Gorbik , linux-s390 , LKML Subject: [PATCH v5 3/5] s390/sclp: remove unhandled memory notifier type Date: Tue, 28 Nov 2023 16:52:25 +0100 Message-Id: <20231128155227.1315063-4-sumanthk@linux.ibm.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231128155227.1315063-1-sumanthk@linux.ibm.com> References: <20231128155227.1315063-1-sumanthk@linux.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: mZeH1zR2gFD9_hEN1jnN4xBsvdyG38Qh X-Proofpoint-ORIG-GUID: o4Kgqm5_iczBx51bEMzHeUSW8w5f47QH X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-28_18,2023-11-27_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 lowpriorityscore=0 suspectscore=0 phishscore=0 mlxscore=0 impostorscore=0 spamscore=0 priorityscore=1501 bulkscore=0 adultscore=0 mlxlogscore=793 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311280127 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 28 Nov 2023 07:53:07 -0800 (PST) Remove memory notifier types which are unhandled by s390. Unhandled memory notifier types are covered by default case. Suggested-by: Alexander Gordeev Reviewed-by: David Hildenbrand Signed-off-by: Sumanth Korikkar --- drivers/s390/char/sclp_cmd.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/s390/char/sclp_cmd.c b/drivers/s390/char/sclp_cmd.c index 11c428f4c7cf..355e63e44e95 100644 --- a/drivers/s390/char/sclp_cmd.c +++ b/drivers/s390/char/sclp_cmd.c @@ -340,9 +340,6 @@ static int sclp_mem_notifier(struct notifier_block *nb, if (contains_standby_increment(start, start + size)) rc = -EPERM; break; - case MEM_ONLINE: - case MEM_CANCEL_OFFLINE: - break; case MEM_GOING_ONLINE: rc = sclp_mem_change_state(start, size, 1); break; -- 2.40.1