Am Montag 06 Juni 2011, 21:07:37 schrieb anish: > +++ b/drivers/staging/iio/adc/max1363_core.c > @@ -207,7 +207,7 @@ static int max1363_write_basic_config(struct i2c_client > *client, unsigned char d2) > { > int ret; > - u8 *tx_buf = kmalloc(2, GFP_KERNEL); > + u8 tx_buf[2]; > > if (!tx_buf) > return -ENOMEM; These last two lines can also be removed ;) Thanks, Peter _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel