Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp689098lqb; Wed, 29 May 2024 07:52:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVsc9YbcvSetQ6OO9TqYp4pw2ggFNIuuEXrIzD8Mb2zfgLrFfwoBl99VM3ZoltoVdhybpzGAkF15dorKcIJi5Gh8f84JSwabq8umUs/2A== X-Google-Smtp-Source: AGHT+IHI6FC07d0bUuTAXNxZPUpoE4DZXAhGLszUOwz4T1fN7eXgtn8M37qKaMzPigtmivdXH6qm X-Received: by 2002:a50:c88d:0:b0:56d:faa2:7aca with SMTP id 4fb4d7f45d1cf-5785196923emr10881618a12.17.1716994350247; Wed, 29 May 2024 07:52:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716994350; cv=pass; d=google.com; s=arc-20160816; b=vRdYl971beueXvPp8zXikDlELdTvdRrjDU/mfQNp51QonaDq4hEOq+Y4Jjabebby2a 2z+L7Iw5qRNjlGRDiezL50Uzm237FeAvKhlqf4945077vSuKIRysDxGVBN5lYTCN1tp2 zj8imLwlpb+2Z8G3TAyuaxgCkixKzMWw/pqgucwQ5yVwORDqK9aslq3ovNo4YKG+1fxN YoTxT3GHfY31RnVln1WqM+OlVCooKBPfUSsOkr3rDDnk3xW/+IySACy8xf8NDWPeSKN9 hwJxhbiwZnLdoDtlyLandjo2gejP8pjhdWTRFZf/kOlv2ltGAyRZ4MIOSR1sw/QOBNKV O4Dw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=subject:cc:to:from:date:references:in-reply-to:message-id :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:feedback-id:dkim-signature:dkim-signature; bh=7IxkuZoVd9WiYU/J/P+geKBX2/pqxBTDvhVab7EsJvA=; fh=x4LA/zHbZocYeL0YROLn8anT31m1gU83T3QHYa+g3zc=; b=W7fko98OjENvyIoc27Mr0xUnRsuhKOeTXAuwn9fTCvZ5f9yoTuF0fbsYVeNjmSRlFg GkVSk0WxMMfn5rEjIMaxpnpqBKc2lOl48uiRjevQgiZ06rS/L8j5JCagu5clYZfiDHQW IqQigzDEdSe9FAQhwU1PvnVWpTJa30TpiPY9URSHkLG8/fKDX2g5+Wkl25GsD94wFr4M YInE2//iTeIYQznEcwav6ZhL6kk6/zzXvKm09EG+6ZYowYUeY6ia3aWS3d7skYc4/p6H XCBoZsA+QeR0bnElJnCCPnMlTxzIDz062QfJFAWQknP3caMGVE+GG3XVg1210Tmxs9iE Rc7w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm3 header.b=C054Z+UV; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=f4qr6sTU; arc=pass (i=1 spf=pass spfdomain=arndb.de dkim=pass dkdomain=arndb.de dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=arndb.de); spf=pass (google.com: domain of linux-kernel+bounces-194315-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194315-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arndb.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-579c5ab68f4si4484129a12.270.2024.05.29.07.52.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 07:52:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-194315-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@arndb.de header.s=fm3 header.b=C054Z+UV; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=f4qr6sTU; arc=pass (i=1 spf=pass spfdomain=arndb.de dkim=pass dkdomain=arndb.de dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=arndb.de); spf=pass (google.com: domain of linux-kernel+bounces-194315-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194315-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arndb.de 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 am.mirrors.kernel.org (Postfix) with ESMTPS id CC7831F2311C for ; Wed, 29 May 2024 14:52:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1356D1802BA; Wed, 29 May 2024 14:49:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b="C054Z+UV"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="f4qr6sTU" Received: from wfhigh8-smtp.messagingengine.com (wfhigh8-smtp.messagingengine.com [64.147.123.159]) (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 78E0A17DE13; Wed, 29 May 2024 14:49:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=64.147.123.159 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716994168; cv=none; b=qss0/dHvzPyzZHcLO9WQFlFfgfPISYazQ0GrLNsKy9cof7fDnRuV+kyOWfMdPorEysD6ICpBXfrMgfBSmJSVNfNkaG78WQg+ZkItTBnb2ittLrdBn0vzQS8cRXs//rNvDt3bUf1kerKl16wTq1waCEnK0ywB5SeX7UriCWSOBGc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716994168; c=relaxed/simple; bh=SF0YKlSyYse+0ka5sLh8OROzBOmqMA2huVE3Mlz5x+w=; h=MIME-Version:Message-Id:In-Reply-To:References:Date:From:To:Cc: Subject:Content-Type; b=p6GVCBs+lIWlBE6DRjJWJ632KgeDCSFKlqQlen9ilfb3NYl0KdRQmLGNSwXlBSgEevg2/RZDWOOo17qWbNIrxT5blinepEvbWLZFufXOum+OGq9v+L4iGL/LUwNIVwsQKkC6WveR4acNcmPZDiEaENYp2sy5o3MwqMAjQrqWF+U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de; spf=pass smtp.mailfrom=arndb.de; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b=C054Z+UV; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=f4qr6sTU; arc=none smtp.client-ip=64.147.123.159 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arndb.de Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfhigh.west.internal (Postfix) with ESMTP id F12AF18000A9; Wed, 29 May 2024 10:49:24 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute5.internal (MEProxy); Wed, 29 May 2024 10:49:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1716994164; x=1717080564; bh=7IxkuZoVd9 WiYU/J/P+geKBX2/pqxBTDvhVab7EsJvA=; b=C054Z+UVY9X47doZ54zeBRGGwN F9Hvhv8YSAyy0Cs2sfztiaDV5H7ojEk4gnaSjOmW3DA5I3ACV6cprjnkS/BNf6JE Fl9wM0xlYGLTiVDtZpbWbxiBHZzX3tE8FNtjqZtSdOE+69e7naViTZ66JuUOHBaA tOPikQA6DcOX1fBtY6XJLp1yPsR3xxOegAhsgjg0wfP0dSvYNOJN6TLSvdU60vuK vMT82/RjtnYnP8iUB7ePbOBYH9ANmaNb+T5g7H8n2pySjG3+c2f03vDV+6QaYFsd KIsa+Ovi4BaSpoHoPNCgWND8/3aEnFxsgRNShsH1T62npJo1NpfvEAYkYJJg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1716994164; x=1717080564; bh=7IxkuZoVd9WiYU/J/P+geKBX2/pq xBTDvhVab7EsJvA=; b=f4qr6sTUdr0YYry+DQ+/asReNKnqa5DLwhJz3yrCcwb/ dC4W0+okPOV6wCxUPT4vO2sqlXL9a7ynalsVTtJS18lgAuddMM9YytS5d1r8Vsbf D9lBcsD6Cub6SYcFDiqAJf7cDfdG2W0LyhC+AvVud8ER5clYCBRO2injczb40UIP g1uFgSNT440xgOFOIDhMBk/l3/KmoV2F03z5R6dctz0xCNiPrwYVY/Juz9DBJFpj Mg1XN3gSJ67GE1RKOas/UBhirl5dEBZg6+N5yyRNwjSMrQl45mauRgLxmAB3HBVw WlcnD6+qxLEBK9iGOoZ2nvom51K7dkxB9fAhCCPz4w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdekuddgkedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedftehr nhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrth htvghrnhepvefhffeltdegheeffffhtdegvdehjedtgfekueevgfduffettedtkeekueef hedunecuffhomhgrihhnpehkvghrnhgvlhdrohhrghenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrrhhnugesrghrnhgusgdruggv X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id E35D4B6008D; Wed, 29 May 2024 10:49:23 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-491-g033e30d24-fm-20240520.001-g033e30d2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <0aa8873b-d333-4d2a-ba3a-a116623b470a@app.fastmail.com> In-Reply-To: <20240529143859.108201-4-thorsten.blum@toblux.com> References: <20240529143859.108201-4-thorsten.blum@toblux.com> Date: Wed, 29 May 2024 16:49:03 +0200 From: "Arnd Bergmann" To: "Thorsten Blum" , "Nicolas Pitre" , "David S . Miller" , "Eric Dumazet" , "Jakub Kicinski" , "Paolo Abeni" , "John Paul Adrian Glaubitz" , "Andrew Lunn" Cc: Netdev , linux-kernel@vger.kernel.org, "kernel test robot" Subject: Re: [RESEND PATCH net-next v3] net: smc91x: Fix pointer types Content-Type: text/plain On Wed, May 29, 2024, at 16:39, Thorsten Blum wrote: > Use void __iomem pointers as parameters for mcf_insw() and mcf_outsw() > to align with the parameter types of readw() and writew() to fix the > following warnings reported by kernel test robot: > > drivers/net/ethernet/smsc/smc91x.c:590:9: sparse: warning: incorrect > type in argument 1 (different address spaces) > drivers/net/ethernet/smsc/smc91x.c:590:9: sparse: expected void *a > drivers/net/ethernet/smsc/smc91x.c:590:9: sparse: got void [noderef] > __iomem * > drivers/net/ethernet/smsc/smc91x.c:590:9: sparse: warning: incorrect > type in argument 1 (different address spaces) > drivers/net/ethernet/smsc/smc91x.c:590:9: sparse: expected void *a > drivers/net/ethernet/smsc/smc91x.c:590:9: sparse: got void [noderef] > __iomem * > drivers/net/ethernet/smsc/smc91x.c:590:9: sparse: warning: incorrect > type in argument 1 (different address spaces) > drivers/net/ethernet/smsc/smc91x.c:590:9: sparse: expected void *a > drivers/net/ethernet/smsc/smc91x.c:590:9: sparse: got void [noderef] > __iomem * > drivers/net/ethernet/smsc/smc91x.c:483:17: sparse: warning: incorrect > type in argument 1 (different address spaces) > drivers/net/ethernet/smsc/smc91x.c:483:17: sparse: expected void *a > drivers/net/ethernet/smsc/smc91x.c:483:17: sparse: got void > [noderef] __iomem * > > Reported-by: kernel test robot > Closes: > https://lore.kernel.org/oe-kbuild-all/202405160853.3qyaSj8w-lkp@intel.com/ > Acked-by: Nicolas Pitre > Reviewed-by: Andrew Lunn > Signed-off-by: Thorsten Blum Acked-by: Arnd Bergmann