> This patch fixes a compiler warning when the driver is compiled with: > make M=drivers/infiniband/hw/ipath C=2 CF=-D__CHECK_ENDIAN__
> - dd->ipath_pioavailregs_dma[i] = dd->ipath_pioavailshadow[i] > - = le64_to_cpu(val); > + dd->ipath_pioavailregs_dma[i] = cpu_to_le64(val); > + dd->ipath_pioavailshadow[i] = val; This is more than a warning fix, right? It seems it fixes an incorrect value being assigned to pioavailshadow on big endian systems. - R. _______________________________________________ general mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
