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

micropython / micropython / 14047
98%

Build:
DEFAULT BRANCH: master
Ran 25 Jul 2020 03:07AM UTC
Jobs 1
Files 274
Run time 25s
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

pending completion
14047

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

Jobs
ID Job ID Ran Files Coverage
5 14047.5 (MAKEOPTS="-j4") 25 Jul 2020 03:07AM UTC 0
98.02
Travis Job 14047.5
Source Files on build 14047
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #14047
  • fd2ff867 on github
  • Prev Build on master (#14043)
  • Next Build on master (#14052)
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