From: Jacek Anaszewski <j.anaszewski@samsung.com>
To: Vaishali Thakkar <vthakkar1994@gmail.com>
Cc: linux-leds@vger.kernel.org, Bryan Wu <cooloney@gmail.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] leds: leds-fsg: Use devm_led_classdev_register
Date: Tue, 18 Aug 2015 14:36:55 +0200 [thread overview]
Message-ID: <55D326E7.9010006@samsung.com> (raw)
In-Reply-To: <CAK-LDbJ+6u1cPV7EytypNCAj-MMU5aTaQTySAG=iVma94A-LMQ@mail.gmail.com>
On 08/18/2015 02:14 PM, Vaishali Thakkar wrote:
> On Tue, Aug 18, 2015 at 12:57 PM, Jacek Anaszewski
> <j.anaszewski@samsung.com> wrote:
>> Hi Vaishali,
>>
>> On 08/18/2015 07:46 AM, Vaishali Thakkar wrote:
>>>
>>> On Mon, Aug 17, 2015 at 2:02 PM, Vaishali Thakkar
>>> <vthakkar1994@gmail.com> wrote:
>>>>
>>>>
>>>> On 17 Aug 2015 13:57, "Jacek Anaszewski" <j.anaszewski@samsung.com>
>>>> wrote:
>>>>>
>>>>>
>>>>> Hi Vaishali,
>>>>>
>>>>> Thanks for the patch. Unfortunately it causes build break.
>>>>> Please fix the issues and resubmit.
>>>>
>>>>
>>>> Oops! I am really very sorry. By mistake I sent a basic version of patch
>>>> instead of final one. Thanks for the review.
>>>>
>>>> I'll send v2 with the fix of that build error.
>>>
>>>
>>> Hi Jacek,
>>>
>>> Can you please tell me what are those build errors?
>>> After looking at my patch, I can expect that as I forgot to
>>> remove '.remove = fsg_led_remove' from structure,
>>> it can cause an error. Also, there is one typing mistake in
>>> function name. So, both of these can be a reason for
>>> breaking a build.
>>
>>
>> Those was the errors I experienced too.
>>
>>> Also to be on safe side, I tried to cross compile it for arm
>>> architecture. But to my surprise, it is not compiling properly.
>>> So, it would be good if you can point me to the script you
>>> used for compilation so that I can check it before sending a new
>>> version.
>>
>>
>> I am using arm-linux-gnueabi cross toolchain.
>>
>> config: arch/arm/configs/ixp4xx_defconfig
>>
>> Build command:
>>
>> make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- all
>
> Ok. Thanks for the information. I was using
> https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross.
>
>> After fixing the errors compilation succeeded.
>> Do you have a hardware to test the modifications against?
>
> Ok. I checked with arm-linux-gnueabi cross toolchain
> and fixing these 2 errors allow us to compile the file
> successfully.
>
> No, I don't have a hardware to test these modifications.
> I think this change should not lead to any breakage. But
> yes it is good to test such changes. Can you please test
> it for me (if you have a hardware), so that I can send v2
> with fixing those errors?
I don't have the hardware either. I assumed that you had a personal
interest in modifying this driver, and that you might have had the
hardware. The modifications are pretty straightforward, compile-testing
should suffice. Please submit v2.
--
Best Regards,
Jacek Anaszewski
next prev parent reply other threads:[~2015-08-18 12:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-15 10:21 [PATCH] leds: leds-fsg: Use devm_led_classdev_register Vaishali Thakkar
2015-08-17 8:27 ` Jacek Anaszewski
[not found] ` <CAK-LDbKBwtq9i3Xozew-axZfPOrgTBKrVHEft4ucLEoohnG_xw@mail.gmail.com>
2015-08-18 5:46 ` Vaishali Thakkar
2015-08-18 7:27 ` Jacek Anaszewski
2015-08-18 12:14 ` Vaishali Thakkar
2015-08-18 12:36 ` Jacek Anaszewski [this message]
2015-08-18 13:41 ` Vaishali Thakkar
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=55D326E7.9010006@samsung.com \
--to=j.anaszewski@samsung.com \
--cc=cooloney@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=vthakkar1994@gmail.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