Re: [PATCH 0/3] staging: vchiq: Fix vchiq_read return value in case of error

2019-11-21 Thread Nicolas Saenz Julienne
On Thu, 2019-11-21 at 11:42 +0100, Stefan Wahren wrote: [...] > > Help with testing would be appreciated. So far I've basically just > > diffed the output of 'cat /dev/vchiq', run the program above with > > a few different values, and run vchiq_test a few times. > > i consider this as sufficient,

Re: [PATCH 0/3] staging: vchiq: Fix vchiq_read return value in case of error

2019-11-21 Thread Stefan Wahren
Hi Marcelo, [add Nicolas and Phil] Am 20.11.19 um 16:36 schrieb Marcelo Diop-Gonzalez: > This is a proposed fix of an issue regarding the handling of positive > return values from copy_to_user() in vchiq_read(). It looks like the > struct dump_context passed to the vchiq_dump() function keeps