From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CBA0CC636D3 for ; Tue, 7 Feb 2023 18:43:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=TXiSfmxksBgH6dj/gtFPSCXdyWqmmvI806Z1sGAFXEQ=; b=a7RGsHprsdNJh7 7uao1Tku4HVGyCKrSowcbMhVDraDY4LVBr3FoxYf1E3JABW7XtFKajDapvyrgPRd3eh2MZ0b2HE3n xYATyfcpjYnvOdT5Pq1KYUHzG0gx8KhHSyL1iOIZRkIgVX2L7dP6ZFAFsd6ROUkDJ5DwNj5rLx9Yh VDX4Yj6yjt2iJhT+XWIrKN58sxqkgju2qgzg3EOv5u1rAGzpAo0YyzLMJ3Jf7dYjSpVQQgF8Ui//a Li0uQJeR0kuHcw2qWaha7hh1YeDjypE80aIB4ugkVZnKdjk/VEknxiFFp0PgjBnfeYnc34OsUKZzU u4iTRvMtSaTGPJuiWt6Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pPSuv-00D7VP-Ns; Tue, 07 Feb 2023 18:42:09 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pPSus-00D7V5-Te for linux-arm-kernel@lists.infradead.org; Tue, 07 Feb 2023 18:42:08 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 44F1260F6A; Tue, 7 Feb 2023 18:42:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 25317C433D2; Tue, 7 Feb 2023 18:42:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1675795325; bh=2RluZuq/q71FEFIXJsDWM5c094jhSykEigPJAtPWRyA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=NffQX6V6c/VaeoCeQ/D0GgNtwLx00j22nOLI9l/GUV73nAtzyZ28FTcXE0fWkOO8F sopCynyeobSHLATiJvVxDLOIG3Ce1ukuzvJ73yCgdLkGlT844QaBAPceKV4NCazFsM GRz9YZiP/IOEVqEapLa09NgBmsqTNpJCOWGO1nmWpc3fEiDBDO/aWGxdJXXKaA7Dnp P1KwKx+ZxO9XI09+imlxVX0QfeVobdXVGHIr3FHfvkRuaGJUSXECbFukMIIORvD5SC rPqG+S2aqFu0cn0LhU+b9dU02JXx9nBPfSf78zQNakmqqZRrh997wUrRuTqCNqvPUL Qqk808XPvj4Og== Date: Tue, 7 Feb 2023 10:42:04 -0800 From: Jakub Kicinski To: Paolo Abeni Cc: Jonas Suhr Christensen , netdev@vger.kernel.org, "David S. Miller" , Eric Dumazet , Michal Simek , Harini Katakam , Haoyue Xu , huangjunxian , Wang Qing , Yang Yingliang , Esben Haabendal , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net v2 1/2] net: ll_temac: Fix DMA resources leak Message-ID: <20230207104204.200da48a@kernel.org> In-Reply-To: <135b671b1b76978fb147d5fee1e1b922e2c61f26.camel@redhat.com> References: <20230205201130.11303-1-jsc@umbraculum.org> <20230205201130.11303-2-jsc@umbraculum.org> <5314e0ba3a728787299ca46a60b0a2da5e8ab23a.camel@redhat.com> <135b671b1b76978fb147d5fee1e1b922e2c61f26.camel@redhat.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230207_104207_034077_18AEA1FD X-CRM114-Status: GOOD ( 10.53 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, 07 Feb 2023 12:36:11 +0100 Paolo Abeni wrote: > You can either try change to phys type to __be32 (likely not suitable > for -net and possibly can introduce even more warnings elsewhere) FWIW that seems like the best option to me as well. Let's ignore the sparse warning for v3 and try to switch phys to __be32 in a separate patch for net-next. No point adding force casts just to have to remove them a week later, given how prevalent the problem is. > or explicitly cast the argument. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel