* [staging:staging-next 15/18] drivers/staging/ipack/carriers/tpci200.c:190:2: error: implicit declara
@ 2012-10-20 11:08 Fengguang Wu
2012-10-22 7:36 ` Samuel Iglesias Gonsalvez
2012-10-22 7:38 ` [staging:staging-next 15/18] drivers/staging/ipack/carriers/tpci200.c:190:2: error: implicit dec Samuel Iglesias Gonsálvez
0 siblings, 2 replies; 4+ messages in thread
From: Fengguang Wu @ 2012-10-20 11:08 UTC (permalink / raw)
To: kernel-janitors
Hi Jens,
FYI, kernel build failed on
tree: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git staging-next
head: 1bc7c1c71d7f84baff254868222312bf14915128
commit: 052c4cfc92f5ce6334fdaf6926e7c177bc1cc099 [15/18] staging: ipack: Rename bridges to carriers.
config: parisc-allyesconfig # make ARCH=parisc allyesconfig
Probably need a
#include <linux/slab.h>
All error/warnings:
drivers/staging/ipack/carriers/tpci200.c: In function 'tpci200_free_irq':
drivers/staging/ipack/carriers/tpci200.c:190:2: error: implicit declaration of function 'kfree' [-Werror=implicit-function-declaration]
drivers/staging/ipack/carriers/tpci200.c: In function 'tpci200_request_irq':
drivers/staging/ipack/carriers/tpci200.c:217:2: error: implicit declaration of function 'kzalloc' [-Werror=implicit-function-declaration]
drivers/staging/ipack/carriers/tpci200.c:217:11: warning: assignment makes pointer from integer without a cast [enabled by default]
drivers/staging/ipack/carriers/tpci200.c: In function 'tpci200_install':
drivers/staging/ipack/carriers/tpci200.c:457:17: warning: assignment makes pointer from integer without a cast [enabled by default]
drivers/staging/ipack/carriers/tpci200.c: In function 'tpci200_create_device':
drivers/staging/ipack/carriers/tpci200.c:482:3: warning: initialization makes pointer from integer without a cast [enabled by default]
drivers/staging/ipack/carriers/tpci200.c: In function 'tpci200_pci_probe':
drivers/staging/ipack/carriers/tpci200.c:505:10: warning: assignment makes pointer from integer without a cast [enabled by default]
drivers/staging/ipack/carriers/tpci200.c:509:16: warning: assignment makes pointer from integer without a cast [enabled by default]
cc1: some warnings being treated as errors
vim +190 drivers/staging/ipack/carriers/tpci200.c
40733ed7 drivers/staging/ipack/bridges/tpci200.c Jens Taprogge 2012-09-12 184
40733ed7 drivers/staging/ipack/bridges/tpci200.c Jens Taprogge 2012-09-12 185 tpci200_disable_irq(tpci200, dev->slot);
40733ed7 drivers/staging/ipack/bridges/tpci200.c Jens Taprogge 2012-09-12 186 slot_irq = tpci200->slots[dev->slot].irq;
40733ed7 drivers/staging/ipack/bridges/tpci200.c Jens Taprogge 2012-09-12 187 /* uninstall handler */
40733ed7 drivers/staging/ipack/bridges/tpci200.c Jens Taprogge 2012-09-12 188 RCU_INIT_POINTER(tpci200->slots[dev->slot].irq, NULL);
40733ed7 drivers/staging/ipack/bridges/tpci200.c Jens Taprogge 2012-09-12 189 synchronize_rcu();
40733ed7 drivers/staging/ipack/bridges/tpci200.c Jens Taprogge 2012-09-12 @190 kfree(slot_irq);
40733ed7 drivers/staging/ipack/bridges/tpci200.c Jens Taprogge 2012-09-12 191 mutex_unlock(&tpci200->mutex);
40733ed7 drivers/staging/ipack/bridges/tpci200.c Jens Taprogge 2012-09-12 192 return 0;
40733ed7 drivers/staging/ipack/bridges/tpci200.c Jens Taprogge 2012-09-12 193 }
The code at line 190 was first introduced by commit:
40733ed Staging: ipack/bridges/tpci200: move tpci200_free_irq() and tpci200_request_irq()
---
0-DAY kernel build testing backend Open Source Technology Center
Fengguang Wu, Yuanhan Liu Intel Corporation
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] Staging: ipack/carriers: fix missing include linux/slab.h
2012-10-20 11:08 [staging:staging-next 15/18] drivers/staging/ipack/carriers/tpci200.c:190:2: error: implicit declara Fengguang Wu
@ 2012-10-22 7:36 ` Samuel Iglesias Gonsalvez
2012-10-22 7:38 ` [staging:staging-next 15/18] drivers/staging/ipack/carriers/tpci200.c:190:2: error: implicit dec Samuel Iglesias Gonsálvez
1 sibling, 0 replies; 4+ messages in thread
From: Samuel Iglesias Gonsalvez @ 2012-10-22 7:36 UTC (permalink / raw)
To: Greg Kroah-Hartman, Fengguang Wu
Cc: devel, Jens Taprogge, industrypack-devel, kernel-janitors,
linux-kernel, Samuel Iglesias Gonsalvez
Kernel build failed for parisc architecture:
drivers/staging/ipack/carriers/tpci200.c: In function 'tpci200_free_irq':
drivers/staging/ipack/carriers/tpci200.c:190:2: error: implicit declaration of
function 'kfree' [-Werror=implicit-function-declaration]
drivers/staging/ipack/carriers/tpci200.c: In function 'tpci200_request_irq':
drivers/staging/ipack/carriers/tpci200.c:217:2: error: implicit declaration of
function 'kzalloc' [-Werror=implicit-function-declaration]
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
---
drivers/staging/ipack/carriers/tpci200.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/ipack/carriers/tpci200.c b/drivers/staging/ipack/carriers/tpci200.c
index 829fd1a..24e8e6d 100644
--- a/drivers/staging/ipack/carriers/tpci200.c
+++ b/drivers/staging/ipack/carriers/tpci200.c
@@ -12,6 +12,7 @@
*/
#include <linux/module.h>
+#include <linux/slab.h>
#include "tpci200.h"
static const u16 tpci200_status_timeout[] = {
--
1.7.10.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] Staging: ipack/carriers: fix missing include linux/slab.h
@ 2012-10-22 7:36 ` Samuel Iglesias Gonsalvez
0 siblings, 0 replies; 4+ messages in thread
From: Samuel Iglesias Gonsalvez @ 2012-10-22 7:36 UTC (permalink / raw)
To: Greg Kroah-Hartman, Fengguang Wu
Cc: devel, Jens Taprogge, industrypack-devel, kernel-janitors,
linux-kernel, Samuel Iglesias Gonsalvez
Kernel build failed for parisc architecture:
drivers/staging/ipack/carriers/tpci200.c: In function 'tpci200_free_irq':
drivers/staging/ipack/carriers/tpci200.c:190:2: error: implicit declaration of
function 'kfree' [-Werror=implicit-function-declaration]
drivers/staging/ipack/carriers/tpci200.c: In function 'tpci200_request_irq':
drivers/staging/ipack/carriers/tpci200.c:217:2: error: implicit declaration of
function 'kzalloc' [-Werror=implicit-function-declaration]
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
---
drivers/staging/ipack/carriers/tpci200.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/ipack/carriers/tpci200.c b/drivers/staging/ipack/carriers/tpci200.c
index 829fd1a..24e8e6d 100644
--- a/drivers/staging/ipack/carriers/tpci200.c
+++ b/drivers/staging/ipack/carriers/tpci200.c
@@ -12,6 +12,7 @@
*/
#include <linux/module.h>
+#include <linux/slab.h>
#include "tpci200.h"
static const u16 tpci200_status_timeout[] = {
--
1.7.10.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [staging:staging-next 15/18] drivers/staging/ipack/carriers/tpci200.c:190:2: error: implicit dec
2012-10-20 11:08 [staging:staging-next 15/18] drivers/staging/ipack/carriers/tpci200.c:190:2: error: implicit declara Fengguang Wu
2012-10-22 7:36 ` Samuel Iglesias Gonsalvez
@ 2012-10-22 7:38 ` Samuel Iglesias Gonsálvez
1 sibling, 0 replies; 4+ messages in thread
From: Samuel Iglesias Gonsálvez @ 2012-10-22 7:38 UTC (permalink / raw)
To: kernel-janitors
[-- Attachment #1: Type: text/plain, Size: 577 bytes --]
Hello Fengguang,
On Sat, 2012-10-20 at 19:08 +0800, Fengguang Wu wrote:
> Hi Jens,
>
> FYI, kernel build failed on
>
> tree: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git staging-next
> head: 1bc7c1c71d7f84baff254868222312bf14915128
> commit: 052c4cfc92f5ce6334fdaf6926e7c177bc1cc099 [15/18] staging: ipack: Rename bridges to carriers.
> config: parisc-allyesconfig # make ARCH=parisc allyesconfig
>
> Probably need a
>
> #include <linux/slab.h>
Thanks for your report. I sent a fix for this issue.
Best regards,
Sam
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-10-22 7:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-20 11:08 [staging:staging-next 15/18] drivers/staging/ipack/carriers/tpci200.c:190:2: error: implicit declara Fengguang Wu
2012-10-22 7:36 ` [PATCH] Staging: ipack/carriers: fix missing include linux/slab.h Samuel Iglesias Gonsalvez
2012-10-22 7:36 ` Samuel Iglesias Gonsalvez
2012-10-22 7:38 ` [staging:staging-next 15/18] drivers/staging/ipack/carriers/tpci200.c:190:2: error: implicit dec Samuel Iglesias Gonsálvez
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.