All of lore.kernel.org
 help / color / mirror / Atom feed
* Build failures in -next in qcom_common.c
@ 2020-07-13 15:48 ` Mark Brown
  0 siblings, 0 replies; 4+ 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] 4+ messages in thread

* Build failures in -next in qcom_common.c
@ 2020-07-13 15:48 ` Mark Brown
  0 siblings, 0 replies; 4+ 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-next, linux-arm-kernel


[-- Attachment #1.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 #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: Build failures in -next in qcom_common.c
  2020-07-13 15:48 ` Mark Brown
@ 2020-07-13 16:08   ` Alex Elder
  -1 siblings, 0 replies; 4+ 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] 4+ messages in thread

* Re: Build failures in -next in qcom_common.c
@ 2020-07-13 16:08   ` Alex Elder
  0 siblings, 0 replies; 4+ 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-next, linux-arm-kernel

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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

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

Thread overview: 4+ 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 15:48 ` Mark Brown
2020-07-13 16:08 ` Alex Elder
2020-07-13 16:08   ` Alex Elder

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.