hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/ide/ide-io-std.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12
23 #include <linux/kernel.h>
34 #include <linux/export.h>
....@@ -172,7 +173,7 @@
172173 u8 mmio = (hwif->host_flags & IDE_HFLAG_MMIO) ? 1 : 0;
173174
174175 if (io_32bit) {
175
- unsigned long uninitialized_var(flags);
176
+ unsigned long flags;
176177
177178 if ((io_32bit & 2) && !mmio) {
178179 local_irq_save(flags);
....@@ -216,7 +217,7 @@
216217 u8 mmio = (hwif->host_flags & IDE_HFLAG_MMIO) ? 1 : 0;
217218
218219 if (io_32bit) {
219
- unsigned long uninitialized_var(flags);
220
+ unsigned long flags;
220221
221222 if ((io_32bit & 2) && !mmio) {
222223 local_irq_save(flags);