Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2687790rwb; Wed, 30 Nov 2022 09:32:35 -0800 (PST) X-Google-Smtp-Source: AA0mqf7HjfTGkxzU9qB7924z9NIaN8oI3DNnjKbHIyweETIwQbKYXQut274H7tuwbXx30B1ZG/Ps X-Received: by 2002:a05:6402:2488:b0:467:3ea1:acdd with SMTP id q8-20020a056402248800b004673ea1acddmr58215662eda.96.1669829554951; Wed, 30 Nov 2022 09:32:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1669829554; cv=pass; d=google.com; s=arc-20160816; b=fyCd+dS/9sQN+QsyPsEMYaW+pSCaEk1/FjGMF/XoOfMIAQVuI1zebt3udKjXmaHU2M qY2SrdIuY8kkO32/cYuvptW/xJjeUaN4UV3l8OvSMG112HX8PZO9WjL7JM2U5ZRDjXkM 0s1C3SpJ+NHqX9O3W1zu2c0Mty2+VtiOqLb+FVQnQb09yV19cDXlBjdp/itAtDWYZ9xU 7eTD8z0/yNk9ugfs56v6o+F1l3XwcASnUgHyTGlwCKZ+H6Lh9/nh1BeERhbLy4seccEL N945MRdYTYBf+2LRtORWaK183HZuyd3cd/RT2UzRiO1Mw9tHmLWeGSqaI8jC8XiYXQGy 9aEA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:sender:thread-index:thread-topic:subject:cc:to:from; bh=sPKtceQEkvgP9Zy4ewLLPZNpzlgexH8YfKfiXq7TJTo=; b=zWgvoGAqoNvpXJ6TuJwD17vROsNNyfF71IEGgIF/5bYTFkZXZxEhAgaaSk3B8fsGea GRAN4Tc9hgk0mBNsRT+2dK1n+fNa5n3640P+2ens25PZQoU5DZnORg40Z/6wrOjLN/t9 2d4oKc5FaVhgFjQ+Cd64Mivzbim6sar0AgaHUlqg0RIoyI+mM70Aznig34tEsqumaFGX L2iTTE3r/VjyuLoYegfqwu/bPmT+7Iw9NQ1XQgIPzeJ4MD0YTFM6Oy2TkLljDShgoWys YnXirsuypjsfNAMU2FnNF6uozhawwW+q078Pe63KlPUiz8JYdvSAtq0QtP/ktnm86Rqw c/oQ== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=lohu.info Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nd19-20020a170907629300b007af041e40b4si1787586ejc.129.2022.11.30.09.32.14; Wed, 30 Nov 2022 09:32:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=lohu.info Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230072AbiK3QNv (ORCPT + 83 others); Wed, 30 Nov 2022 11:13:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229642AbiK3QNp (ORCPT ); Wed, 30 Nov 2022 11:13:45 -0500 Received: from na01-obe.outbound.protection.outlook.com (mail-westus2azolkn19010002.outbound.protection.outlook.com [52.103.10.2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 234D850D41 for ; Wed, 30 Nov 2022 08:13:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DFuf6IAa6WlAvtRn1/P9yyKBKjJLafCqUf4FwD6B2J82/ayqnNRTOTpkfSAhNu7nszjuIQUzpR/B9dUvlCnw0Z1oiQW1yXEQ9lefjhx0BDau6u/nrKhoeujP5T0iWJQ2kijARfsPZlWEBy8WkJ2FJMucrRqnySS47OgOKK8kI2FQ0E3GXMdYPUjZMACElZTAbQbGJJClWqnZDWa+h5JE+i7g+VAzuL31JrucJw5/LrfuY30ULhempJp19AD+SH2p4T4mQH+nYiaLHe4rOcbe1KMQIJQuD3HseKF8IX4ivbAAsiuFM18Owul+H04MnsB+KLRg8p3nddFtcZa84y1hHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=sPKtceQEkvgP9Zy4ewLLPZNpzlgexH8YfKfiXq7TJTo=; b=O+p62O6tKy/i0vUB8T66saChS767fRtVd+K3UQB/FJ4EoUnf99XfZtjRkHgC9FIGRBXCOqS/orvfE+rxA+41eTHR2VNcTxOE0G6htUw6LxgNhZ0J5EmuxkDY2wQ1pAK8GimmjKQXmbzpwI5+E/dZa8Oso+Nwd9AJ8K+LUdqp3vu51KbR5XmJLFjR2W5cwfux7YGyWZSkuScVKgtEywlwp9LnKpZ+4TBsJhODD5pcyGLo/EsSMW8etgR/7kNSJMfTrv4dlOZbgJKNnAlZZGyT+vsXoQxEn94CZ9f0DhtJdxsada8/QKVTH0Dg7LoQOFrhknGLPutVycwlZaEUDOgN7w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from DS0PR05MB9544.namprd05.prod.outlook.com (2603:10b6:8:11f::15) by DM5PR05MB3273.namprd05.prod.outlook.com (2603:10b6:3:ca::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5857.20; Wed, 30 Nov 2022 16:13:41 +0000 Received: from DS0PR05MB9544.namprd05.prod.outlook.com ([fe80::33e4:cb6f:e54a:778f]) by DS0PR05MB9544.namprd05.prod.outlook.com ([fe80::33e4:cb6f:e54a:778f%5]) with mapi id 15.20.5857.023; Wed, 30 Nov 2022 16:13:41 +0000 From: Soha Jin To: Soha Jin , Greg Kroah-Hartman CC: "Rafael J. Wysocki" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH driver-core-next] platform: remove useless if-branch in __platform_get_irq_byname() Thread-Topic: [PATCH driver-core-next] platform: remove useless if-branch in __platform_get_irq_byname() Thread-Index: AQGNOzpBNLe6pR+Hdv3rzYKtKpIDNK7vNeIg Sender: Soha Jin Date: Wed, 30 Nov 2022 16:13:41 +0000 Message-ID: References: <20221111094542.270540-1-soha@lohu.info> In-Reply-To: <20221111094542.270540-1-soha@lohu.info> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 2 x-tmn: [zzHc37Pfq3Bjh2u2+O550yfBeyqTAOipOea8fM43QdcokCnQH3EavyOzeSngjww4] x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DS0PR05MB9544:EE_|DM5PR05MB3273:EE_ x-ms-office365-filtering-correlation-id: ead66a53-c8be-4648-6ae2-08dad2edd926 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ywiZFG/5Dlj1ENgP0tCpe2usGBDXSAB6gEpfWm42fcPtAoin0V5JVL1voTi9SZckTuLdQbBWEAihos6Tte+ll0PuPOKtTxzXWijL2EHxLA3RDFYOHhcTSc27KZV+m0G+rK+H7DOSLfC9BRV2f5ClTZlnAaILx1w2A434kqxoW+mRPQREqxdq7RSWeUaxZyt9e59DzjqKSZ56zhFIHb3X0bTuBfs7Oxc0UBInOmoEu5g4z277lM7B2i8O01RoumdB6HwsDWpnG7cT28rgRibhKTOyx2R7FUPJXniE6/5+ET6QX7DPG9ItZnQ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6SnBjQlZaaVZWNkt3azdqWmlwSDhYRG8yb3hlRWFq?= =?utf-8?B?Z2M2ZTI1VExDVGxKZ3h6UU4zQi9WMnBLSTdYTENIQVBsZlpJdG0rNGljckJz?= =?utf-8?B?bFo5TnJCTmNuV0hGOEdDSWxBT2dOTG9vWExSeVBiTjZCNHVZL3ZvNHZ0K2tE?= =?utf-8?B?Q3JOZGJGRUw3Qm5Fa0pud1Y2aU9VRTNtN3pXdUYvZ29rR0grSlJpODFvU2Z3?= =?utf-8?B?c1A0WU10b09ZTnl3a2NVbUhkWitrRFphYUg4Y0s4dGNFd0ZXdTk2UG9QNkRL?= =?utf-8?B?RnJrWVMyY0xBdkZIQ042OHV1M1E5R0xmT00wUVRzZGdRWjROc0N5eGN5WWho?= =?utf-8?Q?qvsQjD54ye/nkA/Zng=3D?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: sct-15-20-4823-7-msonline-outlook-84f76.templateTenant X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DS0PR05MB9544.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: ead66a53-c8be-4648-6ae2-08dad2edd926 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Nov 2022 16:13:41.7977 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR05MB3273 X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no 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 PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBTb2hhIEppbiA8c29oYUBsb2h1 LmluZm8+DQo+IFNlbnQ6IEZyaWRheSwgTm92ZW1iZXIgMTEsIDIwMjIgNTo0NiBQTQ0KPiANCj4g V2hlbiBDT05GSUdfT0ZfSVJRIGlzIG5vdCBlbmFibGVkLCB0aGVyZSB3aWxsIGJlIGEgc3R1YiBt ZXRob2QgdGhhdCBhbHdheXMNCj4gcmV0dXJucyAwIHdoZW4gZ2V0dGluZyBJUlEuIFRodXMsIHRo ZSBpZi1icmFuY2ggY2FuIGJlIHJlbW92ZWQgc2FmZWx5Lg0KPiANCj4gRml4ZXM6IGQ0YWQwMTdk NjM0NSAoInBsYXRmb3JtOiB1c2UgZndub2RlX2lycV9nZXRfYnluYW1lIGluc3RlYWQgb2YNCj4g b2ZfaXJxX2dldF9ieW5hbWUgdG8gZ2V0IGlycSIpDQo+IFNpZ25lZC1vZmYtYnk6IFNvaGEgSmlu IDxzb2hhQGxvaHUuaW5mbz4NCj4gLS0tDQo+ICBkcml2ZXJzL2Jhc2UvcGxhdGZvcm0uYyB8IDgg KysrLS0tLS0NCj4gIDEgZmlsZSBjaGFuZ2VkLCAzIGluc2VydGlvbnMoKyksIDUgZGVsZXRpb25z KC0pDQo+IA0KPiBkaWZmIC0tZ2l0IGEvZHJpdmVycy9iYXNlL3BsYXRmb3JtLmMgYi9kcml2ZXJz L2Jhc2UvcGxhdGZvcm0uYyBpbmRleA0KPiA5NjhmM2Q3MWVlYWIuLjZjZDdmZDQ3OGM1ZiAxMDA2 NDQNCj4gLS0tIGEvZHJpdmVycy9iYXNlL3BsYXRmb3JtLmMNCj4gKysrIGIvZHJpdmVycy9iYXNl L3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