Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp528958rdh; Wed, 7 Feb 2024 11:42:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IG/XzjKBDymKyfPN1OTWuOUtr3MWUdlp7c8nwKSe0LBi/rCc/ZpHg8dUIg3DsWiRy2BT4E3 X-Received: by 2002:a05:6358:a085:b0:178:fda7:ef08 with SMTP id u5-20020a056358a08500b00178fda7ef08mr3609114rwn.32.1707334921517; Wed, 07 Feb 2024 11:42:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707334921; cv=pass; d=google.com; s=arc-20160816; b=fFXU7d5Kgg962XUFL0k1RtYekfvwlWgprqKyQmDYzV+Bgg9fg4YFIdWy1s8a2OsLR8 uGjoHPN8Tn/5EAsShtflvPgZaGekM08F/ehG23khyryRkl9fIgCL6CHzfVYLuOjIF4tl zmv4b/H6OEOfKoWcpYzUwxP1b1IjdPHOEteV2Wz2CbRoMtbQq6wV5i3c2SgKOiELSXTe qyw2teUhT5ZGBUjy5qK7k2cBs+Y0xvIBHIpH6LV+DVbN0YL8a7Gy7Z4xgnShH5jcRHQt f5FXb5J/AARsbM2aSZt+FaTaFxRx5iIL2q35ZLBLK+m1a56YY62I0cE17YGJnKZuYcSF 2wlg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=jbeAjGeC8Un1BxXxO4H15x2kqNM+S7V6sngK5Pfkjmc=; fh=95iPqjKDTS7kBY44QLnoLuSBmS4oeh5JkLWuSRlKQQw=; b=bSht7Pac08FSuvwdibYfr8eYsDiYh9sOfpmtLgdnThtQH29EpxGmilU2IBW6heCWkK sPylhesVwhiSOY5jNn4vzxZYF1UJxi8Vz9aCTgH6Znt6O82fITJ4YeuSQTaiC1+ExBhH YgsnRLZKmmS8k9/EgTr7EcL020OQo/QhMmomVKtGy5EG5lb2OZO90Ka3ABKwPQdW3VHK AyXrbjCUqZRy3TZ/NwygWS2aVQGG5Kn3VgHXUol9thVAPHz7WjPlQJiTZ8TeAHcqOgts /3n0ojlOdcE4TfZaWFBABZDCwTFaPLjb/RVUjRz6IHskrAAOMHUugTBDi669h1cJmDmV FSWw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gZVMCdkl; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-56986-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56986-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCVSr5jnFFZOq9CwF4ExLDqMtNm/bgav+4OnBQCRNQATxprEcsRcb1NDspl3q9k/fjSIDwpresoCF1v/eE9E3PK1V5gP8D22dqTwQ2+nGA== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id ch7-20020a056a0208c700b005d3cd19d20fsi2319051pgb.479.2024.02.07.11.42.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 11:42:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56986-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gZVMCdkl; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-56986-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56986-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 0BFDCB248D2 for ; Wed, 7 Feb 2024 19:41:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A11D9768F6; Wed, 7 Feb 2024 19:41:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="gZVMCdkl" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B772982D97; Wed, 7 Feb 2024 19:41:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707334906; cv=none; b=J50iAYJk/+QqhNyXyjbFtzbs5FRSz8NLXsV6voD7zThK78KLcNpDa7hngQPbiiE4aEX0yVfu4yOwcVLWdbKpum+PIJ3puU0+FiKPGu13jZcWKQOt8X75G1eGpSprPkTEfR/yDe0Cxz+jLv7AWnUwl580TY9QUzoNxNCPkS/eAps= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707334906; c=relaxed/simple; bh=qklZB0bLC2a5JgC1IlNtz4oyZOfriDxJVVLL7P91U0s=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=VeZ00I7iG/drqnUcCQUUeEz1JA0elWTCqaaVcbOoD6sykmF5+c/TWNng8mSDthPdpCth1apEFlx46pTBgMt3kVWXxYUjEPFWzniTl3/34tQsU41J1FtcvdbUeEq0u+4V4D0nOWm42qhLFy8drYQE+b9uKentG8S4u7EsdNaQsYw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=gZVMCdkl; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D6540C433F1; Wed, 7 Feb 2024 19:41:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707334906; bh=qklZB0bLC2a5JgC1IlNtz4oyZOfriDxJVVLL7P91U0s=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=gZVMCdklIIZ6bIHoB1raFtdfESX/bA8benswxm5LvjTcUpNxjGzZ0DBnYY6sTgbXD AauUh3g9dIjGdC6tuLeVLIBjP3bJG3MnOkqOoF84KxdEh21jjxcThIa/zRAjbY4O6m JfheDHfyNpmB8s9DKQpe+F9RQtDXFuIhAQtF6WYepIDZutFlzlDnb4Bc4YtOS/NPax cBzgg9h8ciFPFmahE/ouXKvBudAatqPOGGfEl8CTNNG33rS67h0hlwc2niesD6AX/S 3Ko/JZ8lxBc+788Bu6nNRhXdnLlvxYg3g0aaR4Psmv56a1xpIR7YHm+dZQ+8lITFWX oAgKyRXNP1D1A== Date: Wed, 7 Feb 2024 11:41:44 -0800 From: Jakub Kicinski To: Markus Elfring Cc: netdev@vger.kernel.org, kernel-janitors@vger.kernel.org, "David S. Miller" , Eric Dumazet , Gerhard Engleder , Heiner Kallweit , Maciej Fijalkowski , Paolo Abeni , Yunsheng Lin , LKML Subject: Re: [PATCH] tsnep: Use devm_platform_get_and_ioremap_resource() in tsnep_probe() Message-ID: <20240207114144.25e82d30@kernel.org> In-Reply-To: <29e9dc0f-5597-4fee-be5c-25a5ab4fe2dc@web.de> References: <29e9dc0f-5597-4fee-be5c-25a5ab4fe2dc@web.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Mon, 5 Feb 2024 13:54:24 +0100 Markus Elfring wrote: > A wrapper function is available since the commit 890cc39a879906b63912482dfc41944579df2dc6 > ("drivers: provide devm_platform_get_and_ioremap_resource()"). > Thus reuse existing functionality instead of keeping duplicate source code. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring applied, thanks! -- pw-bot: accept