Received: by 2002:a05:6a10:144:0:0:0:0 with SMTP id 4csp31196pxw; Thu, 7 Apr 2022 23:36:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzPnelxu1owp+JfzQrt1PCLBU7WCi7KRzxqx6bl5D3zaLB5Xxshj4xRIcdHHJytxcjvklOk X-Received: by 2002:a17:90b:4f8c:b0:1c7:2217:e980 with SMTP id qe12-20020a17090b4f8c00b001c72217e980mr19699225pjb.17.1649399782213; Thu, 07 Apr 2022 23:36:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649399782; cv=none; d=google.com; s=arc-20160816; b=TU3c3M65e1Rz9zStU6+iqEDDWeTGUEpNQkpRJRRSnwi7DNwb2+R5Od/Jln/1stbBgg /9gaMo9g7wCkIxoIpk+1FDGO2k1bzBGJ6bFc5iq2VJV3uyPpDzSULgurQOuKFEqwX9S7 GUL2QXwMOxqvmULORugHxeRz6VPaLjjZcBC+sIwGXC8kRrhndjChnYt1PI8W/5+XALm5 8ySHU9/pFAvYmzt4fAiKf44sBOvaBww5l3h3+7sRXzl/jYppXb5NwoQCxCl0brlKXMDr jZqoLVTlOCguPWWFe5EBuqLFSLHAW0Phb5K4cqyag8TATYF4fUNm3ZfZtOJLj1DvbYao jChA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=DwjOdyHwSk+QeVDvV8DYNR69dAuxGNJilx3j3wHoA44=; b=RZSFxlkd1YFFk87VC63H93/DmuqOoPgCP1syWBRRyel3z1Kj0vI2C3QSK16SfIaE+7 HeI1wwUbkzI1MGIRTQJqFh+Dnw4bJcLRi1YkQ65lyhzVvInXMFjAVqQZURL/i2E9a14N HCj/CCqUPCM2SFcQNGvM6/9FCwuXrdpBnZnkjjhGzrYGCOsdGjfYAzhWbxoYKDKYRPQ+ yrHcr9SXpjjOnK4Mmu2ofT1BFem5iTD4Caa5Dy+GJoFTjMIFLIGDDXnIH6hFpQo/MBaL ZplduvnxnIDLtFdPV+Jfgde3J5rh7ztpBHfTVTC8Iys5IQxOuv4NR0GAdYdU/q+EWmkp nUDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="3/+DTTq1"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id m14-20020a170902db0e00b00153b2d16474si93217plx.124.2022.04.07.23.36.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 23:36:22 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="3/+DTTq1"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E0B9810FDE5; Thu, 7 Apr 2022 23:06:35 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235170AbiDHGI1 (ORCPT + 99 others); Fri, 8 Apr 2022 02:08:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235163AbiDHGIW (ORCPT ); Fri, 8 Apr 2022 02:08:22 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B3C2B8999; Thu, 7 Apr 2022 23:06:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=DwjOdyHwSk+QeVDvV8DYNR69dAuxGNJilx3j3wHoA44=; b=3/+DTTq1VHD0GGWkFuZbAwBwDP 2+djqMLbj2XGpCykEA95XbzSRz4WTg2b04a+koULhJR+0ifnxhlNGhaTjWeX18J2EivFM0odAJsMn WIOv4KaYx3OOhLVWRw6aoYzEphCpBVPLkiG6RE2ZZ9s/J1PjMpc6LaKQLsUfmh9QS1NNeiTK4h9Fi 6gH6gK8UXKeCXgnu2cYoeQ5OPoFxqHrAtTE9AJutJoTmkT26oaoieCPksfZBM7vVhUbhC3+Xg4njv wcANgTiLucMDrqB/xAnxdN6sXq8MperPRahswronAeiZQtcYs21R56eevzc1Ve7W+8/IGztcVLtjb vBom1ekQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1nchlC-00FEGF-US; Fri, 08 Apr 2022 06:06:18 +0000 Date: Thu, 7 Apr 2022 23:06:18 -0700 From: Christoph Hellwig To: Logan Gunthorpe Cc: linux-kernel@vger.kernel.org, linux-raid@vger.kernel.org, Song Liu , Guoqing Jiang Subject: Re: [PATCH v1 2/7] md/raid5: Un-nest struct raid5_percpu definition Message-ID: References: <20220407165713.9243-1-logang@deltatee.com> <20220407165713.9243-3-logang@deltatee.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220407165713.9243-3-logang@deltatee.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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 On Thu, Apr 07, 2022 at 10:57:08AM -0600, Logan Gunthorpe wrote: > Sparse reports many warnings of the form: > drivers/md/raid5.c:1476:16: warning: dereference of noderef expression > > This is because all struct raid5_percpu definitions get marked as > __percpu when really only the pointer in r5conf should have that > annotation. > > Fix this by moving the defnition of raid5_precpu out of the definition > of struct r5conf. Looks good: Reviewed-by: Christoph Hellwig