qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH trivial for 7.2] hw/ssi/sifive_spi.c: spelling: reigster
@ 2022-11-05 11:53 Michael Tokarev
  2022-11-05 11:59 ` Stefan Weil via
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Michael Tokarev @ 2022-11-05 11:53 UTC (permalink / raw)
  To: qemu-devel; +Cc: Michael Tokarev, qemu-trivial, Alistair Francis, Bin Meng

Fixes: 0694dabe9763847f3010b54ab3ec7d367d2f0ff0
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
 hw/ssi/sifive_spi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/ssi/sifive_spi.c b/hw/ssi/sifive_spi.c
index 03540cf5ca..1b4a401ca1 100644
--- a/hw/ssi/sifive_spi.c
+++ b/hw/ssi/sifive_spi.c
@@ -267,7 +267,7 @@ static void sifive_spi_write(void *opaque, hwaddr addr,
     case R_RXDATA:
     case R_IP:
         qemu_log_mask(LOG_GUEST_ERROR,
-                      "%s: invalid write to read-only reigster 0x%"
+                      "%s: invalid write to read-only register 0x%"
                       HWADDR_PRIx " with 0x%x\n", __func__, addr << 2, value);
         break;
 
-- 
2.30.2



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH trivial for 7.2] hw/ssi/sifive_spi.c: spelling: reigster
  2022-11-05 11:53 [PATCH trivial for 7.2] hw/ssi/sifive_spi.c: spelling: reigster Michael Tokarev
@ 2022-11-05 11:59 ` Stefan Weil via
  2022-11-05 21:39 ` Alistair Francis
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Stefan Weil via @ 2022-11-05 11:59 UTC (permalink / raw)
  To: Michael Tokarev, qemu-devel; +Cc: qemu-trivial, Alistair Francis, Bin Meng


[-- Attachment #1.1.1: Type: text/plain, Size: 864 bytes --]

Am 05.11.22 um 12:53 schrieb Michael Tokarev:
> Fixes: 0694dabe9763847f3010b54ab3ec7d367d2f0ff0
> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
> ---
>   hw/ssi/sifive_spi.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/hw/ssi/sifive_spi.c b/hw/ssi/sifive_spi.c
> index 03540cf5ca..1b4a401ca1 100644
> --- a/hw/ssi/sifive_spi.c
> +++ b/hw/ssi/sifive_spi.c
> @@ -267,7 +267,7 @@ static void sifive_spi_write(void *opaque, hwaddr addr,
>       case R_RXDATA:
>       case R_IP:
>           qemu_log_mask(LOG_GUEST_ERROR,
> -                      "%s: invalid write to read-only reigster 0x%"
> +                      "%s: invalid write to read-only register 0x%"
>                         HWADDR_PRIx " with 0x%x\n", __func__, addr << 2, value);
>           break;
>   

Reviewed-by: Stefan Weil <sw@weilnetz.de>

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 6511 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH trivial for 7.2] hw/ssi/sifive_spi.c: spelling: reigster
  2022-11-05 11:53 [PATCH trivial for 7.2] hw/ssi/sifive_spi.c: spelling: reigster Michael Tokarev
  2022-11-05 11:59 ` Stefan Weil via
@ 2022-11-05 21:39 ` Alistair Francis
  2022-11-08 22:11 ` Palmer Dabbelt
  2023-01-16 18:30 ` Laurent Vivier
  3 siblings, 0 replies; 6+ messages in thread
From: Alistair Francis @ 2022-11-05 21:39 UTC (permalink / raw)
  To: Michael Tokarev; +Cc: qemu-devel, qemu-trivial, Alistair Francis, Bin Meng

On Sat, Nov 5, 2022 at 9:54 PM Michael Tokarev <mjt@tls.msk.ru> wrote:
>
> Fixes: 0694dabe9763847f3010b54ab3ec7d367d2f0ff0
> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

Reviewed-by: Alistair Francis <alistair.francis@wdc.com>

Alistair

> ---
>  hw/ssi/sifive_spi.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/hw/ssi/sifive_spi.c b/hw/ssi/sifive_spi.c
> index 03540cf5ca..1b4a401ca1 100644
> --- a/hw/ssi/sifive_spi.c
> +++ b/hw/ssi/sifive_spi.c
> @@ -267,7 +267,7 @@ static void sifive_spi_write(void *opaque, hwaddr addr,
>      case R_RXDATA:
>      case R_IP:
>          qemu_log_mask(LOG_GUEST_ERROR,
> -                      "%s: invalid write to read-only reigster 0x%"
> +                      "%s: invalid write to read-only register 0x%"
>                        HWADDR_PRIx " with 0x%x\n", __func__, addr << 2, value);
>          break;
>
> --
> 2.30.2
>
>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH trivial for 7.2] hw/ssi/sifive_spi.c: spelling: reigster
  2022-11-05 11:53 [PATCH trivial for 7.2] hw/ssi/sifive_spi.c: spelling: reigster Michael Tokarev
  2022-11-05 11:59 ` Stefan Weil via
  2022-11-05 21:39 ` Alistair Francis
@ 2022-11-08 22:11 ` Palmer Dabbelt
  2022-11-09  7:50   ` Philippe Mathieu-Daudé
  2023-01-16 18:30 ` Laurent Vivier
  3 siblings, 1 reply; 6+ messages in thread
From: Palmer Dabbelt @ 2022-11-08 22:11 UTC (permalink / raw)
  To: mjt; +Cc: qemu-devel, mjt, qemu-trivial, alistair, bin.meng

On Sat, 05 Nov 2022 04:53:29 PDT (-0700), mjt@tls.msk.ru wrote:
> Fixes: 0694dabe9763847f3010b54ab3ec7d367d2f0ff0

Not sure if I missed something in QEMU land, but those are usually 
listed more like

Fixes: 0694dabe97 ("hw/ssi: Add SiFive SPI controller support")

Checkpatch isn't failing, though.  Either way

Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com>
Acked-by: Palmer Dabbelt <palmer@rivosinc.com>

Thanks!

> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
> ---
>  hw/ssi/sifive_spi.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/hw/ssi/sifive_spi.c b/hw/ssi/sifive_spi.c
> index 03540cf5ca..1b4a401ca1 100644
> --- a/hw/ssi/sifive_spi.c
> +++ b/hw/ssi/sifive_spi.c
> @@ -267,7 +267,7 @@ static void sifive_spi_write(void *opaque, hwaddr addr,
>      case R_RXDATA:
>      case R_IP:
>          qemu_log_mask(LOG_GUEST_ERROR,
> -                      "%s: invalid write to read-only reigster 0x%"
> +                      "%s: invalid write to read-only register 0x%"
>                        HWADDR_PRIx " with 0x%x\n", __func__, addr << 2, value);
>          break;


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH trivial for 7.2] hw/ssi/sifive_spi.c: spelling: reigster
  2022-11-08 22:11 ` Palmer Dabbelt
@ 2022-11-09  7:50   ` Philippe Mathieu-Daudé
  0 siblings, 0 replies; 6+ messages in thread
From: Philippe Mathieu-Daudé @ 2022-11-09  7:50 UTC (permalink / raw)
  To: Palmer Dabbelt, mjt
  Cc: qemu-devel, qemu-trivial, alistair, bin.meng, Michael S. Tsirkin

On 8/11/22 23:11, Palmer Dabbelt wrote:
> On Sat, 05 Nov 2022 04:53:29 PDT (-0700), mjt@tls.msk.ru wrote:
>> Fixes: 0694dabe9763847f3010b54ab3ec7d367d2f0ff0
> 
> Not sure if I missed something in QEMU land, but those are usually 
> listed more like
> 
> Fixes: 0694dabe97 ("hw/ssi: Add SiFive SPI controller support")

MST suggested once to try to restrict the 'Fixes:' tag to bug /
regressions, as it might help downstream distributions to filter
commits to cherry-pick.

Since it might be useful to have the offending commit sha1 in the
description, when it is simply an omission or improvement I use
the an inline form instead of a tag:

   Fixes the typo introduced in commit 0694dabe97 ("hw/ssi: Add SiFive
   SPI controller support").

Although in this particular use-case it is not really useful ;)

Another example:

   When adding <the feature> in commit <sha1 ("<subject>")>, we forgot
   to fill the API prototype description. Do it now.

Regards,

Phil.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH trivial for 7.2] hw/ssi/sifive_spi.c: spelling: reigster
  2022-11-05 11:53 [PATCH trivial for 7.2] hw/ssi/sifive_spi.c: spelling: reigster Michael Tokarev
                   ` (2 preceding siblings ...)
  2022-11-08 22:11 ` Palmer Dabbelt
@ 2023-01-16 18:30 ` Laurent Vivier
  3 siblings, 0 replies; 6+ messages in thread
From: Laurent Vivier @ 2023-01-16 18:30 UTC (permalink / raw)
  To: Michael Tokarev, qemu-devel; +Cc: qemu-trivial, Alistair Francis, Bin Meng

Le 05/11/2022 à 12:53, Michael Tokarev a écrit :
> Fixes: 0694dabe9763847f3010b54ab3ec7d367d2f0ff0
> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
> ---
>   hw/ssi/sifive_spi.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/hw/ssi/sifive_spi.c b/hw/ssi/sifive_spi.c
> index 03540cf5ca..1b4a401ca1 100644
> --- a/hw/ssi/sifive_spi.c
> +++ b/hw/ssi/sifive_spi.c
> @@ -267,7 +267,7 @@ static void sifive_spi_write(void *opaque, hwaddr addr,
>       case R_RXDATA:
>       case R_IP:
>           qemu_log_mask(LOG_GUEST_ERROR,
> -                      "%s: invalid write to read-only reigster 0x%"
> +                      "%s: invalid write to read-only register 0x%"
>                         HWADDR_PRIx " with 0x%x\n", __func__, addr << 2, value);
>           break;
>   

Applied to my trivial-patches branch.

Thanks,
Laurent



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-01-16 18:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-05 11:53 [PATCH trivial for 7.2] hw/ssi/sifive_spi.c: spelling: reigster Michael Tokarev
2022-11-05 11:59 ` Stefan Weil via
2022-11-05 21:39 ` Alistair Francis
2022-11-08 22:11 ` Palmer Dabbelt
2022-11-09  7:50   ` Philippe Mathieu-Daudé
2023-01-16 18:30 ` Laurent Vivier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).