[PATCH] xen: Kconfig: Fix spelling mistake "Maxmium" -> "Maximum"

2022-10-07 Thread Colin Ian King
There is a spelling mistake in a Kconfig description. Fix it. Signed-off-by: Colin Ian King --- drivers/xen/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/xen/Kconfig b/drivers/xen/Kconfig index a65bd92121a5..d5d7c402b651 100644 --- a/drivers/xen/Kconfig

[PATCH] xen/xenbus: Fix spelling mistake "hardward" -> "hardware"

2022-10-04 Thread Colin Ian King
There is a spelling mistake in the module description. Fix it. Signed-off-by: Colin Ian King --- drivers/xen/xen-pciback/xenbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/xen/xen-pciback/xenbus.c b/drivers/xen/xen-pciback/xenbus.c index bde63ef677b8

[PATCH] xen-blkback: remove redundant assignment to variable i

2022-03-18 Thread Colin Ian King
expression, the value is never actually read from 'i' [deadcode.DeadStores] Signed-off-by: Colin Ian King --- drivers/block/xen-blkback/blkback.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/block/xen-blkback/blkback.c b/drivers/block/xen-blkback/blkback.c index

Re: [Xen-devel] [PATCH][next] xen/gntdev: remove redundant non-zero check on ret

2019-11-11 Thread Colin Ian King
On 11/11/2019 13:17, Jürgen Groß wrote: > On 11.11.19 13:31, Colin Ian King wrote: >> On 11/11/2019 12:25, Jürgen Groß wrote: >>> On 11.11.19 13:20, Colin King wrote: >>>> From: Colin Ian King >>>> >>>> The non-zero check on ret is always goin

Re: [Xen-devel] [PATCH][next] xen/gntdev: remove redundant non-zero check on ret

2019-11-11 Thread Colin Ian King
On 11/11/2019 12:25, Jürgen Groß wrote: > On 11.11.19 13:20, Colin King wrote: >> From: Colin Ian King >> >> The non-zero check on ret is always going to be false because >> ret was initialized as zero and the only place it is set to >> non-zero contains a retu