From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Gunthorpe Subject: Re: [PATCH] osm_subnet.c change void* arithmetic to char* Date: Thu, 1 Oct 2009 16:28:31 -0600 Message-ID: <20091001222831.GB5191@obsidianresearch.com> References: <3F6F638B8D880340AB536D29CD4C1E1912C86E8A99@orsmsx501.amr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <3F6F638B8D880340AB536D29CD4C1E1912C86E8A99-osO9UTpF0USkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: "Smith, Stan" Cc: Sasha Khapyorsky , "ofw-ZwoEplunGu1OwGhvXhtEPSCwEArCW2h5@public.gmane.org" , linux-rdma List-Id: linux-rdma@vger.kernel.org On Thu, Oct 01, 2009 at 02:38:28PM -0700, Smith, Stan wrote: > > MS compiler doesn't Grok void* arithmetic, use char* uint8_t* or unsigned char is better practice here, char could be wchar in some crazy instances.. Probably should build with -Wpointer-arith on Linux. Regards, Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html