Skip to contentSkip to conversation

Patch "staging: wilc1000: fix kbuild test robot error" has been added to the 4.4-stable tree

PATCH [email protected] 1 participant 1 message Feb 23, 2018

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

staging: wilc1000: fix kbuild test robot error

to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
staging-wilc1000-fix-kbuild-test-robot-error.patch
and it can be found in the queue-4.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From b22fa80cdbf4ff1056ecddb4efdcc0ede5f5f422 Mon Sep 17 00:00:00 2001

From: Glen Lee <[email protected]>
Date: Thu, 5 Nov 2015 16:12:08 +0900
Subject: staging: wilc1000: fix kbuild test robot error

From: Glen Lee <[email protected]>

commit b22fa80cdbf4ff1056ecddb4efdcc0ede5f5f422 upstream.

This patch fixes build warning and error reported by kbuild test robot. It is fixed by including netdevice.h.

Quoted 1 line
Quoted 1 line

drivers/staging/wilc1000/wilc_wlan_if.h:940:27: warning: 'struct net_device'

declared inside parameter list

    int wilc_wlan_init(struct net_device *dev, wilc_wlan_inp_t *inp);
Quoted 1 line
Quoted 1 line

drivers/staging/wilc1000/wilc_wlan_if.h:940:27: warning: its scope is only

this definition or declaration, which is probably not what you want

Quoted 1 line
Quoted 1 line

drivers/staging/wilc1000/wilc_wlan.c:1954:5: error: conflicting types for

'wilc_wlan_init'
int wilc_wlan_init(struct net_device *dev, wilc_wlan_inp_t *inp)

Fixes 30135ce ("staging: wilc1000: wilc_wlan_init: add argument struct net_device")
---
 drivers/staging/wilc1000/wilc_wlan_if.h |    1 +
 1 file changed, 1 insertion(+)
drivers/staging/wilc1000/wilc_wlan_if.h +1 -0
@@ -12,6 +12,7 @@
 
 #include <linux/semaphore.h>
 #include "linux_wlan_common.h"
+#include <linux/netdevice.h>
 
 /********************************************
  *

Patches currently in stable-queue which might be from [email protected] are

queue-4.4/staging-wilc1000-fix-kbuild-test-robot-error.patch