Skip to contentSkip to conversation

drivers/base: fix compiler warning in SoC export driver - idr should be ida

PATCH New Lee Jones 2 participants 3 messages Mar 17, 2012 Driver core

lore
Share & tools
lore

Lee Jones

author
#0 lore raw

PATCH 1/1 drivers/base: fix compiler warning in SoC export driver - idr should be ida

---
 drivers/base/soc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/base/soc.c +1 -1
index 05f1503..e57aec1 100644
@@ -15,7 +15,7 @@
 #include <linux/sys_soc.h>
 #include <linux/err.h>
 
-static DEFINE_IDR(soc_ida);
+static DEFINE_IDA(soc_ida);
 static DEFINE_SPINLOCK(soc_lock);
 
 static ssize_t soc_info_get(struct device *dev,
Signature · 1 line
1.7.5.4
#1 lore raw

PATCH 1/1 drivers/base: fix compiler warning in SoC export driver - idr should be ida

On Sat, Mar 17, 2012 at 09:01:10AM +0000, Lee Jones wrote:

If you're fixing a warning, please always include the warning in the commit description.

Quoted 27 lines
---
 drivers/base/soc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/base/soc.c +1 -1
index 05f1503..e57aec1 100644
@@ -15,7 +15,7 @@
 #include <linux/sys_soc.h>
 #include <linux/err.h>
 
-static DEFINE_IDR(soc_ida);
+static DEFINE_IDA(soc_ida);
 static DEFINE_SPINLOCK(soc_lock);
 
 static ssize_t soc_info_get(struct device *dev,
Signature · 6 lines
1.7.5.4

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
author
#2 lore raw

PATCH 1/1 drivers/base: fix compiler warning in SoC export driver - idr should be ida

Quoted 4 lines · Russell King - ARM Linux

On Sat, Mar 17, 2012 at 09:01:10AM +0000, Lee Jones wrote:

If you're fixing a warning, please always include the warning in the commit description.

No problem, thanks.

Quoted 27 lines
Quoted 27 lines
---
 drivers/base/soc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/base/soc.c +1 -1
index 05f1503..e57aec1 100644
@@ -15,7 +15,7 @@
 #include <linux/sys_soc.h>
 #include <linux/err.h>
 
-static DEFINE_IDR(soc_ida);
+static DEFINE_IDA(soc_ida);
 static DEFINE_SPINLOCK(soc_lock);
 
 static ssize_t soc_info_get(struct device *dev,
Signature · 6 lines
1.7.5.4

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Signature · 5 lines
Lee Jones
Linaro ST-Ericsson Landing Team Lead
M: +44 77 88 633 515
Linaro.org ? Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog