• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

micropython / micropython / 14047 / 5
98%
master: 98%

Build:
DEFAULT BRANCH: master
Ran 25 Jul 2020 03:07AM UTC
Files 274
Run time 23s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 Jul 2020 03:12PM UTC coverage: 98.017%. Remained the same
MAKEOPTS="-j4"

push

travis-ci-com

dpgeorge
stm32/usbdev: Fix calculation of SCSI LUN size with multiple LUNs.

The SCSI driver calls GetCapacity to get the block size and number of
blocks of the underlying block-device/LUN.  It caches these values and uses
them later on to verify that reads/writes are within the bounds of the LUN.
But, prior to this commit, there was only one set of cached values for all
LUNs, so the bounds checking for a LUN could use incorrect values, values
from one of the other LUNs that most recently updated the cached values.
This would lead to failed SCSI requests.

This commit fixes this issue by having separate cached values for each LUN.

Signed-off-by: Damien George <damien@micropython.org>

19475 of 19869 relevant lines covered (98.02%)

435164.77 hits per line

Source Files on job 14047.5 (MAKEOPTS="-j4")
  • Tree
  • List 0
  • Changed 50
  • Source Changed 0
  • Coverage Changed 50
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 13613
  • Travis Job 14047.5
  • fd2ff867 on github
  • Prev Job for MAKEOPTS="-j4" on master (#14043.5)
  • Next Job for MAKEOPTS="-j4" on master (#14052.5)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc