🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #1081

Re: [PATCH net-next] net: natsemi: xtsonic: make probe function static

#1081
From: Björn Töpel
Date: Fri, 09 Oct 2026 06:18
12 lines
5855 bytes
Randy Dunlap <rdunlap@infradead.org> writes:

> Avoid a build warning by making the probe function static:
>
> drivers/net/ethernet/natsemi/xtsonic.c:200:5: warning: no previous prototype for 'xtsonic_probe' [-Wmissing-prototypes]
>   200 | int xtsonic_probe(struct platform_device *pdev)
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>

Reviewed-by: Björn Töpel <bjorn@kernel.org>
Technical Details
Message-ID: <87fqyfs8gi.fsf@all.your.base.are.belong.to.us>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-343470-linux-kernel-netdev=dewy.ru
References: <20261008183013.3223131-1-rdunlap@infradead.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-343470-linux-kernel-netdev=dewy.ru
From: bjorn@kernel.org (Björn Töpel)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next] net: natsemi: xtsonic: make probe function static
Date: Fri, 09 Oct 2026 08:18:21 +0200
Organization: Usenet Network
Message-ID: <87fqyfs8gi.fsf@all.your.base.are.belong.to.us>
References: <20261008183013.3223131-1-rdunlap@infradead.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
	logging-data="1047424"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:n2uPO5kfPWxWKAsIHPeGi63jtaI= sha256:rmY+4mr5c6fAgfJqM/LWrKn11TAkbwjR3IyQfMA1JjU=
	sha1:w+KVs2BW80gUDU8wNJlTQX/FlIw= sha256:5aehAGdMzrYmwiuMh0VJqjvw3pb+pfgd3fyTSllBP3Q=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 645D910F5E1; Fri,  9 Oct 2026 09:33:47 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -1.341
X-Spam-Status: No, score=-1.341 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.241, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
	autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id jWeJYgQTKjRi;
	Fri,  9 Oct 2026 09:33:44 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-343470-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
	by mail.dewy.ru (Postfix) with ESMTPS id 7359910F573; Fri,  9 Oct 2026 09:33:40 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
	by sin.lore.kernel.org (Postfix) with ESMTP id 472C331698; Fri,  9 Oct 2026 06:20:03 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 74A734322FC;
	Fri,  9 Oct 2026 06:18:25 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="kN9+z67M"
X-Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18])
	(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 7BAE741DED5;
	Fri,  9 Oct 2026 06:18:24 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1791526705; cv=none; b=tVFousbow1xCIs39MUmKVer8fm8MqNQfTKuNTsOhnmkbmwY4Ropi0EP0tZqCI4bX3lL6QdKwCLuGb3lHPPbh30Oh7YBmndBokntyLS/XEp2jT4qFK1iEWnYZURw45NDYb9cH7w/DCglRrXaYCFSkVxRLoXqJeBezAnEQpMfDuUA=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1791526705; c=relaxed/simple;
	bh=eyjhEMclw03xo/8402Gw2AMd5tL3tDFmApe57xxcQQU=;
	h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID:
	 MIME-Version:Content-Type; b=t+Fx3PgpNIBUrha3RsPMUt+N8YaDZWj5GehVxDLkm46moK9b/A1dM9ydaKFuINgCgU/ZLwUTu4mlR8xuMNq0vaU76Q2oFVAN8rJ+LIjb7iGjS+flaLBHrjRfHLKbx8y9Qkzq1XJKSbH2hlGr/qS1T9r7pox44fvlmURh5wwlZ+8=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=kN9+z67M; arc=none smtp.client-ip=100.103.45.18
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id D259F1F000FF;
	Fri,  9 Oct 2026 06:18:23 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1791526704;
	bh=iBwxYr2ziMnbq0l3WFfSK57WP0aL3t7jC84o0ZEXv8Y=;
	h=From:To:Cc:Subject:In-Reply-To:References:Date;
	b=kN9+z67MydvZj4Y4Mw04wot1Vw1d9poise2EhZ88gyFItjszD2IqwhHF/HOkxhwXc
	 4BECd3siIfbDkfGox2kJJTnXtCzcQWetuV1yKlFPJjZVV1CdJUCXglsu+8395XJh6d
	 CPrUYIS7ErRtm/KyYD4hUA8WEXHbg4alwXp5wh9N14nZd3Du8Yv6P1ra8HSY7ZHFWX
	 I5eQTjkbazXoVKTwBNQgIQ5nawPdQ3Cn9Rmnz8DPOErBDKqrspNukWKkpORiIK425/
	 nVTlLSfquqDerPCo8jdefvKWLK+VFcZSWphBC2SQiJy+oWnq2Tl3cXXmMwaCRsa1oE
	 Yole7S6/IwreQ==
X-Cc: patches@lists.linux.dev, Randy Dunlap <rdunlap@infradead.org>, Thomas
 Bogendoerfer <tsbogend@alpha.franken.de>, Andrew Lunn
 <andrew+netdev@lunn.ch>, "David S. Miller" <davem@davemloft.net>, Eric
 Dumazet <edumazet@kernel.org>, Jakub Kicinski <kuba@kernel.org>, Paolo
 Abeni <pabeni@redhat.com>
X-In-Reply-To: <20261008183013.3223131-1-rdunlap@infradead.org>
X-Precedence: bulk
X-Mailing-List: netdev@vger.kernel.org
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>