From nobody Mon Feb 9 06:25:35 2026 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 01E773277A9 for ; Mon, 22 Dec 2025 22:30:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766442662; cv=none; b=jdWEiEyC6U38cc5oqMjpFlOV2kqbCZmXWwrPUrFAPmhTqNhbWVn4HLFhjmNBGZBkcL5xi4HBjDVK4DsrT7OIbc2SmZH0MdVt0VnbrSP8dtFcD/7k9hcUZPA7nK+2RJo1lmZMfF5WHP4tGYSf1+ajBoAbAr7g3EOi2c40WwEb+1A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766442662; c=relaxed/simple; bh=+Wo+l71IAU0AqaO6ZoV2OG/pvIDGGYqR2GhGhU27Y68=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=i1XAiBqQEFUaBFb1lsS+FIFafq5W8xNw+NdBbOon2qF1LgU6Qq0zUThWx0f1/A6GO217DdWOIKT/qhlUXDelvOJUZqzdoY2nmjAPvgVCzBPqB7vc/iWiX5X+cAHEbZ9UB1cI0VEzA9wWYtkFA4pixH6dBUjczqOX4TGAbNoDTw4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=fa1AtpO8; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="fa1AtpO8" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1766442658; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=U+sZRfUhZLYVTFCknqCPjwaISkbiMEC9lHaFs7CeHiY=; b=fa1AtpO8pbbbLBb188ODdL3hmuq4tp2CqZrhG1er4iymI30CQd+ohnvBtCxQ4KzLUEQVXG 4vpQbQJEjozkgmMUy1yrFbvBl0zfg2t69QwVVAHM97eNvM8PbfkjId4f0bdEY1KNshFqx1 qa86rpMzIJqjFuNLuLXglhjaVZgS14Q= Received: from mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-235-8l_MDOCeP1uPcFSvSd8H2g-1; Mon, 22 Dec 2025 17:30:56 -0500 X-MC-Unique: 8l_MDOCeP1uPcFSvSd8H2g-1 X-Mimecast-MFC-AGG-ID: 8l_MDOCeP1uPcFSvSd8H2g_1766442655 Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 664BA19560B2; Mon, 22 Dec 2025 22:30:55 +0000 (UTC) Received: from warthog.procyon.org.uk.com (unknown [10.42.28.4]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 8F6DC30001A2; Mon, 22 Dec 2025 22:30:53 +0000 (UTC) From: David Howells To: Steve French Cc: David Howells , Paulo Alcantara , Enzo Matsumiya , linux-cifs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 14/37] cifs: Scripted clean up fs/smb/client/cifs_swn.h Date: Mon, 22 Dec 2025 22:29:39 +0000 Message-ID: <20251222223006.1075635-15-dhowells@redhat.com> In-Reply-To: <20251222223006.1075635-1-dhowells@redhat.com> References: <20251222223006.1075635-1-dhowells@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 Content-Type: text/plain; charset="utf-8" Remove externs, correct argument names and reformat declarations. Signed-off-by: David Howells cc: Steve French cc: Paulo Alcantara cc: Enzo Matsumiya cc: linux-cifs@vger.kernel.org cc: linux-fsdevel@vger.kernel.org cc: linux-kernel@vger.kernel.org --- fs/smb/client/cifs_swn.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fs/smb/client/cifs_swn.h b/fs/smb/client/cifs_swn.h index 8a9d2a5c9077..955d07b69450 100644 --- a/fs/smb/client/cifs_swn.h +++ b/fs/smb/client/cifs_swn.h @@ -14,15 +14,15 @@ struct sk_buff; struct genl_info; =20 #ifdef CONFIG_CIFS_SWN_UPCALL -extern int cifs_swn_register(struct cifs_tcon *tcon); +int cifs_swn_register(struct cifs_tcon *tcon); =20 -extern int cifs_swn_unregister(struct cifs_tcon *tcon); +int cifs_swn_unregister(struct cifs_tcon *tcon); =20 -extern int cifs_swn_notify(struct sk_buff *skb, struct genl_info *info); +int cifs_swn_notify(struct sk_buff *skb, struct genl_info *info); =20 -extern void cifs_swn_dump(struct seq_file *m); +void cifs_swn_dump(struct seq_file *m); =20 -extern void cifs_swn_check(void); +void cifs_swn_check(void); =20 static inline bool cifs_swn_set_server_dstaddr(struct TCP_Server_Info *ser= ver) {