> Sent: Wednesday, July 24, 2013 2:08 PM
> To: [email protected]; [email protected]
> Subject: [Open-FCoE] [PATCH] fcnsq: Fix build warning
> 
> I was unsure exactly how to fix this. It seems that the 'x' formatter for 
> printf
> will not accept a u64. 'u' will print it, but then it won't be in hex format. 
> I tried
> printing it as a __64 thinking that somehow the typedef from __64 to 64
> might be confusing the compiler, but that did not seem to help. Since
> inittype.h is already imported I decided to simply cast the variables before
> printing them.
> 
> To resolve the last warning I ensured we were not passing a pointer to the
> u64 and I allowed scanf to read the value in as an unsigned long long int.
> 

Ignore this last comment, it's not correct. v2 patch has fixed commit message.

Thanks, //rob
_______________________________________________
fcoe-devel mailing list
[email protected]
http://lists.open-fcoe.org/mailman/listinfo/fcoe-devel

Reply via email to