Re: [PATCH] staging: wlan-ng: p80211wep.c: use lib/crc32

2019-10-08 Thread Thomas Meyer
Dan Carpenter writes: > On Mon, Oct 07, 2019 at 06:15:23PM +0200, Thomas Meyer wrote: >> Dan Carpenter writes: >> >> so... what do you think? > > Could you send your test program? sure, here you go: cc crc32.c -o crc32 lib/crc32.o #include #include #include

Re: [PATCH] staging: wlan-ng: p80211wep.c: use lib/crc32

2019-10-07 Thread Thomas Meyer
Dan Carpenter writes: > On Sun, Oct 06, 2019 at 04:07:45PM +0200, Thomas Meyer wrote: >> Use lib/crc32 instead of another implementation. >> >> Signed-off-by: Thomas Meyer > > I always get annoyed whenever anyone asks if people have tested their >

[PATCH] staging: wlan-ng: p80211wep.c: use lib/crc32

2019-10-06 Thread Thomas Meyer
Use lib/crc32 instead of another implementation. Signed-off-by: Thomas Meyer --- drivers/staging/wlan-ng/p80211wep.c | 64 ++--- 1 file changed, 3 insertions(+), 61 deletions(-) diff --git a/drivers/staging/wlan-ng/p80211wep.c b/drivers/staging/wlan-ng/p80211wep.c

[PATCH 10/10] staging/atomisp: Use ARRAY_SIZE macro

2017-09-03 Thread Thomas Meyer
ication. Signed-off-by: Thomas Meyer <tho...@m3y3r.de> --- diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/ifmtr/src/ifmtr.c b/drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/ifmtr/src/ifmtr.c index a7c6bba7e094..11d3995ba0db 100644 --- a/drivers/staging/

[PATCH 9/10] staging: r8188eu: Cocci spatch noderef

2013-09-19 Thread Thomas Meyer
sizeof when applied to a pointer typed expression gives the size of the pointer. Found by coccinelle spatch misc/noderef.cocci Signed-off-by: Thomas Meyer tho...@m3y3r.de --- diff -u -p a/drivers/staging/rtl8188eu/os_dep/ioctl_linux.c b/drivers/staging/rtl8188eu/os_dep/ioctl_linux.c

[PATCH 7/10] staging: r8188eu: Add files for new drive: Cocci spatch noderef

2013-09-19 Thread Thomas Meyer
sizeof when applied to a pointer typed expression gives the size of the pointer. Found by coccinelle spatch misc/noderef.cocci Signed-off-by: Thomas Meyer tho...@m3y3r.de --- diff -u -p a/drivers/staging/rtl8188eu/core/rtw_mp.c b/drivers/staging/rtl8188eu/core/rtw_mp.c --- a/drivers/staging

[PATCH 5/10] staging: lustre: Cocci spatch noderef

2013-09-19 Thread Thomas Meyer
sizeof when applied to a pointer typed expression gives the size of the pointer. Found by coccinelle spatch misc/noderef.cocci Signed-off-by: Thomas Meyer tho...@m3y3r.de --- diff -u -p a/drivers/staging/lustre/lustre/obdecho/echo_client.c b/drivers/staging/lustre/lustre/obdecho/echo_client.c