[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-id: <583D4D97.7030205@samsung.com>
Date: Tue, 29 Nov 2016 18:42:47 +0900
From: Chanwoo Choi <cw00.choi@...sung.com>
To: Peter Foley <pefoley2@...oley.com>, linux-kernel@...r.kernel.org,
myungjoo.ham@...sung.com
Subject: Re: [PATCH] drivers/extcon: Fix incompatible pointer type warning
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@...oley.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
Powered by blists - more mailing lists