[ofw] error when compiling ofed ulp\libibnetdisc

Smith, Stan stan.smith at intel.com
Mon Jul 26 13:26:25 PDT 2010


What target arch & OS are you building for ? x64 Svr2008 ?

Uri Habusha wrote:
> I guess we use same WDK version, 6001.10081. That means same compiler.
>
> In any case can you check-in the fix?
>
> -----Original Message-----
> From: Hefty, Sean [mailto:sean.hefty at intel.com]
> Sent: Monday, July 26, 2010 9:29 PM
> To: Uri Habusha; Smith, Stan; ofw at lists.openfabrics.org
> Cc: Leonid Keller; Tzachi Dar; Irena Kruchkovsky; Alex Naslednikov;
> Sasha Khapyorsky; Ira Weiny; linux-rdma at vger.kernel.org
> Subject: RE: error when compiling ofed ulp\libibnetdisc
>
>> The fix is okay. However I wonder how you don't get the error in
>> your environment and we got it. Any idea?
>
> The cast is from an 8-bit value to 64-bit, then back to 16-bit, so
> there's no chance of losing data with the cast.  Maybe the compiler
> got smarter?




More information about the ofw mailing list