Re: [PATCH] iio: hid-sensor-magn-3d: Fix build warning

2014-07-25 Thread Reyad Attiyat
Whoops looks like I typed an extra character, sorry should have caught this. Thanks Sirinivas will resend. On Fri, Jul 25, 2014 at 2:52 PM, Srinivas Pandruvada wrote: > On 07/25/2014 12:32 PM, Reyad Attiyat wrote: >> >> Fix build warning, sizeof() called on dynamically >> sized pointer, by

Re: [PATCH] iio: hid-sensor-magn-3d: Fix build warning

2014-07-25 Thread Srinivas Pandruvada
On 07/25/2014 12:32 PM, Reyad Attiyat wrote: Fix build warning, sizeof() called on dynamically sized pointer, by removing the call and the dependent function parameter. It is not needed or used in this driver, when pushing values to an iio buffer. Signed-off-by: Reyad Attiyat ---

[PATCH] iio: hid-sensor-magn-3d: Fix build warning

2014-07-25 Thread Reyad Attiyat
Fix build warning, sizeof() called on dynamically sized pointer, by removing the call and the dependent function parameter. It is not needed or used in this driver, when pushing values to an iio buffer. Signed-off-by: Reyad Attiyat --- drivers/iio/magnetometer/hid-sensor-magn-3d.c | 7 ++-

[PATCH] iio: hid-sensor-magn-3d: Fix build warning

2014-07-25 Thread Reyad Attiyat
Fix build warning, sizeof() called on dynamically sized pointer, by removing the call and the dependent function parameter. It is not needed or used in this driver, when pushing values to an iio buffer. Signed-off-by: Reyad Attiyat reyad.atti...@gmail.com ---

Re: [PATCH] iio: hid-sensor-magn-3d: Fix build warning

2014-07-25 Thread Srinivas Pandruvada
On 07/25/2014 12:32 PM, Reyad Attiyat wrote: Fix build warning, sizeof() called on dynamically sized pointer, by removing the call and the dependent function parameter. It is not needed or used in this driver, when pushing values to an iio buffer. Signed-off-by: Reyad Attiyat

Re: [PATCH] iio: hid-sensor-magn-3d: Fix build warning

2014-07-25 Thread Reyad Attiyat
Whoops looks like I typed an extra character, sorry should have caught this. Thanks Sirinivas will resend. On Fri, Jul 25, 2014 at 2:52 PM, Srinivas Pandruvada srinivas.pandruv...@linux.intel.com wrote: On 07/25/2014 12:32 PM, Reyad Attiyat wrote: Fix build warning, sizeof() called on