Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4132692imw; Mon, 18 Jul 2022 23:40:48 -0700 (PDT) X-Google-Smtp-Source: AGRyM1toVmM/cTcprMc/esprGBUD2A9ROazwzeX46bdOeSEusFlV5UlU6fBdpbPyEWZvgrOnhTEH X-Received: by 2002:a17:907:b02:b0:72b:6162:b47f with SMTP id h2-20020a1709070b0200b0072b6162b47fmr27888693ejl.245.1658212847904; Mon, 18 Jul 2022 23:40:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658212847; cv=none; d=google.com; s=arc-20160816; b=KTJMIidjKEj/E/B/5w9qD3r7vCWdYWRlnYGaWcaz2ZvCPOIRLXjfQ6+89LLLfrYNvw /a7bQIHdN2oLCqDGHOiG7rlc3TF98BaLptCJLilQfntCRytsMABeelVm4hs8a+PBdQh9 kqAQCb0uSFOi8f1XmTwBOqWIziOhY0jjIOwX1ZyA/kStlOwzkIE5i+qZA8QVEjuqDyO1 OVOyOLS6np03EeB4KIVmt+oCa2xyJ7kfmCnMlnrWjslVkFqu+cIZyIInFDH5GkdIiCQx SScMh9raK1/zchtRNmgdXV+qrtJ3nnN0fxpGwqekgOkp9k58h8Ex/+mcNuE5PVVavnlG X4jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=RgFV0AUi74xmDDNtyCfL+JJSY/3beamoy2DtBqPfyTQ=; b=zi+twvbaW/GCx8wpXAJZY3C8x1wZuDBC2jtTOQeFPDld+/b/epk7Yi1TOmeOvHUVMD 7+AQn1/y9Vp7uBFQVQnqLfuxpuLwiHmL32VbYxk22pBDkc/xt0lixlypEtSuL80D9IBe LOyfGMNBhN/sDF+Ary2YSJKm7udW0j7ggKX2n2vkx1tShXnN9R8ITkUvIOI3MPugDXjs PE+c2KvzhYzkk8B2xHn1hsbOHb9JwTDTWU6J0Ra9Vevg7W6MVbpNG/PNMhZl8TLp20IL JAvO7LYQxp+NNRNr2tK7Yq7Fq5skZvo0LfMsbZBPHGpULXp2waATVZX9V+mx0xYNBc26 v2Cw== ARC-Authentication-Results: i=1; mx.google.com; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hq8-20020a1709073f0800b0072636d48d28si21476191ejc.453.2022.07.18.23.40.23; Mon, 18 Jul 2022 23:40:47 -0700 (PDT) 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; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237047AbiGSGjO (ORCPT + 99 others); Tue, 19 Jul 2022 02:39:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230329AbiGSGjN (ORCPT ); Tue, 19 Jul 2022 02:39:13 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 557AA248FB for ; Mon, 18 Jul 2022 23:39:12 -0700 (PDT) Received: from kwepemi500012.china.huawei.com (unknown [172.30.72.54]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4Ln8Jn0wvvzlVq5; Tue, 19 Jul 2022 14:37:29 +0800 (CST) Received: from huawei.com (10.175.112.208) by kwepemi500012.china.huawei.com (7.221.188.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Tue, 19 Jul 2022 14:39:09 +0800 From: Xu Qiang To: , CC: , , , Subject: [PATCH v2 -next 0/2] Fix a bug and commit a code optimization Date: Tue, 19 Jul 2022 06:36:39 +0000 Message-ID: <20220719063641.56541-1-xuqiang36@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.112.208] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To kwepemi500012.china.huawei.com (7.221.188.12) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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 1.Patch#1 fix an issue where the Linux IRQ number is not stored; 2.Patch#2 submit a code optimization to replace revmap_direct_max_irq field with hwirq_max field; v2: 1. Modify the commit log to make it easier for developers to understand in patch#1; 2. Modify a compile warning in Patch#2; Xu Qiang (2): irqdomain: Fix an issue where the Linux IRQ number is not stored irqdomain: Replace revmap_direct_max_irq field with hwirq_max field kernel/irq/irqdomain.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) -- 2.17.1