On Sat, Jun 14, 2014 at 02:04:38PM +0900, Seunghun Lee wrote: > This patch fixes below warning. > > drivers/staging/ced1401/ced_ioc.c:703:30: warning: incorrect type in > assignment (different address spaces) > drivers/staging/ced1401/ced_ioc.c:703:30: expected void *[usertype] > lpvBuff > drivers/staging/ced1401/ced_ioc.c:703:30: got char [noderef] > <asn:1>*puBuf > > Signed-off-by: Seunghun Lee <way...@gmail.com>
No. This silences the warning by disabling Sparse. Fix the annotations instead. regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/