Re: [PATCH v3] irqchip/renesas-rzg2l: Fix missing put_device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> rzg2l_irqc_common_init calls of_find_device_by_node, but the
> corresponding put_device call is missing.
>
> Make sure we call put_device when failing.
>
> "make coccicheck" will complain about a missing put_device before
> successfully returning from rzg2l_irqc_common_init, however, that's
> a false positive.
>
> Fixes: 3fed09559cd8 ("irqchip: Add RZ/G2L IA55 Interrupt Controller driver")

Might the application of scope-based resource management become more
interesting accordingly?

Regards,
Markus





[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux