Searched hist:222475 (Results 1 - 3 of 3) sorted by relevance
/freebsd-11-stable/sys/dev/mmc/ | ||
H A D | mmcvar.h | diff 222475 Mon May 30 04:30:30 MDT 2011 jchandra Fix read_ivar implementation for MMC and SD. 1. Both mmc_read_ivar() and sdhci_read_ivar() use the expression '*(int *)result = val' to assign to result which is uintptr_t *. This does not work on big-endian 64 bit systems. 2. The media_size ivar is declared as 'off_t' which does not fit into uintptr_t in 32bit systems, change this to long. Submitted by: kanthms at netlogicmicro com (initial version) |
H A D | mmc.c | diff 222475 Mon May 30 04:30:30 MDT 2011 jchandra Fix read_ivar implementation for MMC and SD. 1. Both mmc_read_ivar() and sdhci_read_ivar() use the expression '*(int *)result = val' to assign to result which is uintptr_t *. This does not work on big-endian 64 bit systems. 2. The media_size ivar is declared as 'off_t' which does not fit into uintptr_t in 32bit systems, change this to long. Submitted by: kanthms at netlogicmicro com (initial version) |
/freebsd-11-stable/sys/dev/sdhci/ | ||
H A D | sdhci.c | diff 222475 Mon May 30 04:30:30 MDT 2011 jchandra Fix read_ivar implementation for MMC and SD. 1. Both mmc_read_ivar() and sdhci_read_ivar() use the expression '*(int *)result = val' to assign to result which is uintptr_t *. This does not work on big-endian 64 bit systems. 2. The media_size ivar is declared as 'off_t' which does not fit into uintptr_t in 32bit systems, change this to long. Submitted by: kanthms at netlogicmicro com (initial version) |
Completed in 112 milliseconds