Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp5895031rwb; Wed, 7 Sep 2022 09:26:45 -0700 (PDT) X-Google-Smtp-Source: AA6agR4W8dXWXLSsFf5NrAE2BBNzp04fpInFNmK5u8GUpGwOX9gw6XFotYmPBkMMN3z2jLHT9Stb X-Received: by 2002:a17:906:d54c:b0:76f:ab7:1aa with SMTP id cr12-20020a170906d54c00b0076f0ab701aamr2812912ejc.238.1662568004611; Wed, 07 Sep 2022 09:26:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1662568004; cv=pass; d=google.com; s=arc-20160816; b=QumtlZtqdASRKIoFZuhW+oD33W3NDVWPg9OjrM3rYkF98jAuXe9YG15XtmAnzA9Bv+ mKK95O4NpaSMs3bj9iMylWUYxN3vZQIk7adLGtw89BHs+KxTtrcNS99arR5xpuDUTWU9 riTe0QzxDF5w9woI7D59aumKS/mP5aV9iu+oH7Yh6ua9SOyHgAN4dqD6iUGmwucc0BUU fUiTx5hyh7iphf00VO9vg9JY1OVx4cPqmNxbZE/v/kzG2AUBXiQPPdQT8QcFYEIvkuho Cco/Scqkax2/SPvTceZrvReG+uAFExpdPsbOEG9jibTHl796iK4RAtIcsgxqN6dSU8+b 4h2g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=W2V9eSI3mZWRJXTngbOpWmZz58iboKT1Gi/jZ1ryfTA=; b=ZF5wqCjTxVu4NVxApj16BhzRx0SdE6flYX/DCmKO0Fkf2b1bGOYNgYzXn+8w8t/vl3 jc1fZ1Tc4K83NjHBTUYJGaejKLaN+s81DWqazbZkWcEKR6Jhd27m89GCrUVLBQJ6eq4G 6HF5hlLxMONgYbCcGca1QM7iAM1guM2y4i+GFQZEAmsVGGAOnzErecv5kfNpWLOSzDo7 2pseHnWFVr4G+B02Vfa8JJHtqhvGJmE2P7RjinjAOpVBN3Yuf5Wz56n8+QxzMP+bD1JX NhDlWjmBTv+2+JyTmfqGAC+8e83GeoicDqGPM9zYS1n2PVgyKmKnOh7msxzroUh6JSfw Oe8g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@stgolabs.net header.s=dreamhost header.b="IW5xVG/H"; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dm10-20020a170907948a00b0072b580c899dsi12580606ejc.71.2022.09.07.09.26.19; Wed, 07 Sep 2022 09:26:44 -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; dkim=pass header.i=@stgolabs.net header.s=dreamhost header.b="IW5xVG/H"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229997AbiIGQMP (ORCPT + 99 others); Wed, 7 Sep 2022 12:12:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229686AbiIGQMO (ORCPT ); Wed, 7 Sep 2022 12:12:14 -0400 Received: from crane.ash.relay.mailchannels.net (crane.ash.relay.mailchannels.net [23.83.222.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 932C18A1C4; Wed, 7 Sep 2022 09:12:07 -0700 (PDT) X-Sender-Id: dreamhost|x-authsender|dave@stgolabs.net Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id EC296122ECD; Wed, 7 Sep 2022 16:12:03 +0000 (UTC) Received: from pdx1-sub0-mail-a211 (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 3800D123CE6; Wed, 7 Sep 2022 16:12:03 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1662567123; a=rsa-sha256; cv=none; b=2uNEZDWe4TIJGnsPyzjOv1RYh99aA3v0uCxmyS2NAVhr5IusbxOCVKmBK5RCaoGF+VPrA2 xOFEAMZsExWsZy3ODj+gN/e4l5xWvIkvGjI1755wgl1YNkZVUsYwQJ3NvVkYTwIUWurcGQ eUEhz9TNkBLpZ0PRjJKVJNMuU8QaicWarjTt3oLrXKBF3h1gGWMmREWmCQvRruILZgDuFm 5uagsr5xmpfPHVMNn3O6Ima0nx3Pv02NP+A/pao0W8r1wBaWaMqVugurzwphcHheJjsNA1 TAs+x5NdUuramHQGrThn5fORNYMn1lo0swYOgksNAK4ofVNr5cxb+27rhZsisg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1662567123; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references:dkim-signature; bh=W2V9eSI3mZWRJXTngbOpWmZz58iboKT1Gi/jZ1ryfTA=; b=2qgZ1mW4zuTAb9UOZDRDTItVuIhIjCxTQzd/FM4nzLjdXCcpFPK8VYsDu7GoVcPLwuWsbI EPnc2DhFXZ8IfyrEIfITwq7+7XR5t/yZVEPRjvHonSbFYjBvtc107H0Mj3JKg0FsILvHrc YiNGJffzP0NN0ZJOuB7GB3NhN8Mwm2y9rk2dytKslXuF7VVD5a0EHc9TxOySMmQnn08rat I4emMc/Fww4ryzY4zbx/Ew7hxA3y7Xi27zVVJe88y17WUo0A0MDgXG4X/KSbBbyh/kLkF0 pWUzRQBLTNEz3ECjoV5PF6Q9N+YK+QX5li3feqmxd2SHaXEU4eMytTExQhpZ5Q== ARC-Authentication-Results: i=1; rspamd-686945db84-lvkj2; auth=pass smtp.auth=dreamhost smtp.mailfrom=dave@stgolabs.net X-Sender-Id: dreamhost|x-authsender|dave@stgolabs.net X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|dave@stgolabs.net X-MailChannels-Auth-Id: dreamhost X-Print-Abaft: 0cefe4c50e6b90bc_1662567123761_1002551623 X-MC-Loop-Signature: 1662567123761:2011659655 X-MC-Ingress-Time: 1662567123761 Received: from pdx1-sub0-mail-a211 (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.108.161.89 (trex/6.7.1); Wed, 07 Sep 2022 16:12:03 +0000 Received: from offworld (unknown [104.36.31.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: dave@stgolabs.net) by pdx1-sub0-mail-a211 (Postfix) with ESMTPSA id 4MN6hd5bGGz2h; Wed, 7 Sep 2022 09:12:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stgolabs.net; s=dreamhost; t=1662567122; bh=W2V9eSI3mZWRJXTngbOpWmZz58iboKT1Gi/jZ1ryfTA=; h=Date:From:To:Cc:Subject:Content-Type; b=IW5xVG/HPYJX/1asrEtomOOIiTIfqgwIT9nRpQNfeEIDj78dMvMz0SUfjVJr67y42 g4QmMF6pYmVBs35ukkyy6P4OWxoYQcxl8DJvut7+hA44u8IA0Rgzi7GfpT0ME8h1PJ lip/cnSufyf1zlOFhNako43ssVaHADvZw4negLUzJH8gEoiLcdhJQ0gCHoRvJAPDy3 X64aL/UXI+dhl4HMYaGfvdouUgPhjBGvZyuutkwmi/lmT99j8w4hS+Le6wJ1MyXdAR aVFl505YmrLxQsApjU/+tvk0keGtDfjQWcy68kdv08fLiIa2bzi2rWXeQNL8sWCIdx fVJfblG/ROPVQ== Date: Wed, 7 Sep 2022 09:11:58 -0700 From: Davidlohr Bueso To: Robert Richter Cc: Alison Schofield , Vishal Verma , Ira Weiny , Ben Widawsky , Dan Williams , linux-cxl@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Helgaas , "Rafael J. Wysocki" , Len Brown Subject: Re: [PATCH 1/15] cxl/core: Remove duplicate declaration of devm_cxl_iomap_block() Message-ID: <20220907161158.iaqgvqkgvdwoc5l2@offworld> References: <20220831081603.3415-1-rrichter@amd.com> <20220831081603.3415-2-rrichter@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20220831081603.3415-2-rrichter@amd.com> User-Agent: NeoMutt/20220429 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 On Wed, 31 Aug 2022, Robert Richter wrote: >The function devm_cxl_iomap_block() is only used in the core >code. There are two declarations in header files of it, in >drivers/cxl/core/core.h and drivers/cxl/cxl.h. Remove its unused >declaration in drivers/cxl/cxl.h. > >Signed-off-by: Robert Richter >Reported-by: kernel test robot >Reviewed-by: Jonathan Cameron Reviewed-by: Davidlohr Bueso Does this want a Fixes: d17d0540a0d (cxl/core/hdm: Add CXL standard decoder enumeration to the core) tag? >--- > drivers/cxl/cxl.h | 2 -- > 1 file changed, 2 deletions(-) > >diff --git a/drivers/cxl/cxl.h b/drivers/cxl/cxl.h >index f680450f0b16..ac8998b627b5 100644 >--- a/drivers/cxl/cxl.h >+++ b/drivers/cxl/cxl.h >@@ -218,8 +218,6 @@ int cxl_map_device_regs(struct pci_dev *pdev, > enum cxl_regloc_type; > int cxl_find_regblock(struct pci_dev *pdev, enum cxl_regloc_type type, > struct cxl_register_map *map); >-void __iomem *devm_cxl_iomap_block(struct device *dev, resource_size_t addr, >- resource_size_t length); > > #define CXL_RESOURCE_NONE ((resource_size_t) -1) > #define CXL_TARGET_STRLEN 20 > >-- >2.30.2 >