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 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel