On Thu, Mar 06, 2014 at 03:13:07AM -0800, K. Y. Srinivasan wrote: > + offload_params = (struct ndis_offload_params *)((ulong)set + > + set->info_buf_offset);
It's a bit simpler to do pointer math like this: offload_params = (void *)set + set->info_buf_offset; 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/