HomeFreeBSD

MFC: r222475
rS234495Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

MFC: r222475

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.

  1. 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)

PR: 134745

Details

Provenance
mariusAuthored on
Parents
rS234494: Include the associated wait channel message for context switch ktrace
Branches
Unknown
Tags
Unknown

Event Timeline