85e1e1ac34
https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.100 All patches automatically rebased. Build system: bcm53xx ath79 Signed-off-by: Zxl hhyccc <zxlhhy@gmail.com>
27 lines
959 B
Diff
27 lines
959 B
Diff
From 2e8dc541ae207349b51c65391be625ffe1f86e0c Mon Sep 17 00:00:00 2001
|
|
From: "Russell King (Oracle)" <rmk+kernel@armlinux.org.uk>
|
|
Date: Mon, 6 Feb 2023 13:43:41 +0000
|
|
Subject: [PATCH] nvmem: core: remove spurious white space
|
|
|
|
Remove a spurious white space in for the ida_alloc() call.
|
|
|
|
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
|
|
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
|
|
Link: https://lore.kernel.org/r/20230206134356.839737-8-srinivas.kandagatla@linaro.org
|
|
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
|
---
|
|
drivers/nvmem/core.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/drivers/nvmem/core.c
|
|
+++ b/drivers/nvmem/core.c
|
|
@@ -763,7 +763,7 @@ struct nvmem_device *nvmem_register(cons
|
|
if (!nvmem)
|
|
return ERR_PTR(-ENOMEM);
|
|
|
|
- rval = ida_alloc(&nvmem_ida, GFP_KERNEL);
|
|
+ rval = ida_alloc(&nvmem_ida, GFP_KERNEL);
|
|
if (rval < 0) {
|
|
kfree(nvmem);
|
|
return ERR_PTR(rval);
|