linux/arch/sparc
Alex Shi 9796ba918e sparc64: fix unused variable warning
arch/sparc/mm/init_64.c: In function 'arch_hugetlb_valid_size':
   arch/sparc/mm/init_64.c:361:24: warning: variable 'hv_pgsz_idx'
     set but not used [-Wunused-but-set-variable]
     361 |         unsigned short hv_pgsz_idx;
         |                        ^~~~~~~~~~~

Reported-by: kernel test robot <lkp@intel.com>
Cc: sparclinux@vger.kernel.org
CC: Nitin Gupta <nitin.m.gupta@oracle.com>
Cc: Andreas Larsson <andreas@gaisler.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Alex Shi <alexs@kernel.org>
Reviewed-by: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: Andreas Larsson <andreas@gaisler.com>
2026-02-06 15:16:15 +01:00
..
boot kbuild: Abort make on install failures 2024-07-20 13:34:54 +09:00
configs This update includes the following changes: 2025-12-03 11:28:38 -08:00
crypto lib/crypto: sparc/md5: Migrate optimized code into library 2025-08-26 12:52:28 -04:00
include sparc: don't reference obsolete termio struct for TC* constants 2026-02-06 15:15:53 +01:00
kernel sparc: vio: Replace snprintf with strscpy in vio_create_one 2026-02-06 15:15:09 +01:00
lib sparc: Drop the "-ansi" from the asflags 2025-09-26 16:55:21 +02:00
math-emu
mm sparc64: fix unused variable warning 2026-02-06 15:16:15 +01:00
net Modules changes for v6.10-rc1 2024-05-15 14:05:08 -07:00
power sparc64: Fix prototype warnings in hibernate.c 2024-07-11 15:58:28 +02:00
prom sparc64: Replace deprecated strcpy() with strscpy() in prom_nextprop() 2025-09-26 17:27:06 +02:00
vdso stackleak: Split KSTACK_ERASE_CFLAGS from GCC_PLUGINS_CFLAGS 2025-07-21 21:40:57 -07:00
video arch: Fix name collision with ACPI's video.o 2024-05-20 21:17:06 +00:00
Kbuild kbuild: use more subdir- for visiting subdirectories while cleaning 2021-10-24 13:49:46 +09:00
Kconfig sparc: Implement ARCH_HAS_CC_CAN_LINK 2026-01-26 18:11:49 +01:00
Kconfig.debug sparc: select FRAME_POINTER instead of redefining it 2024-02-16 16:50:26 +01:00
Makefile sparc/build: Put usage of -fcall-used* flags behind cc-option 2024-11-16 09:52:56 +01:00