Re: [PATCH] ptp_pch: eliminate a number of sparse warnings

From: Richard Cochran
Date: Tue Mar 26 2013 - 15:09:56 EST


On Tue, Mar 26, 2013 at 12:18:04PM +0900, kpark3469@xxxxxxxxx wrote:
> From: Sahara <keun-o.park@xxxxxxxxxxxxx>
>
> This fixes a number of sparse warnings like:
> warning: incorrect type in argument 2 (different address spaces)
> expected void volatile [noderef] <asn:2>*addr
> got unsigned int *<noident>
>
> warning: Using plain integer as NULL pointer
>
> Additionally this fixes a warning from checkpatch.pl like:
> WARNING: sizeof pch_param.station should be sizeof(pch_param.station)
>
> Signed-off-by: Sahara <keun-o.park@xxxxxxxxxxxxx>

Looks okay to me. Please post this to the netdev list.

Thanks,
Richard
--
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/