Hi Punit,
[auto build test WARNING on staging/staging-testing]
[also build test WARNING on next-20151106]
[cannot apply to v4.3]
url:
https://github.com/0day-ci/linux/commits/Punit-Vara/Staging-wilc1000-Declare-wilc-in-init_wilc_driver-to-fix-build-error/20151107-060255
config: i386
On Fri, Nov 06, 2015 at 02:45:22PM -0800, Greg KH wrote:
> On Fri, Nov 06, 2015 at 06:39:58PM +0900, Glen Lee wrote:
> > hif_sdio and hif_spi objects are compiled all the time even though one of
> > SPI
> > or SDIO is selected. This patch separates hif_sdio and hif_spi into
> > different
> >
On Sat, Nov 07, 2015 at 03:29:23AM +0530, Punit Vara wrote:
> This patch is to the linux_wlan.c file that fixes declaration of *wilc
> to remove following error while building it.
>
> make drivers/staging/wilc1000/linux_wlan.o
> drivers/staging/wilc1000/linux_wlan.c:1824:24: error: ‘wilc’
On Fri, Nov 06, 2015 at 06:39:58PM +0900, Glen Lee wrote:
> hif_sdio and hif_spi objects are compiled all the time even though one of SPI
> or SDIO is selected. This patch separates hif_sdio and hif_spi into different
> modules using ifdef define.
> After rework SPI and SDIO modules with only one
Amitkumar Karwar writes:
> Thanks for the logs. We found one bug in our code. We expect vendor
> specific IE at the beginning of IE buffer otherwise connection is
> rejected.
> We will prepare a fix and get back.
Thanks a lot for making my laptop usable again. I'll be
We check for overflow here, but we don't check for underflow so it
causes a static checker warning.
Fixes: fb9987d0f748 ('ath9k_htc: Support for AR9271 chipset.')
Signed-off-by: Dan Carpenter
diff --git a/drivers/net/wireless/ath/ath9k/htc_hst.c
This patch changes return type of host_int_add_station from s32 to int.
The result variable gets return value from wilc_mq_send that has return
type of int. It should be changed return type of this function as well
as data type of result variable.
Signed-off-by: Chaehyun Lim
This patch changes pu8MacAddr to mac_addr that is second argument of
this function to avoid camelcase.
Signed-off-by: Chaehyun Lim
---
V3: rebase latest staging-testing.
drivers/staging/wilc1000/host_interface.c | 6 +++---
drivers/staging/wilc1000/host_interface.h | 2
This patch renames pstrDelStationMsg to del_sta_info to avoid camelcase.
Signed-off-by: Chaehyun Lim
---
V3: rebase latest staging-testing.
drivers/staging/wilc1000/host_interface.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
This patch changes return type of host_int_del_beacon from s32 to int.
The result variable gets return value from wilc_mq_send that has return
type of int. It should be changed return type of this function as well
as data type of result variable.
Signed-off-by: Chaehyun Lim
This patch changes struct host_if_drv of host_int_del_beacon function
declaration from hWFIDrv to hif_drv.
With this change, first parameter name of this function declaration and
definition has same name as hif_drv.
Signed-off-by: Chaehyun Lim
---
V3: rebase latest
This patch changes return type of host_int_del_station from s32 to int.
The result variable gets return value from wilc_mq_send that has return
type of int. It should be changed return type of this function as well
as data type of result variable.
Signed-off-by: Chaehyun Lim
This patch changes struct host_if_drv of host_int_del_station function
declaration from hWFIDrv to hif_drv.
With this change, first parameter name of this function declaration and
definition has same name as hif_drv.
Signed-off-by: Chaehyun Lim
---
V3: rebase latest
Instead of using rates variable, it is used as add_sta_info->rates
directly.
Signed-off-by: Chaehyun Lim
---
V3: rebase latest staging-testing.
drivers/staging/wilc1000/host_interface.c | 9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git
This patch changes struct host_if_drv of host_int_add_station function
declaration from hWFIDrv to hif_drv.
With this change, first parameter of this function declaration and
definition has same name as hif_drv.
Signed-off-by: Chaehyun Lim
---
V3: rebase latest
This patch renames pstrAddStationMsg to add_sta_info to avoid camelcase.
Signed-off-by: Chaehyun Lim
---
V3: rebase latest staging-testing.
drivers/staging/wilc1000/host_interface.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git
This patch renames pstrStaParams to sta_param to avoid camelcase.
Signed-off-by: Chaehyun Lim
---
V3: rebase latest staging-testing.
drivers/staging/wilc1000/host_interface.c | 6 +++---
drivers/staging/wilc1000/host_interface.h | 2 +-
2 files changed, 4 insertions(+),
This patch replaces kmalloc followed by memcpy with kmemdup.
Signed-off-by: Chaehyun Lim
---
V3: rebase latest staging-testing.
drivers/staging/wilc1000/host_interface.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git
From: Johannes Berg
There's no point in printing the mpath pointer since it can't
be used for anything - print the MAC address instead (like in
the forwarding case.)
Signed-off-by: Johannes Berg
---
net/mac80211/mesh_pathtbl.c | 4 ++--
1 file
Hello Samuel,
This mail is in reference of your below feedback.
>Do you really need a specific IRQ handler for that ? Can't you do it from the
>threaded interrupt context ?
After some experiments at our end, we found that we are not able to remove
small ISR (hardirq context) from driver
wilc1000 sdio has two different files such as wilc_sdio and linux_wlan_sdio.
linux_wlan_sdio is for linux and wilc_sdio is implemented os independently at
the beginning. The drivers is now for LINUX so we will integrate them into one
file like spi.c and sdio.c.
This is first series to tidy up
This patch removes function pointer sdio_cmd52 of wilc_sdio_t and just call
the function directly.
Signed-off-by: Glen Lee
---
drivers/staging/wilc1000/wilc_sdio.c | 53 ++--
1 file changed, 26 insertions(+), 27 deletions(-)
diff --git
This patch removes spi_max_speed of wilc_wlan_io_func_t which is not used
anymore and removes union u and struct spi, which does not have members in it.
Signed-off-by: Glen Lee
---
drivers/staging/wilc1000/linux_wlan.c | 1 -
drivers/staging/wilc1000/wilc_wlan_if.h | 5
This patch changes parameter type wilc_wlan_inp_t with struct wilc and
modify it's related code. Pass wilc to the functions as well.
wilc will be used in later patch.
Signed-off-by: Glen Lee
---
drivers/staging/wilc1000/wilc_sdio.c | 3 ++-
This patch removes function pointer io_deinit which is never used, and delete
it's related codes also.
Signed-off-by: Glen Lee
---
drivers/staging/wilc1000/linux_wlan.c | 2 --
drivers/staging/wilc1000/wilc_wlan_if.h | 1 -
2 files changed, 3 deletions(-)
diff --git
This patch removes variable os_context of wilc_sdio_t and wilc_spi_t because
os_context is not used, and delete it's related code.
Signed-off-by: Glen Lee
---
drivers/staging/wilc1000/wilc_sdio.c | 2 --
drivers/staging/wilc1000/wilc_spi.c | 2 --
2 files changed, 4
This patch removes function parameter vp which is not used and modify it's
related codes.
Signed-off-by: Glen Lee
---
drivers/staging/wilc1000/linux_wlan.c | 2 +-
drivers/staging/wilc1000/linux_wlan_spi.c | 2 +-
drivers/staging/wilc1000/linux_wlan_spi.h | 2 +-
This patch removes function pointer spi_max_speed of wilc_spi_t and just call
the function linux_spi_set_max_speed directly.
Signed-off-by: Glen Lee
---
drivers/staging/wilc1000/wilc_spi.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git
This patch removes function pointer io_init of wilc_wlan_io_func_t and it's
related codes, and call the function linux_spi_init directly.
Signed-off-by: Glen Lee
---
drivers/staging/wilc1000/linux_wlan.c | 2 --
drivers/staging/wilc1000/wilc_spi.c | 8 +++-
This patch removes unused variable os_private and delete
struct wilc_wlan_os_context_t since there is no members in it. Remove it's
related code also.
Signed-off-by: Glen Lee
---
drivers/staging/wilc1000/linux_wlan.c | 2 --
drivers/staging/wilc1000/wilc_wlan_if.h | 5
This patch fixes broken hif-scatter in ath6kl SDIO. It is not my work; I have
found it as a difference between two Digi distributed Kernel source trees. No
commit comment was recorded. I am sure there are better/nicer/cleaner way, but
copying it as I found it is yet another difference less in
This patch removes spi_trx of wilc_wlan_io_func_t which is not used anymore.
Delete it's related codes also.
Signed-off-by: Glen Lee
---
drivers/staging/wilc1000/linux_wlan.c | 1 -
drivers/staging/wilc1000/wilc_wlan_if.h | 1 -
2 files changed, 2 deletions(-)
diff --git
This patch removes function parameter pv which is not used and modify it's
related codes.
Signed-off-by: Glen Lee
---
drivers/staging/wilc1000/linux_wlan_sdio.c | 2 +-
drivers/staging/wilc1000/linux_wlan_sdio.h | 2 +-
drivers/staging/wilc1000/wilc_sdio.c | 2 +-
3
This patch removes function pointer sdio_set_default_speed of wilc_sdio_t
and call linux_sdio_set_default_speed() directly.
Signed-off-by: Glen Lee
---
drivers/staging/wilc1000/wilc_sdio.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git
This patch removes sdio_set_max_speed of wilc_wlan_io_func_t which is not
used any more.
Signed-off-by: Glen Lee
---
drivers/staging/wilc1000/linux_wlan.c | 1 -
drivers/staging/wilc1000/wilc_wlan_if.h | 1 -
2 files changed, 2 deletions(-)
diff --git
Just call linux_sdio_init instead of io_init function pointer.
Signed-off-by: Glen Lee
---
drivers/staging/wilc1000/wilc_sdio.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/wilc1000/wilc_sdio.c
This patch removes sdio_set_default_speed of wilc_wlan_io_func_t which is
not used anymore and also remove struct sdio since it is empty.
Signed-off-by: Glen Lee
---
drivers/staging/wilc1000/linux_wlan.c | 1 -
drivers/staging/wilc1000/wilc_wlan_if.h | 3 ---
2 files
This patch removes function pointer spi_rx of wilc_spi_t and just call
linux_spi_read instead.
Signed-off-by: Glen Lee
---
drivers/staging/wilc1000/wilc_spi.c | 24 +++-
1 file changed, 11 insertions(+), 13 deletions(-)
diff --git
This patch removes function pointer spi_trx and call linux_spi_write_read
directly.
Signed-off-by: Glen Lee
---
drivers/staging/wilc1000/wilc_spi.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/staging/wilc1000/wilc_spi.c
This patch removes spi_rx of wilc_wlan_io_func_t and it's related codes since
it is not used anymore.
Signed-off-by: Glen Lee
---
drivers/staging/wilc1000/linux_wlan.c | 1 -
drivers/staging/wilc1000/wilc_wlan_if.h | 1 -
2 files changed, 2 deletions(-)
diff --git
This patch removes function pointer spi_tx of wilc_spi_t and call
linux_spi_write directly.
Signed-off-by: Glen Lee
---
drivers/staging/wilc1000/wilc_spi.c | 11 +--
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/wilc1000/wilc_spi.c
This patch removes function pointer spi_tx of wilc_wlan_io_func_t because
it is not used anymore.
Signed-off-by: Glen Lee
---
drivers/staging/wilc1000/linux_wlan.c | 1 -
drivers/staging/wilc1000/wilc_wlan_if.h | 1 -
2 files changed, 2 deletions(-)
diff --git
This patch removes function pointer sdio_cmd53 of wilc_sdio_t and just call
the function directly.
Signed-off-by: Glen Lee
---
drivers/staging/wilc1000/wilc_sdio.c | 14 ++
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git
This patch add prefix wilc for all functions name because the function name
such as spi_write, spi_read and spi_sync are same as linux spi function.
Hence, this should be done before restructuring wilc_spi.c and
linux_wlan_spi.c later.
Signed-off-by: Glen Lee
---
This patch removes sdio_cmd52 of wilc_wlan_io_func_t which is not used.
Signed-off-by: Glen Lee
---
drivers/staging/wilc1000/linux_wlan.c | 1 -
drivers/staging/wilc1000/wilc_wlan_if.h | 1 -
2 files changed, 2 deletions(-)
diff --git
This patch removes function pointer sdio_set_max_speed of wilc_sdio_t and
call the function directly.
Signed-off-by: Glen Lee
---
drivers/staging/wilc1000/wilc_sdio.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/staging/wilc1000/wilc_sdio.c
From: Vladimir Kondratiev
To prevent race when connect flow may run in parallel with
the disconnect event.
Scenario leading to the bug is: while running connect flow on the AP,
STA sends disconnect. log follows.
<7>[ 668.736269] wil6210 :01:00.0: wlan0: DBG[
From: Johannes Berg
Instead of using pointers, use sequentially assigned cookies.
This is easier to understand while debugging and also avoids
problems when the pointer is reused for the next allocation.
Signed-off-by: Johannes Berg
---
From: Johannes Berg
This really should never happen except very early in the process
of bringing up a new driver, at which point you'll have to add
more debugging in the driver and this string isn't useful. Remove
it and save some size (when it's even compiled in.)
From: Johannes Berg
This indicates a driver key selection issue, but even then there's
no point in printing it all the time, so ratelimit it. Also remove
the priv pointer from it -- people debugging will only have a single
device anyway and it's useless as anything but a
Hi Johannes,
[auto build test ERROR on mac80211/master]
[also build test ERROR on v4.3 next-20151106]
url:
https://github.com/0day-ci/linux/commits/Johannes-Berg/mac80211-remove-string-from-unaligned-packet-warning/20151106-190240
base: https://git.kernel.org/pub/scm/linux/kernel/git/jberg
Hi Johannes,
[auto build test ERROR on mac80211/master]
[also build test ERROR on v4.3 next-20151106]
url:
https://github.com/0day-ci/linux/commits/Johannes-Berg/mac80211-remove-string-from-unaligned-packet-warning/20151106-190240
base: https://git.kernel.org/pub/scm/linux/kernel/git/jberg
On 2015-11-06 11:59, Johannes Berg wrote:
> From: Johannes Berg
>
> This really should never happen except very early in the process
> of bringing up a new driver, at which point you'll have to add
> more debugging in the driver and this string isn't useful. Remove
> it
This patch includes ST95HF binding doc that guides how to
make node entry of ST95HF in DT file of any platform.
Signed-off-by: Shikha Singh
---
.../devicetree/bindings/net/nfc/st95hf.txt | 50 ++
1 file changed, 50 insertions(+)
create mode
The definition of DIGITAL_PROTO_NFCA_RF_TECH is modified to support
ISO14443 Type4A tags. Without this change it is not possible to start
polling for ISO14443 Type4A tags from the initiator side.
Signed-off-by: Shikha Singh
---
net/nfc/digital_core.c | 3 ++-
1 file
New patch series of ST95HF Linux Driver v3
Changelog:
v3:
Address feedbacks from Lars Steubesand:
i)Included modification in drivers/nfc/Kconfig and
drivers/nfc/Makefile to build ST95HF driver.
ii)Included header file linux/property.h explicitely in core.c
and all
https://github.com/0day-ci/linux
Johannes-Berg/mac80211-remove-string-from-unaligned-packet-warning/20151106-190240
f9bd23fdbf59a827b6b0e223522a00cf56c72a1b mac80211: remove string from
unaligned packet warning
include/asm-generic/bug.h:124:7: note: in expansion of macro 'WARN'
include/asm
New patch series of ST95HF Linux Driver v2.0
Changelog:
v2.0:
1.Address feedbacks from Samuel:
i)Code improvement and code optimization
2.Address feedbacks from Lars Steubesand:
i)Code improvement and code optimization
ii)Bug fix : Kernel crash due to race between
The definition of DIGITAL_PROTO_NFCA_RF_TECH is modified to support
ISO14443 Type4A tags. Without this change it is not possible to start
polling for ISO14443 Type4A tags from the initiator side.
Signed-off-by: Shikha Singh
---
net/nfc/digital_core.c | 3 ++-
1 file
net/nfc/nci/hci.c: In function ‘nci_hci_connect_gate’:
net/nfc/nci/hci.c:679: warning: comparison is always false due to limited range
of data type
In case of error, nci_hci_create_pipe() returns NCI_HCI_INVALID_PIPE,
and not a negative error code.
Correct the check to fix this.
Signed-off-by:
drivers/nfc/fdp/fdp.c: In function ‘fdp_nci_patch_otp’:
drivers/nfc/fdp/fdp.c:372: warning: comparison is always false due to limited
range of data type
drivers/nfc/fdp/fdp.c: In function ‘fdp_nci_patch_ram’:
drivers/nfc/fdp/fdp.c:443: warning: comparison is always false due to limited
range of
Release of linux driver for STMicroelectronics NFC Transceiver
"ST95HF". This release of driver supports ST95HF in initiator
role to read/write ISO14443 Type 4A and ISO14443 Type 4B tags.
Also, the web link of ST95HF datasheet is:
This patch includes ST95HF binding doc that guides how to
make node entry of ST95HF in DT file of any platform.
Signed-off-by: Shikha Singh
---
.../devicetree/bindings/net/nfc/st95hf.txt | 48 ++
1 file changed, 48 insertions(+)
create mode
Hi Johannes,
[auto build test ERROR on mac80211/master]
[also build test ERROR on v4.3 next-20151106]
url:
https://github.com/0day-ci/linux/commits/Johannes-Berg/mac80211-remove-string-from-unaligned-packet-warning/20151106-190240
base: https://git.kernel.org/pub/scm/linux/kernel/git/jberg
From: Johannes Berg
This really should never happen except very early in the process
of bringing up a new driver, at which point you'll have to add
more debugging in the driver and this string isn't useful. Remove
it and save some size (when it's even compiled in.)
I have found the original post of this patch:
http://lists.infradead.org/pipermail/linux-arm-kernel/2013-November/210624.html
So all credits go to the original author, Jason Liu.
After reading Kalle's comments, I have isolated the cause of my problem and it
turns out to be the major bug in
This patch is to the linux_wlan.c file that fixes declaration of *wilc
to remove following error while building it.
make drivers/staging/wilc1000/linux_wlan.o
drivers/staging/wilc1000/linux_wlan.c:1824:24: error: ‘wilc’ undeclared
Signed-off-by: Punit Vara
---
On Sat, Nov 07, 2015 at 03:29:23AM +0530, Punit Vara wrote:
> This patch is to the linux_wlan.c file that fixes declaration of *wilc
> to remove following error while building it.
>
> make drivers/staging/wilc1000/linux_wlan.o
> drivers/staging/wilc1000/linux_wlan.c:1824:24: error: ‘wilc’
On Sat, Nov 7, 2015 at 3:29 AM, Punit Vara wrote:
> This patch is to the linux_wlan.c file that fixes declaration of *wilc
> to remove following error while building it.
>
> make drivers/staging/wilc1000/linux_wlan.o
> drivers/staging/wilc1000/linux_wlan.c:1824:24: error:
Oh... Sorry. I got your email confused with someone else.
> > diff --git a/drivers/staging/wilc1000/linux_wlan.c
> > b/drivers/staging/wilc1000/linux_wlan.c
> > index 2a5b36f..0805050 100644
> > --- a/drivers/staging/wilc1000/linux_wlan.c
> > +++ b/drivers/staging/wilc1000/linux_wlan.c
> > @@
On Sat, Nov 7, 2015 at 3:47 AM, punit vara wrote:
> On Sat, Nov 7, 2015 at 3:39 AM, punit vara wrote:
>> On Sat, Nov 7, 2015 at 3:29 AM, Punit Vara wrote:
>>> This patch is to the linux_wlan.c file that fixes declaration of *wilc
71 matches
Mail list logo