Re: [PATCH] sparc: add missing put_device()

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

 



Hi Ray Sun,

On Tue, Jul 18, 2023 at 04:57:06PM +0800, sunran001@xxxxxxxxxx wrote:
> The of_find_device_by_node() takes a reference to the underlying device
> structure, we should release that reference.
> 
> ./arch/sparc/kernel/of_device_common.c:36:1-7: ERROR: missing
> put_device; call of_find_device_by_node on line 30, but without a
> corresponding object release within this function.
> ./arch/sparc/kernel/of_device_common.c:50:1-7: ERROR: missing
> put_device; call of_find_device_by_node on line 42, but without a
> corresponding object release within this function.
> 
> Signed-off-by: Ran Sun <sunran001@xxxxxxxxxx>

This patch looks OK.
Reviewed-by: Sam Ravnborg <sam@xxxxxxxxxxxx>


The challenge is to find someone to process sparc patches as the current
maintainer is busy with other stuff.
I suggest to find another subsystem with active maintenance as you may
find a higher success rate there to get stuff applied.

And no, I am not in a position to take sparc patches.
Too little time for this :-(

	Sam



[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux