Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp890209pxb; Fri, 22 Apr 2022 13:32:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5LNQPCYlxx2GVIItK7xgwQrfQFXNkqpH6WCjVU7v5DsBWo5/JghPsmNicQVfsV8tsTdx9 X-Received: by 2002:a05:6a00:1411:b0:4fd:e594:fac0 with SMTP id l17-20020a056a00141100b004fde594fac0mr6787461pfu.79.1650659572273; Fri, 22 Apr 2022 13:32:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650659572; cv=none; d=google.com; s=arc-20160816; b=yaZ8wkaP4nJApxft4AjwWdQwYXKV1kjkcag2RyemDdIqsWHmoEXwVdkC6QR2tJHGb8 NWDWM+zVjuB/8U5HKxjq6B7+KZRKO6BJOBsBZLVnR925mHNi175YiBjZBMnfcVwQ68wB B6y7ceZWmwnB5hCQYX0WbtsNpFAL1DVUfOyqwd97dP0T/ZvDs0bmVlgRWvPmqru/xl9O IoMh3oHK4K8qVKlhxidxNK5DDLIUA4FQMB0EGlq3TqE+oiqEatjB8Wq86bBTAWzrVuen +vqJdTRjyRlNTkJDmtmPIfZERcNbOypzkWziemNEgiXZx0nHNBrby92e/4NVF74pK3qg GaHg== 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=6yUq4fAbVQuINyHJBw8+IFaXlZbWG6vvrcY9HvRvD1U=; b=I+ROSTmPvZmGBET1NHSCF8ZHkJ4BVNUI2en9yLNNAk1wI/mIc108u4/bKFxY7HCvPc W5JKZtczvr1cYh8Iq06K7QnboWgTMe8jOu6W2XHxHDUjUsF1oob4+3WP+4NoRXJv0siS v5IL2/BAtGmnA3E1nSgNLBOmM2hD3z7Ntj/2XT58n0o69YeCKvSkkwb+kD43V6p7Z9Ol mSNa92SXw4yo7X/fQ2pRvmdEyyK0vexDdGD5XtAtl+WRdtpYTchtw6DGXqEU3pepe+Cr BocIGnf0006MNhuaEsdXk7okgXf3PmtMYUeePLBCoNd8WWwP/FIiriD5NDIYBCuU9ve3 tw3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="Y88g71a/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id cm18-20020a056a00339200b004fa3a8dffeesi9091856pfb.165.2022.04.22.13.32.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 13:32:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="Y88g71a/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EC16726978F; Fri, 22 Apr 2022 12:19:14 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379301AbiDTOIg (ORCPT + 99 others); Wed, 20 Apr 2022 10:08:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379267AbiDTOIb (ORCPT ); Wed, 20 Apr 2022 10:08:31 -0400 Received: from mail-pf1-x42f.google.com (mail-pf1-x42f.google.com [IPv6:2607:f8b0:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D4603E0E4 for ; Wed, 20 Apr 2022 07:05:46 -0700 (PDT) Received: by mail-pf1-x42f.google.com with SMTP id x80so2043047pfc.1 for ; Wed, 20 Apr 2022 07:05:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6yUq4fAbVQuINyHJBw8+IFaXlZbWG6vvrcY9HvRvD1U=; b=Y88g71a/vBdigWsyyAfvaGoaM78QwhD9/hfJXlCbXLkikG8Ay5JwT94MbVQUEMiU7o k48Gstu0JHEZM63w1UvGytVy+9lBkkK1yTCDm3BsSsQ5/DgRhWJ5SA0f2yfJwhZbW7Tj lkc84fjk8CkTUFy0IXrPG65uDk3ZIrCnf/Ux7uLcUMQ13veY/jv7Xw5j4PRjcs7psSDd Uk1xYwMr21d17+NjmP3P6X/Dl4fwlw7TiwmoQjmzRLXReHX/Ge7nJ+N3aarnQWJ5M1Uf WdYG38AEX7msuBY171ZxL9/RePc4gtrGpqA1n8rqZkWgm7V48NJfRy4TmnRKP/kmCdtl k5jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=6yUq4fAbVQuINyHJBw8+IFaXlZbWG6vvrcY9HvRvD1U=; b=It9i3uOeEIXbsYiVSOb4AE+u9HBZ/XC6tr8x2Gyt6JfQneHFgEyenhDr4BVdltxifi +HYsbioBaNj/IkHItQL3tILd4sS5hDwC1CfVA+3adXq6HraRQ1G4VoDGjEA3gT+thcPF TOrHaReabOaBDRQXQW/zGZZBTKoO/ZGDp3ULETTWMnDCuXJlGTroKIY//qmfVMPEtOd4 8sojmzE+u0VQHbl8r80CwOQH5URbojaqYiEa64k7QdAYlfIAvvAXA2tzNITI4vptNTxB rk6IyLEpbkRTLPS4i0ao4CDe2CTjWruus/YlakwsXkUXGzXq6sPDBCht+/5zwTp/6WoC XAGA== X-Gm-Message-State: AOAM5332yW/vYUqEGkpMDs8eF1nEQIOhFfap6VdwYO29mERy2nqwFHhc 5oADgYvB9MTUU+GbtPmAeci+Rc4zcg== X-Received: by 2002:a65:45cc:0:b0:3a1:d67a:4fb8 with SMTP id m12-20020a6545cc000000b003a1d67a4fb8mr19492764pgr.543.1650463545479; Wed, 20 Apr 2022 07:05:45 -0700 (PDT) Received: from piliu.users.ipa.redhat.com ([209.132.188.80]) by smtp.gmail.com with ESMTPSA id br10-20020a056a00440a00b0050a777cd10csm10959178pfb.91.2022.04.20.07.05.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Apr 2022 07:05:45 -0700 (PDT) From: Pingfan Liu To: linux-kernel@vger.kernel.org Cc: Pingfan Liu , Thomas Gleixner Subject: [PATCH 2/9] irq/irqdesc: change the name of delete_irq_desc() to irq_delete_desc() Date: Wed, 20 Apr 2022 22:05:14 +0800 Message-Id: <20220420140521.45361-3-kernelfans@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220420140521.45361-1-kernelfans@gmail.com> References: <20220420140521.45361-1-kernelfans@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE 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 Make the naming convention consistent with irq_insert_desc(), irq_to_desc(). Signed-off-by: Pingfan Liu Cc: Thomas Gleixner To: linux-kernel@vger.kernel.org --- kernel/irq/irqdesc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/irq/irqdesc.c b/kernel/irq/irqdesc.c index 8d0982233277..9feedaa08430 100644 --- a/kernel/irq/irqdesc.c +++ b/kernel/irq/irqdesc.c @@ -355,7 +355,7 @@ struct irq_desc *irq_to_desc(unsigned int irq) EXPORT_SYMBOL_GPL(irq_to_desc); #endif -static void delete_irq_desc(unsigned int irq) +static void irq_delete_desc(unsigned int irq) { radix_tree_delete(&irq_desc_tree, irq); } @@ -453,7 +453,7 @@ static void free_desc(unsigned int irq) * irq_sysfs_init() as well. */ irq_sysfs_del(desc); - delete_irq_desc(irq); + irq_delete_desc(irq); /* * We free the descriptor, masks and stat fields via RCU. That -- 2.31.1