From nobody Mon Oct 6 17:06:22 2025 Received: from mail.zytor.com (terminus.zytor.com [198.137.202.136]) (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 B645A1E832E; Fri, 18 Jul 2025 21:35:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.136 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752874521; cv=none; b=bHXFPmokQw3ZlqJCcEshzdTl+ycmhUxTRETb56qZWb5gn7M8KXQWe/7kpQEjiO9CJRMzmKEygeLcv8Xeh5vGOdAPq11X84jpCdLrmkFsCuSIgMRuZ+bw9EPmIdTZ2VZbUo2O0beHxTRtc6Nuf8z7Cvv46Gn3Nr28/uAzpDZZyOU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752874521; c=relaxed/simple; bh=NXPmr3BOE2u5fhRNvI0cqLh8kd9rVIcOhU8I/rc0IfU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ffc3lpriEMgoChkwa7kiRMFadiRn6FU4wcRs3cqt4n6iVzbIuKbLvkOxWdnNrc9RXw65MhEhVBPl/mTmCrIasMXuSDulxlOpuVpak1lPsBeHovc1NzEWEwU0ZN9uzLiBC9j5V0ww+4SbQyf6iWBFPmn/yn8En6Wx5i+ZwHjd9H0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=zytor.com; spf=pass smtp.mailfrom=zytor.com; dkim=pass (2048-bit key) header.d=zytor.com header.i=@zytor.com header.b=DSCKhfYx; arc=none smtp.client-ip=198.137.202.136 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=zytor.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=zytor.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=zytor.com header.i=@zytor.com header.b="DSCKhfYx" Received: from mail.zytor.com ([IPv6:2601:646:8081:9482:197f:c1e5:8ae9:2d06]) (authenticated bits=0) by mail.zytor.com (8.18.1/8.17.1) with ESMTPSA id 56ILX0sl2795198 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 18 Jul 2025 14:33:15 -0700 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.zytor.com 56ILX0sl2795198 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zytor.com; s=2025062101; t=1752874399; bh=NhtjXHm8n19JlB0jzDbzbq1BDP9/2sJrEr7ZMM4ZOgY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DSCKhfYxOzSL+px0MZ4TAnvg9uQlNuCGi4G73+n+wLx8Q7YavwZc2Px2zSXZTQto3 1plvjh0/sLhIWPgZ22widI7khU7thmRtxGpmZ8Vozu1xui9m2wBFjOpBYeIPY3sW0v LIxvVM/18kTHW4mYpl9cD6VppG2BnuROjoT9VWHPmo+4hEPK8d551nRF9Xzr7B1Zdz bgBYSod1ouE0y6Zq9mS6sYis6nfVI2XP6tVkzVjrqavrvI2lGuHnjfJA9Nmvn0yURT ExMFs5//bPncOz5SZVUb0vdGel503WRCiJcGv/42xy9Cau2hsrD3sETZgg1DtC4ffC nhPb+bff8AJ6g== From: "H. Peter Anvin" To: Cc: "H. Peter Anvin" , =?UTF-8?q?Eugenio=20P=C3=A9rez?= , =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= , "Michael S. Tsirkin" , Al Viro , Alexei Starovoitov , Alexey Dobriyan , Andrew Morton , Andrii Nakryiko , Arnd Bergmann , Borislav Petkov , Cong Wang , Dan Williams , Daniel Borkmann , Dave Hansen , David Laight , David Lechner , Dinh Nguyen , Eduard Zingerman , Gatlin Newhouse , Hao Luo , Ingo Molnar , Linus Torvalds , Jakub Sitnicki , Jan Hendrik Farr , Jason Wang , Jiri Olsa , John Fastabend , Jonathan Cameron , Josh Poimboeuf , KP Singh , Kees Cook , Luc Van Oostenryck , Marc Herbert , Martin KaFai Lau , Mateusz Guzik , Michal Luczaj , Miguel Ojeda , Mykola Lysenko , NeilBrown , Peter Zijlstra , Przemek Kitszel , Sami Tolvanen , Shuah Khan , Song Liu , Stanislav Fomichev , Thomas Gleixner , Thorsten Blum , Uros Bizjak , Xuan Zhuo , Yafang Shao , Ye Bin , Yonghong Song , Yufeng Wang , bpf@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-sparse@vger.kernel.org, virtualization@lists.linux.dev, x86@kernel.org Subject: [PATCH 3/7] fs/proc: replace "__auto_type" with "auto" Date: Fri, 18 Jul 2025 14:32:46 -0700 Message-ID: <20250718213252.2384177-4-hpa@zytor.com> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20250718213252.2384177-1-hpa@zytor.com> References: <20250718213252.2384177-1-hpa@zytor.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 Content-Type: text/plain; charset="utf-8" Replace uses of "__auto_type" in fs/proc/inode.c with "auto". Signed-off-by: H. Peter Anvin (Intel) Reviewed-by: Alexey Dobriyan --- fs/proc/inode.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/fs/proc/inode.c b/fs/proc/inode.c index 3604b616311c..e5b150e70166 100644 --- a/fs/proc/inode.c +++ b/fs/proc/inode.c @@ -303,7 +303,7 @@ static ssize_t proc_reg_read_iter(struct kiocb *iocb, s= truct iov_iter *iter) =20 static ssize_t pde_read(struct proc_dir_entry *pde, struct file *file, cha= r __user *buf, size_t count, loff_t *ppos) { - __auto_type read =3D pde->proc_ops->proc_read; + auto read =3D pde->proc_ops->proc_read; if (read) return read(file, buf, count, ppos); return -EIO; @@ -325,7 +325,7 @@ static ssize_t proc_reg_read(struct file *file, char __= user *buf, size_t count, =20 static ssize_t pde_write(struct proc_dir_entry *pde, struct file *file, co= nst char __user *buf, size_t count, loff_t *ppos) { - __auto_type write =3D pde->proc_ops->proc_write; + auto write =3D pde->proc_ops->proc_write; if (write) return write(file, buf, count, ppos); return -EIO; @@ -347,7 +347,7 @@ static ssize_t proc_reg_write(struct file *file, const = char __user *buf, size_t =20 static __poll_t pde_poll(struct proc_dir_entry *pde, struct file *file, st= ruct poll_table_struct *pts) { - __auto_type poll =3D pde->proc_ops->proc_poll; + auto poll =3D pde->proc_ops->proc_poll; if (poll) return poll(file, pts); return DEFAULT_POLLMASK; @@ -369,7 +369,7 @@ static __poll_t proc_reg_poll(struct file *file, struct= poll_table_struct *pts) =20 static long pde_ioctl(struct proc_dir_entry *pde, struct file *file, unsig= ned int cmd, unsigned long arg) { - __auto_type ioctl =3D pde->proc_ops->proc_ioctl; + auto ioctl =3D pde->proc_ops->proc_ioctl; if (ioctl) return ioctl(file, cmd, arg); return -ENOTTY; @@ -392,7 +392,7 @@ static long proc_reg_unlocked_ioctl(struct file *file, = unsigned int cmd, unsigne #ifdef CONFIG_COMPAT static long pde_compat_ioctl(struct proc_dir_entry *pde, struct file *file= , unsigned int cmd, unsigned long arg) { - __auto_type compat_ioctl =3D pde->proc_ops->proc_compat_ioctl; + auto compat_ioctl =3D pde->proc_ops->proc_compat_ioctl; if (compat_ioctl) return compat_ioctl(file, cmd, arg); return -ENOTTY; @@ -414,7 +414,7 @@ static long proc_reg_compat_ioctl(struct file *file, un= signed int cmd, unsigned =20 static int pde_mmap(struct proc_dir_entry *pde, struct file *file, struct = vm_area_struct *vma) { - __auto_type mmap =3D pde->proc_ops->proc_mmap; + auto mmap =3D pde->proc_ops->proc_mmap; if (mmap) return mmap(file, vma); return -EIO; @@ -497,7 +497,7 @@ static int proc_reg_open(struct inode *inode, struct fi= le *file) if (!use_pde(pde)) return -ENOENT; =20 - __auto_type release =3D pde->proc_ops->proc_release; + auto release =3D pde->proc_ops->proc_release; if (release) { pdeo =3D kmem_cache_alloc(pde_opener_cache, GFP_KERNEL); if (!pdeo) { @@ -534,7 +534,7 @@ static int proc_reg_release(struct inode *inode, struct= file *file) struct pde_opener *pdeo; =20 if (pde_is_permanent(pde)) { - __auto_type release =3D pde->proc_ops->proc_release; + auto release =3D pde->proc_ops->proc_release; if (release) { return release(inode, file); } --=20 2.50.1