mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Chanwoo Choi <cw00.choi@samsung.com>
To: Peter Foley <pefoley2@pefoley.com>,
	linux-kernel@vger.kernel.org, myungjoo.ham@samsung.com
Subject: Re: [PATCH] drivers/extcon: Fix incompatible pointer type warning
Date: Tue, 29 Nov 2016 18:42:47 +0900	[thread overview]
Message-ID: <583D4D97.7030205@samsung.com> (raw)
In-Reply-To: <20161128023720.16666-1-pefoley2@pefoley.com>

On 2016년 11월 28일 11:37, Peter Foley wrote:
>   CC [M]  drivers/extcon/extcon-adc-jack.o
> ../drivers/extcon/extcon-adc-jack.c:115:52: error: incompatible pointer types passing 'const enum extcon *' to parameter of type 'const unsigned int *' [-Werror,-Wincompatible-pointer-types]
>         data->edev = devm_extcon_dev_allocate(&pdev->dev, pdata->cable_names);
>                                                           ^~~~~~~~~~~~~~~~~~
> ../include/linux/extcon.h:240:30: note: passing argument to parameter 'cable' here
>                                                    const unsigned int *cable);
>                                                                        ^
> 1 error generated.
> 
> Signed-off-by: Peter Foley <pefoley2@pefoley.com>
> ---
>  include/linux/extcon/extcon-adc-jack.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Applied it. Thanks.

I modify the patch title as following:
- old : drivers/extcon: Fix incompatible pointer type warning
- new : extcon: adc-jack: Fix incompatible pointer type warning

-- 
Best Regards,
Chanwoo Choi

      reply	other threads:[~2016-11-29  9:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20161128023736epcas2p449756cd8c14670b4debcecd872d529ee@epcas2p4.samsung.com>
2016-11-28  2:37 ` Peter Foley
2016-11-29  9:42   ` Chanwoo Choi [this message]

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=583D4D97.7030205@samsung.com \
    --to=cw00.choi@samsung.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=myungjoo.ham@samsung.com \
    --cc=pefoley2@pefoley.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

Powered by JetHome