[PATCH] staging: dgnc: fix long lines

2014-12-03 Thread Krzysztof Adamski
This patch fixes checkpatch complains about lines over 80 characters. No code was modified, only whitespace changes and comments editing. Signed-off-by: Krzysztof Adamski k...@japko.eu --- drivers/staging/dgnc/dgnc_cls.h| 24 ++--- drivers/staging/dgnc/dgnc_driver.c | 50

[PATCH] staging: vt6656: Use ether_addr_copy() in vnt_fill_ieee80211_rts.

2014-12-08 Thread Krzysztof Adamski
Both struct ieee80211_rts and struct ieee80211_hdr defined in linux/ieee80211.h are declared as __aligned(2) so it is safe to use ether_addr_copy() instead of memcpy(). Signed-off-by: Krzysztof Adamski k...@japko.eu --- drivers/staging/vt6656/rxtx.c | 5 +++-- 1 file changed, 3 insertions(+), 2

[PATCH] staging: vt6656: Use ether_addr_copy() on vnt_private members.

2014-12-09 Thread Krzysztof Adamski
is of type ieee80211_cts which is already properly aligned. Signed-off-by: Krzysztof Adamski k...@japko.eu --- drivers/staging/vt6656/device.h | 4 ++-- drivers/staging/vt6656/main_usb.c | 3 ++- drivers/staging/vt6656/rxtx.c | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff

[PATCH] staging: vt6656: whitespace checkpatch warning fix.

2014-12-10 Thread Krzysztof Adamski
This fixes following checkpatch.pl error: ERROR: space prohibited before that ',' (ctx:WxW) Signed-off-by: Krzysztof Adamski k...@japko.eu --- drivers/staging/vt6656/rxtx.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/vt6656/rxtx.c b/drivers/staging

[PATCH] staging: vt6656: Use ether_addr_copy() in vnt_fill_ieee80211_rts.

2014-12-16 Thread Krzysztof Adamski
Both struct ieee80211_rts and struct ieee80211_hdr defined in linux/ieee80211.h are declared as __aligned(2) so it is safe to use ether_addr_copy() instead of memcpy(). Signed-off-by: Krzysztof Adamski k...@japko.eu --- drivers/staging/vt6656/rxtx.c | 5 +++-- 1 file changed, 3 insertions

Re: [PATCH] staging: vt6656: Use ether_addr_copy() in vnt_fill_ieee80211_rts.

2014-12-16 Thread Krzysztof Adamski
On Tue, Dec 16, 2014 at 12:42:06AM -0800, Joe Perches wrote: On Tue, 2014-12-16 at 09:30 +0100, Krzysztof Adamski wrote: Both struct ieee80211_rts and struct ieee80211_hdr defined in linux/ieee80211.h are declared as __aligned(2) so it is safe to use ether_addr_copy() instead of memcpy

[PATCH] staging: vt6656: whitespace checkpatch warning fix.

2014-12-22 Thread Krzysztof Adamski
This fixes following checkpatch.pl error: ERROR: space prohibited before that ',' (ctx:WxW) Signed-off-by: Krzysztof Adamski k...@japko.eu --- drivers/staging/vt6656/rxtx.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/vt6656/rxtx.c b/drivers/staging

[PATCH] staging: dgnc: fix long lines in PCI device table

2015-01-22 Thread Krzysztof Adamski
This patch fixes coding style of PCI device table declaration. Signed-off-by: Krzysztof Adamski k...@japko.eu --- drivers/staging/dgnc/dgnc_driver.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_driver.c b/drivers/staging/dgnc

[PATCH v2] staging: dgnc: fix long lines in PCI device table

2015-01-22 Thread Krzysztof Adamski
This patch fixes coding style of PCI device table declaration. Signed-off-by: Krzysztof Adamski k...@japko.eu --- drivers/staging/dgnc/dgnc_driver.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_driver.c b/drivers/staging/dgnc

Re: [PATCH] staging: dgnc: fix long lines in PCI device table

2015-01-22 Thread Krzysztof Adamski
On Thu, Jan 22, 2015 at 11:10:58AM -0800, Joe Perches wrote: On Thu, 2015-01-22 at 19:55 +0100, Krzysztof Adamski wrote: This patch fixes coding style of PCI device table declaration. [] diff --git a/drivers/staging/dgnc/dgnc_driver.c b/drivers/staging/dgnc/dgnc_driver.c [] @@ -98,11

[PATCH] staging: fbtft: fbtft-core mark functions static

2015-01-22 Thread Krzysztof Adamski
This fixes sparse warnings like: warning: symbol XXX was not declared. Should it be static? by declaring all local functions static. Signed-off-by: Krzysztof Adamski k...@japko.eu --- drivers/staging/fbtft/fbtft-core.c | 47 1 file changed, 26

Re: [PATCH] staging: vt6656: Use ether_addr_copy() on vnt_private members.

2015-01-13 Thread Krzysztof Adamski
On Tue, Jan 13, 2015 at 10:52:00AM -0800, Greg Kroah-Hartman wrote: On Tue, Jan 13, 2015 at 07:42:28PM +0100, Krzysztof Adamski wrote: On Mon, Jan 12, 2015 at 07:42:12PM -0800, Greg Kroah-Hartman wrote: On Mon, Dec 22, 2014 at 05:15:41PM +0100, Krzysztof Adamski wrote: This patch fixes

Re: [PATCH] staging: vt6656: Use ether_addr_copy() on vnt_private members.

2015-01-13 Thread Krzysztof Adamski
On Mon, Jan 12, 2015 at 07:42:12PM -0800, Greg Kroah-Hartman wrote: On Mon, Dec 22, 2014 at 05:15:41PM +0100, Krzysztof Adamski wrote: This patch fixes checkpatch.pl warning: WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) current_net_addr

Re: [PATCH] staging: vt6656: whitespace checkpatch warning fix.

2015-01-12 Thread Krzysztof Adamski
On Mon, Jan 12, 2015 at 07:41:34PM -0800, Greg Kroah-Hartman wrote: On Mon, Dec 22, 2014 at 05:08:34PM +0100, Krzysztof Adamski wrote: This fixes following checkpatch.pl error: ERROR: space prohibited before that ',' (ctx:WxW) Signed-off-by: Krzysztof Adamski k...@japko.eu --- drivers/staging