Re: [PATCH] doc:fix typo in 'mmc write' example

2023-04-25 Thread Shirokov Alexander
> Hi Shirokov, > > On Fri, 21 Apr 2023 at 22:48, Shirokov Alexander > wrote: > > > > Hello Simon, > > > > Thanks for your answer.Using 0x explicitly shows that we are working > with HEX. > > But without the prefix, it looks like a decimal number. And it's more > confusing > > when the number of bl

Re: [PATCH] doc:fix typo in 'mmc write' example

2023-04-23 Thread Simon Glass
Hi Shirokov, On Fri, 21 Apr 2023 at 22:48, Shirokov Alexander wrote: > > Hello Simon, > > Thanks for your answer.Using 0x explicitly shows that we are working with HEX. > But without the prefix, it looks like a decimal number. And it's more > confusing > when the number of blocks looks like a de

Re: [PATCH] doc:fix typo in 'mmc write' example

2023-04-21 Thread Shirokov Alexander
Hello Simon, Thanks for your answer.Using 0x explicitly shows that we are working with HEX. But without the prefix, it looks like a decimal number. And it's more confusing when the number of blocks looks like a decimal but is interpreted as HEX. Here is an example: mmc write 0x4000 0x500

Re: [PATCH] doc:fix typo in 'mmc write' example

2023-04-18 Thread Simon Glass
On Sun, 9 Apr 2023 at 07:01, Alexander Shirokov wrote: > > In the 'mmc write' command example, it writes 16 blocks (0x10). But the > output contains 256 (0x100) blocks. This patch fixes the mismatch. > > Signed-off-by: Alexander Shirokov > --- > doc/usage/cmd/mmc.rst | 2 +- > 1 file changed, 1

[PATCH] doc:fix typo in 'mmc write' example

2023-04-09 Thread Alexander Shirokov
In the 'mmc write' command example, it writes 16 blocks (0x10). But the output contains 256 (0x100) blocks. This patch fixes the mismatch. Signed-off-by: Alexander Shirokov --- doc/usage/cmd/mmc.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/usage/cmd/mmc.rst b/doc/u