Hi Shirokov, On Wed, 26 Apr 2023 at 05:05, Shirokov Alexander <shirokoval...@gmail.com> wrote: > > On Tue, Apr 25, 2023 at 8:01 PM Simon Glass <s...@chromium.org> wrote: > > > > --- a/doc/usage/cmd/mmc.rst > > > +++ b/doc/usage/cmd/mmc.rst > > > @@ -216,7 +216,7 @@ The raw data can be read/written via 'mmc > > read/write' command: > > > => mmc read 0x40000000 0x5000 0x100 > > > MMC read: dev # 0, block # 20480, count 256 ... 256 blocks read: OK > > > > > > - => mmc write 0x40000000 0x5000 0x10 > > > + => mmc write 0x40000000 0x5000 100 > > > > Drop the other 0x things too? > > > > > MMC write: dev # 0, block # 20480, count 256 ... 256 blocks > > written: OK > > > > > > > Regards, > > Simon > > > > Hi Simon, > Sure. I'll do that. But one clarification before. Should I change 0x only in > "mmc write" line or change "mmc read" too, to keep the example consistent?
Well, you may as well do both. The best approach would be to send two patches, one which drops the 0x and the second which fixes the bug. Regards, Simon