hw/ssi/sifive_spi.c: spelling: reigster
PATCH 1/1 hw/ssi/sifive_spi.c: spelling: reigster
--- hw/ssi/sifive_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/ssi/sifive_spi.c +1 -1
@@ -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 ;
Signature · 1 line
2.30.2
Am 05.11.22 um 12:53 schrieb Michael Tokarev:
Quoted 11 lines
Fixes 0694dabe9763847f3010b54ab3ec7d367d2f0ff0Signed-off-by Michael Tokarev <[email protected]>--- hw/ssi/sifive_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/ssi/sifive_spi.c +0
-0
hw/ssi/sifive_spi.c static void sifive_spi_write(void *opaque, hwaddr addr, · line 273
Quoted 8 lines
hw/ssi/sifive_spi.c +1
-1@@ -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 ;
Quoted 3 lines · Michael Tokarev
Fixes 0694dabe9763847f3010b54ab3ec7d367d2f0ff0Signed-off-by Michael Tokarev <[email protected]>
Alistair
Quoted 21 lines
--- hw/ssi/sifive_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/ssi/sifive_spi.c +1
-2@@ -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
Quoted 1 line · On Sat, 05 Nov 2022 04:53:29 PDT (-0700), [email protected] wrote:
Fixes 0694dabe9763847f3010b54ab3ec7d367d2f0ff0
Not sure if I missed something in QEMU land, but those are usually listed more like
Checkpatch isn't failing, though. Either way
Thanks!
Quoted 17 lines
Signed-off-by Michael Tokarev <[email protected]>--- hw/ssi/sifive_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/ssi/sifive_spi.c +1
-1@@ -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 ;
Quoted 6 lines · Palmer Dabbelt
Quoted 1 line · On Sat, 05 Nov 2022 04:53:29 PDT (-0700), [email protected] wrote:
Fixes 0694dabe9763847f3010b54ab3ec7d367d2f0ff0Not 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.
Laurent Vivier
AppliedLe 05/11/2022 à 12:53, Michael Tokarev a écrit :
Quoted 11 lines
Fixes 0694dabe9763847f3010b54ab3ec7d367d2f0ff0Signed-off-by Michael Tokarev <[email protected]>--- hw/ssi/sifive_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/ssi/sifive_spi.c +0
-0
hw/ssi/sifive_spi.c static void sifive_spi_write(void *opaque, hwaddr addr, · line 273
Quoted 8 lines
hw/ssi/sifive_spi.c +1
-1@@ -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