public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
* Build failures in -next in qcom_common.c
@ 2020-07-13 15:48 Mark Brown
  2020-07-13 16:08 ` Alex Elder
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2020-07-13 15:48 UTC (permalink / raw)
  To: Alex Elder, Siddharth Gupta, Rishabh Bhatnagar, Bjorn Andersson
  Cc: linux-arm-kernel, linux-next

[-- Attachment #1: Type: text/plain, Size: 744 bytes --]

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);
               ^
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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Build failures in -next in qcom_common.c
  2020-07-13 15:48 Build failures in -next in qcom_common.c Mark Brown
@ 2020-07-13 16:08 ` Alex Elder
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Elder @ 2020-07-13 16:08 UTC (permalink / raw)
  To: Mark Brown, Siddharth Gupta, Rishabh Bhatnagar, Bjorn Andersson
  Cc: linux-arm-kernel, linux-next

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.
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-13 16:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-13 15:48 Build failures in -next in qcom_common.c Mark Brown
2020-07-13 16:08 ` Alex Elder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox