HomeFreeBSD

mmc: dwmmc: Fix off by one error

Description

mmc: dwmmc: Fix off by one error

The IVAR_MAX_DATA is supposed to have the number of descriptor X the mmc
block size and desc_count contain all this information + 1.

Reported by: phk
MFC after: 1 week

Details

Provenance
manuAuthored on Feb 28 2020, 9:31 PM
Parents
rG4ec9d1370f88: Define SCTL_MASK32 when COMPAT_FREEBSD32 is defined.
Branches
Unknown
Tags
Unknown

Event Timeline