Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147518923
D30387.id89606.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
493 B
Referenced Files
None
Subscribers
None
D30387.id89606.diff
View Options
Index: sys/dev/mmc/host/dwmmc.c
===================================================================
--- sys/dev/mmc/host/dwmmc.c
+++ 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
Thu, Mar 12, 2:37 PM (5 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29579077
Default Alt Text
D30387.id89606.diff (493 B)
Attached To
Mode
D30387: Make the code consistent with the comments
Attached
Detach File
Event Timeline
Log In to Comment