proc: use __auto_type more
authorAlexey Dobriyan <adobriyan@gmail.com>
Sun, 8 Sep 2024 09:26:22 +0000 (12:26 +0300)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 17 Sep 2024 08:11:20 +0000 (01:11 -0700)
commit13309764720624caf2c5afba99b198f3f9fcd9f0
treee9282f657dbf93b343054cb636f6d2ce70f6e472
parentdab2214fec6057d2ba816bba1d30aca73c08ad68
proc: use __auto_type more

Switch away from quite chatty declarations using typeof_member().

In theory this is faster to compile too because there is no macro
expansion and there is less type checking.

Link: https://lkml.kernel.org/r/81bf02fd-8724-4f4d-a2bb-c59620b7d716@p183
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/proc/inode.c