Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146787228
D30387.id89605.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
464 B
Referenced Files
None
Subscribers
None
D30387.id89605.diff
View Options
diff --git a/sys/dev/mmc/host/dwmmc.c b/sys/dev/mmc/host/dwmmc.c
--- a/sys/dev/mmc/host/dwmmc.c
+++ b/sys/dev/mmc/host/dwmmc.c
@@ -1354,8 +1354,8 @@
* (on start and on end) for bounced fragments.
*
*/
- *(int *)result = (IDMAC_MAX_SIZE * IDMAC_DESC_SEGS) /
- MMC_SECTOR_SIZE - 3;
+ *(int *)result = (IDMAC_MAX_SIZE * (IDMAC_DESC_SEGS - 2)) /
+ MMC_SECTOR_SIZE ;
break;
case MMCBR_IVAR_TIMING:
*(int *)result = sc->host.ios.timing;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Mar 6, 2:38 PM (4 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29329188
Default Alt Text
D30387.id89605.diff (464 B)
Attached To
Mode
D30387: Make the code consistent with the comments
Attached
Detach File
Event Timeline
Log In to Comment