Re: [PATCH v2] ARM: milbeaut: Add missing of_node_put() call in m10v_smp_init()

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

 



> The variable np in function m10v_smp_init takes the return value
> of of_find_compatible_node, which gets a node but does not put it.

Such information is useful.


> If this node is not put it may cause a memory leak.

Is the reference management generally improvable for this function implementation?


Will the tag “Fixes” become helpful for the commit message?

Regards,
Markus




[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux