Re: [patch] [media] stk-webcam: fix an endian bug in stk_camera_read_reg()

2016-11-15 Thread kbuild test robot
Hi Dan, [auto build test WARNING on linuxtv-media/master] [also build test WARNING on v4.9-rc5 next-20161115] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Dan-Carpenter/stk-webcam-fix-an-endia

Re: [patch] [media] stk-webcam: fix an endian bug in stk_camera_read_reg()

2016-11-15 Thread kbuild test robot
Hi Dan, [auto build test ERROR on linuxtv-media/master] [also build test ERROR on v4.9-rc5 next-20161115] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Dan-Carpenter/stk-webcam-fix-an-endian-bu

[patch] [media] stk-webcam: fix an endian bug in stk_camera_read_reg()

2016-11-15 Thread Dan Carpenter
We pass an int pointer to stk_camera_read_reg() but only write to the highest byte. It's a bug on big endian systems and generally a nasty thing to do and doesn't match the write function either. Signed-off-by: Dan Carpenter diff --git a/drivers/media/usb/stkwebcam/stk-webcam.h b/drivers/media