Il 24/08/2012 10:31, Hannes Reinecke ha scritto: > >> Type casts from pointer to integer values must use uintptr_t >> instead of unsigned long. Otherwise the compiler complains on >> hosts with sizeof(pointer) != sizeof(long). >> >> The patch also replace magic number 32 by sizeof(info.serial_number) >> which has the same value but is better for code reviews. >> >> Signed-off-by: Stefan Weil <s...@weilnetz.de> > > Sigh. I never seem to get the hang of typecasting. > > Acked-by: Hannes Reinecke <h...@suse.de>
Nope, this needs to be fixed using the same scheme that you used for SAS addresses. Quick before Anthony notices and disables MEGASAS. :) Paolo