public inbox for linux-next@vger.kernel.org
 help / color / mirror / Atom feed
From: Jean Delvare <khali@linux-fr.org>
To: vibi_sreenivasan@cms.com
Cc: linux-next@vger.kernel.org,
	"Ben Dooks (embedded platforms)" <ben-linux@fluff.org>
Subject: Re: [PATCH]:Fix warnings from drivers/i2c/i2c-core.c
Date: Sat, 29 Aug 2009 13:31:25 +0200	[thread overview]
Message-ID: <20090829133125.1ecebfb3@hyperion.delvare> (raw)
In-Reply-To: <1249977226.2400.13.camel@HunTEr>

Hi Vibi,

On Tue, 11 Aug 2009 13:23:46 +0530, vibi sreenivasan wrote:
> 
> Fix Following Warnings
> 
> drivers/i2c/i2c-core.c:234: warning: initialization from incompatible pointer type
> drivers/i2c/i2c-core.c:537: warning: initialization from incompatible pointer type

Thanks for reporting. Please add the linux-i2c list in Cc next time too.

> Signed-off-by: vibi sreenivasan, CMS COMPUTERS LTD, INDIA <vibi_sreenivasan@cms.com>

Signed-off-by lines should only include developer names, not companies
names nor countries.

> ---
>  drivers/i2c/i2c-core.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/i2c/i2c-core.c b/drivers/i2c/i2c-core.c
> index eeb9ae5..8d80fce 100644
> --- a/drivers/i2c/i2c-core.c
> +++ b/drivers/i2c/i2c-core.c
> @@ -214,7 +214,7 @@ static struct attribute_group i2c_dev_attr_group = {
>         .attrs          = i2c_dev_attrs,
>  };
>  
> -static struct attribute_group *i2c_dev_attr_groups[] = {
> +static const struct attribute_group *i2c_dev_attr_groups[] = {
>         &i2c_dev_attr_group,
>         NULL
>  };
> @@ -528,7 +528,7 @@ static struct attribute_group i2c_adapter_attr_group = {
>         .attrs          = i2c_adapter_attrs,
>  };
>  
> -static struct attribute_group *i2c_adapter_attr_groups[] = {
> +static const struct attribute_group *i2c_adapter_attr_groups[] = {
>         &i2c_adapter_attr_group,
>         NULL
>  };

Patch was corrupted by your e-mail client, I wasn't able to apply it.
Please check your configuration for next time.

Anyway, as these warnings are introduced by patches which have not been
committed yet, I will update these patches rather than adding the fixes
as a separate patch.

-- 
Jean Delvare

           reply	other threads:[~2009-08-29 11:31 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <1249977226.2400.13.camel@HunTEr>]

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=20090829133125.1ecebfb3@hyperion.delvare \
    --to=khali@linux-fr.org \
    --cc=ben-linux@fluff.org \
    --cc=linux-next@vger.kernel.org \
    --cc=vibi_sreenivasan@cms.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox