Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'mips-fixes_6.19_1' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux

Pull MIPS fixes from Thomas Bogendoerfer:

- Fix build error for Alchemy

- Fix reference leak

* tag 'mips-fixes_6.19_1' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux:
MIPS: Fix a reference leak bug in ip22_check_gio()
MIPS: Alchemy: Remove bogus static/inline specifiers

+3 -3
+1 -2
arch/mips/alchemy/common/setup.c
··· 94 94 return phys_addr; 95 95 } 96 96 97 - static inline unsigned long io_remap_pfn_range_pfn(unsigned long pfn, 98 - unsigned long size) 97 + unsigned long io_remap_pfn_range_pfn(unsigned long pfn, unsigned long size) 99 98 { 100 99 phys_addr_t phys_addr = fixup_bigphys_addr(pfn << PAGE_SHIFT, size); 101 100
+2 -1
arch/mips/sgi-ip22/ip22-gio.c
··· 372 372 gio_dev->resource.flags = IORESOURCE_MEM; 373 373 gio_dev->irq = irq; 374 374 dev_set_name(&gio_dev->dev, "%d", slotno); 375 - gio_device_register(gio_dev); 375 + if (gio_device_register(gio_dev)) 376 + gio_dev_put(gio_dev); 376 377 } else 377 378 printk(KERN_INFO "GIO: slot %d : Empty\n", slotno); 378 379 }