[roll] Roll fuchsia [lib][mock-mmio-reg] Fix MmioBuffer size calculation in MockMmioRegRegion

In https://fxrev.dev/896221 a typo was introduced that added rather than
multiplied the number of registers used by the MmioBuffer created using
MockMmioRegRegion::GetMmioBuffer(). In practice this has no effect on
the usage outside of buffer's get_size() returning the incorrect value
because all of the MmioOps of the crafted MmioBuffer are handled by the
MockMmioRegRegion's own vector and indexing, rather than a mapped VMO.
This CL fixes that math so get_size() should always match the intended
size of the register region.

Additionally, I added a quick non-functional cleanup in fake-mmio-reg
that I saw.

Original-Fixed: 315010319
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1028861
Original-Revision: 03cbaede365af27af95b496df92cd30c3cbca9ec
GitOrigin-RevId: 0148dda6f78d17db03dd286aafd7c156b09436df
Change-Id: I5533efe58ff5094a5189fab40d48f49e9c4f5e7b
1 file changed
tree: 6e25f5bd1180d73d6148ebc40425fa587473ab19
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cts
  6. firmware
  7. flower
  8. jiri.lock
  9. MILESTONE
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
  15. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.