Re: [PATCH v6] soc: qcom: apr: Add check for idr_alloc and of_property_read_string_index

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

 



On Mon, 7 Nov 2022 09:44:03 +0800, Jiasheng Jiang wrote:
> As idr_alloc() and of_property_read_string_index() can return negative
> numbers, it should be better to check the return value and deal with
> the exception.
> Therefore, it should be better to use goto statement to stop and return
> error.
> 
> 
> [...]

Applied, thanks!

[1/1] soc: qcom: apr: Add check for idr_alloc and of_property_read_string_index
      commit: 6d7860f5750d73da2fa1a1f6c9405058a593fa32

Best regards,
-- 
Bjorn Andersson <andersson@xxxxxxxxxx>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux