Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp266267lqa; Sat, 27 Apr 2024 01:15:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWsoR2P3JoPvo1U3S4NKK0dpHRD4NzGslgzV6EB6dPbyqC8cUjVJPSG8A4w0nu857DC0lczzcrOiaKgB3tw3lUgOQimkiiZvIrNcB91gw== X-Google-Smtp-Source: AGHT+IGfIOxtGJeAODyCBKDgaUeLiVxYjJlla20jvKmHUcscE7hfJF00pmcPyd4JxDRoFCaajyHr X-Received: by 2002:a17:906:b7c4:b0:a58:934b:a051 with SMTP id fy4-20020a170906b7c400b00a58934ba051mr3428541ejb.39.1714205706467; Sat, 27 Apr 2024 01:15:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714205706; cv=pass; d=google.com; s=arc-20160816; b=EZgrwBmoZKBqtU7a74MKsvHg60r7GBYsY/XO5ETDn7nY1vEsPVpW2KpBDBeP95h7x1 wb/WW1WWN/ED3Sf4c+IHrpnc2xaSACCwwUdsBYSIl5/aZVvq1eP+FGwTnjfvegzZEYsc s46V8Mi/i6Fg72KnsfKQyFgB8HNg9oBPw9JSk105h/6VyP42qm1rGLTPaagbI9kcKocy Xm08L0FtLoaN0G+nNBsjGVhvSNr8wM3iSkznP7M47sLJL4GgQMnqCdTxpKTH50C8noxj +Hh+q0zF4iUj9+NsqUuqoj6dBXBzyA+bvEz7w4YZfgSv5yC2qcfNDGwf0pLXBAeOmenQ RWuQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-disposition:in-reply-to :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date; bh=AqR0MVOZS1sp4KTRU9hUwlLqKL6wm6S/KKz1FNR6Jts=; fh=zh2p5X1X1G+8SoCr/gyab8W2AwZ1tDbW3XDl0zdgyzw=; b=cPB+hjEdH5xfYzfLZbY6oLniGQ7OFFxdNgNGg0IJeQoD0Ny1UOgvxXPm1uTARxdZnS y6DRBPjz0m0YRjli7cZll30QCEAa0T7yjRBlgK/gF2OLsEKhmRVNHo4mVKOeDU60cpP8 gMSIQjPQTMLjOfHw+HvQ1WmD0APkmPuQwPCOTU8A51/26Y0HcJHhaT41RQIftEgNGcWf eB0XvmPE6/9cJmFcCrG90mUobzHVxpplEus68MYwCaf6wo1oN6Vo7K7gNwtSrJ6FPHIx D77+oUqChImokBPorj4NZ6twG1A4v6ubXBKW96nrWXOJB9DV0qPYemcC7YWpP6CfPkye 6C2g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-nfs+bounces-3044-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-nfs+bounces-3044-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a17-20020a1709066d5100b00a58ed275918si114282ejt.787.2024.04.27.01.15.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Apr 2024 01:15:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs+bounces-3044-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-nfs+bounces-3044-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-nfs+bounces-3044-linux.lists.archive=gmail.com@vger.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 350961F22BF3 for ; Sat, 27 Apr 2024 08:15:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 801AA45009; Sat, 27 Apr 2024 08:14:55 +0000 (UTC) X-Original-To: linux-nfs@vger.kernel.org Received: from us-smtp-delivery-44.mimecast.com (us-smtp-delivery-44.mimecast.com [207.211.30.44]) (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 157F644C61 for ; Sat, 27 Apr 2024 08:14:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=207.211.30.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714205695; cv=none; b=jNpQFIdE39k4zlucvsGjptoxa3ot8/7b8asDhsKSiMwf23FrJTzFHEW2QBgCK9E/0gBA+4v37hi87/L4qOyEmaidNgBPMOynXFTUF+9o/AB5oDyKTiGDecUNM/aGY0dAI+wFLxdIBHQ1e+qiHKf4DOuxKF5829AGWD+yvYSc5qw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714205695; c=relaxed/simple; bh=yonDWqdlxvIDOh++86MACveVtWv+lfo/zS7623cId9Q=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: In-Reply-To:Content-Type:Content-Disposition; b=Dp3n9NWaPR9oDKa9wchVCj/xlTETqxBmzW3+jRdO2zdwa6UgdDBQ+UKG+HDiLje06EoVOcosVUPpYf6a6GyIzkf/pZIFXHzmjYW9MiaXB/dYVy597PosD8qmpYUEQKEj3xeAkEZPzv/TTQVYLok5vkcuvBCd/avL1XRFCKIiPKA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=queasysnail.net; spf=none smtp.mailfrom=queasysnail.net; arc=none smtp.client-ip=207.211.30.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=queasysnail.net Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=queasysnail.net Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-637-ISDaXyS1NyqDVnSv6P_Hvg-1; Sat, 27 Apr 2024 04:14:47 -0400 X-MC-Unique: ISDaXyS1NyqDVnSv6P_Hvg-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.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 mimecast-mx02.redhat.com (Postfix) with ESMTPS id CA54D8001B2; Sat, 27 Apr 2024 08:14:46 +0000 (UTC) Received: from hog (unknown [10.39.193.137]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D2F3B202450F; Sat, 27 Apr 2024 08:14:37 +0000 (UTC) Date: Sat, 27 Apr 2024 10:14:36 +0200 From: Sabrina Dubroca To: Joel Granados Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Alexander Aring , Stefan Schmidt , Miquel Raynal , David Ahern , Steffen Klassert , Herbert Xu , Matthieu Baerts , Mat Martineau , Geliang Tang , Remi Denis-Courmont , Allison Henderson , David Howells , Marc Dionne , Marcelo Ricardo Leitner , Xin Long , Wenjia Zhang , Jan Karcher , "D. Wythe" , Tony Lu , Wen Gu , Trond Myklebust , Anna Schumaker , Chuck Lever , Jeff Layton , Neil Brown , Olga Kornievskaia , Dai Ngo , Tom Talpey , Jon Maloy , Ying Xue , Martin Schiller , Pablo Neira Ayuso , Jozsef Kadlecsik , Florian Westphal , Roopa Prabhu , Nikolay Aleksandrov , Simon Horman , Julian Anastasov , Joerg Reuter , Luis Chamberlain , Kees Cook , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, dccp@vger.kernel.org, linux-wpan@vger.kernel.org, mptcp@lists.linux.dev, linux-hams@vger.kernel.org, linux-rdma@vger.kernel.org, rds-devel@oss.oracle.com, linux-afs@lists.infradead.org, linux-sctp@vger.kernel.org, linux-s390@vger.kernel.org, linux-nfs@vger.kernel.org, tipc-discussion@lists.sourceforge.net, linux-x25@vger.kernel.org, netfilter-devel@vger.kernel.org, coreteam@netfilter.org, bridge@lists.linux.dev, lvs-devel@vger.kernel.org Subject: Re: [PATCH v5 8/8] ax.25: x.25: Remove the now superfluous sentinel elements from ctl_table array Message-ID: References: <20240426-jag-sysctl_remset_net-v5-0-e3b12f6111a6@samsung.com> <20240426-jag-sysctl_remset_net-v5-8-e3b12f6111a6@samsung.com> Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 In-Reply-To: <20240426-jag-sysctl_remset_net-v5-8-e3b12f6111a6@samsung.com> X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.4 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: queasysnail.net Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 2024-04-26, 12:47:00 +0200, Joel Granados via B4 Relay wrote: > diff --git a/net/ax25/ax25_ds_timer.c b/net/ax25/ax25_ds_timer.c > index c4f8adbf8144..8f385d2a7628 100644 > --- a/net/ax25/ax25_ds_timer.c > +++ b/net/ax25/ax25_ds_timer.c > @@ -49,12 +49,16 @@ void ax25_ds_del_timer(ax25_dev *ax25_dev) > =20 > void ax25_ds_set_timer(ax25_dev *ax25_dev) > { > +#ifdef CONFIG_AX25_DAMA_SLAVE Is this really needed? Looks like this file is only compiled when this config is set: grep ax25_ds_timer net/ax25/Makefile ax25-$(CONFIG_AX25_DAMA_SLAVE) +=3D ax25_ds_in.o ax25_ds_subr.o ax25_ds_tim= er.o > =09if (ax25_dev =3D=3D NULL)=09=09/* paranoia */ > =09=09return; > =20 > =09ax25_dev->dama.slave_timeout =3D > =09=09msecs_to_jiffies(ax25_dev->values[AX25_VALUES_DS_TIMEOUT]) / 10; > =09mod_timer(&ax25_dev->dama.slave_timer, jiffies + HZ); > +#else > +=09return; > +#endif > } --=20 Sabrina