[PATCH v3] staging: comedi: check validity of wMaxPacketSize of usb endpoints found

2020-10-10 Thread Anant Thazhemadam
ed to be invalid. Reported-by: syzbot+009f546aa1370056b...@syzkaller.appspotmail.com Tested-by: syzbot+009f546aa1370056b...@syzkaller.appspotmail.com Signed-off-by: Anant Thazhemadam --- Changes in v3: * Correctly list version information Changes in v2: * Fix coding style issue

Re: [PATCH] staging: comedi: check validity of wMaxPacketSize of usb endpoints found

2020-10-10 Thread Anant Thazhemadam
On 10/10/20 1:39 pm, Greg Kroah-Hartman wrote: > On Sat, Oct 10, 2020 at 07:29:13AM +0530, Anant Thazhemadam wrote: >> Hi, >> >> On 10-10-2020 12:30, Greg Kroah-Hartman wrote: >>> On Fri, Oct 09, 2020 at 09:50:29PM +0530, Anant Thazhemadam wrote: >&

Re: [PATCH] staging: comedi: check validity of wMaxPacketSize of usb endpoints found

2020-10-10 Thread Anant Thazhemadam
Hi, On 10-10-2020 12:30, Greg Kroah-Hartman wrote: > On Fri, Oct 09, 2020 at 09:50:29PM +0530, Anant Thazhemadam wrote: >> While finding usb endpoints in vmk80xx_find_usb_endpoints(), check if >> wMaxPacketSize = 0 for the endpoints found. >> >> Some devices have isoc

Re: [PATCH] staging: comedi: check validity of wMaxPacketSize of usb endpoints found

2020-10-09 Thread Anant Thazhemadam
On 09/10/20 9:46 pm, Anant Thazhemadam wrote: > While finding usb endpoints in vmk80xx_find_usb_endpoints(), check if > wMaxPacketSize = 0 for the endpoints found. > > Some devices have isochronous endpoints that have wMaxPacketSize = 0 > (as required by the USB-2 spec). > H

[PATCH] staging: comedi: check validity of wMaxPacketSize of usb endpoints found

2020-10-09 Thread Anant Thazhemadam
ed to be invalid. Reported-by: syzbot+009f546aa1370056b...@syzkaller.appspotmail.com Tested-by: syzbot+009f546aa1370056b...@syzkaller.appspotmail.com Signed-off-by: Anant Thazhemadam --- The error (as detected by syzbot) is generated in vmk80xx_write_packet() (which is called in vmk80xx_reset_d

[PATCH] staging: comedi: check validity of wMaxPacketSize of usb endpoints found

2020-10-09 Thread Anant Thazhemadam
ed to be invalid. Reported-by: syzbot+009f546aa1370056b...@syzkaller.appspotmail.com Tested-by: syzbot+009f546aa1370056b...@syzkaller.appspotmail.com Signed-off-by: Anant Thazhemadam --- The error (as detected by syzbot) is generated in vmk80xx_write_packet() (which is called in vmk80xx_reset_d

Re: [PATCH] Remove unused variables

2020-09-03 Thread Anant Thazhemadam
indly ignore and discard this patch. My sincere apologies. Thanks, Anant On Fri, Sep 4, 2020 at 6:04 AM Anant Thazhemadam wrote: > > A few unused variables that were defined were found and removed. > > Signed-off-by: Anant Thazhemadam > --- > drivers/staging/comedi/drivers/dt

[PATCH] Remove unused variables

2020-09-03 Thread Anant Thazhemadam
A few unused variables that were defined were found and removed. Signed-off-by: Anant Thazhemadam --- drivers/staging/comedi/drivers/dt2814.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/comedi/drivers/dt2814.c b/drivers/staging/comedi/drivers/dt2814.c index

[PATCH v2] staging: media/atomisp : fix "dubious: !x | !y" sparse warning

2020-08-26 Thread Anant Thazhemadam
ning. Signed-off-by: Anant Thazhemadam --- .../media/atomisp/pci/isp/kernels/vf/vf_1.0/ia_css_vf.host.c| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/atomisp/pci/isp/kernels/vf/vf_1.0/ia_css_vf.host.c b/drivers/staging/media/atomisp/pci/i

[PATCH] staging: media-atomisp : fix "dubious: !x | !y" sparse warning

2020-08-25 Thread Anant Thazhemadam
Upon running sparse, "warning: dubious: !x | !y" is brought to notice for this file. This patch fixes that warning. If there's a specific reason that this change is considered undesirable, please do let me know why. Thanks. Signed-off-by: Anant Thazhemadam --- .../media/

[PATCH 1/1] STAGING - REALTEK RTL8188EU DRIVERS: Fix Coding Style Error

2020-07-25 Thread Anant Thazhemadam
Running the checkpatch.pl script on the file for which patch was created, the following error was found to exist. ERROR: space required after that ',' (ctx:VxV) Fixed the above error which was found on line #721 by inserting a blank space at the appropriate position. Signed-off

[PATCH] Fix one coding style issue

2020-07-25 Thread Anant Thazhemadam
The coding style issue that raised an error (upon checking against checkpatch.pl) has been fixed. Exactly one coding style issue has been fixed; as required by Task 10 of the Eudyptula Challenge. Signed-off-by: Anant Thazhemadam --- drivers/staging/rtl8188eu/core/rtw_security.c | 4 +++- 1 file

[PATCH] Fix coding style issues

2020-07-24 Thread Anant Thazhemadam
Coding style issues found were rectified Signed-off-by: Anant Thazhemadam --- drivers/staging/rtl8188eu/core/rtw_security.c | 92 ++- 1 file changed, 47 insertions(+), 45 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_security.c b/drivers/staging/rtl8188eu/core