All of lore.kernel.org
 help / color / mirror / Atom feed
From: lee.jones@linaro.org (Lee Jones)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] drivers/base: fix compiler warning in SoC export driver - idr should be ida
Date: Sat, 17 Mar 2012 09:12:11 +0000	[thread overview]
Message-ID: <4F64556B.3010505@linaro.org> (raw)
In-Reply-To: <20120317090424.GK15988@n2100.arm.linux.org.uk>

On 17/03/12 09:04, Russell King - ARM Linux wrote:
> 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.

>> Reported-by: Arnd Bergman <arnd@arndb.de>
>> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
>> Signed-off-by: Lee Jones <lee.jones@linaro.org>
>> ---
>>  drivers/base/soc.c |    2 +-
>>  1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/drivers/base/soc.c b/drivers/base/soc.c
>> index 05f1503..e57aec1 100644
>> --- a/drivers/base/soc.c
>> +++ b/drivers/base/soc.c
>> @@ -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,
>> -- 
>> 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


-- 
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

  reply	other threads:[~2012-03-17  9:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-17  9:01 [PATCH] drivers/base: fix compiler warning in SoC export driver - idr should be ida Lee Jones
2012-03-17  9:04 ` Russell King - ARM Linux
2012-03-17  9:12   ` Lee Jones [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-03-17  9:17 Lee Jones
2012-03-17 21:16 ` Arnd Bergmann
2012-03-29 13:46   ` Arnd Bergmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F64556B.3010505@linaro.org \
    --to=lee.jones@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.