Re: Build failures in -next in qcom_common.c

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

 



On 7/13/20 10:48 AM, Mark Brown wrote:
> Since Friday -next has been failing to build various arm and arm64
> configurations with:
> 
> drivers/remoteproc/qcom_common.c:210:9: error: implicit declaration of function 'kzalloc' [-Werror,-Wimplicit-function-declaration]
>         info = kzalloc(sizeof(*info), GFP_KERNEL);
>                ^

That has a trivial fix.  I have contacted Bjorn to find out
whether he's going to do it or whether he wants someone else
to.  Thanks for pointing it out.

					-Alex

> drivers/remoteproc/qcom_common.c:210:7: warning: incompatible integer to pointer conversion assigning to 'struct qcom_ssr_subsystem *' from 'int' [-Wint-conversion]
>         info = kzalloc(sizeof(*info), GFP_KERNEL);
>              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 1 warning and 1 error generated.
> 
> caused by 5abfe5cf0b8358b8ad0 (remoteproc: qcom: Add per subsystem SSR
> notification) which adds a use of kzalloc() without ensuring that it is
> prototyped.
> 




[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux