Re: [PATCH] staging: cxt1e1: fix pointer-integer size mismatch warning

From: SeongJae Park
Date: Tue Feb 04 2014 - 03:30:33 EST


On Tue, Feb 4, 2014 at 5:23 PM, Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote:
> On Tue, Feb 04, 2014 at 04:01:26PM +0900, SeongJae Park wrote:
>> Fix the pointer-integer size mismatch warning below:
>> drivers/staging/cxt1e1/functions.c: In function âVMETRO_TRACEâ:
>> drivers/staging/cxt1e1/functions.c:268:21: warning: cast from pointer
>> to integer of different size [-Wpointer-to-int-cast]
>> u_int32_t y = (u_int32_t) x;
>> ^
>
> This function isn't called. Just delete it from here and also from the
> .h file.
>

Nice review. Thank you for reviewing. I will upload new patch soon.

> regards,
> dan carpenter
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/