Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1468735

Re: [PATCH -next] ARM: pxa: remove duplicated include from spitz.c

From Robert Jarzmik <robert.jarzmik@free.fr>
Newsgroups linux.kernel
Subject Re: [PATCH -next] ARM: pxa: remove duplicated include from spitz.c
Date 2016-08-23 19:30 +0200
Message-ID <s9nGp-72m-13@gated-at.bofh.it> (permalink)
References <s9lEB-5Js-21@gated-at.bofh.it> <s9mKm-6om-31@gated-at.bofh.it> <s9n3I-6xg-45@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Wei Yongjun <weiyj.lk@gmail.com> writes:

> Hi Robert,
> On 08/24/2016 12:24 AM, Robert Jarzmik wrote:
>> Wei Yongjun <weiyj.lk@gmail.com> writes:
>>
>>> Remove duplicated include.
>> How so duplicated ? Can you elaborate please ?
>>
>> Moreover, how do you do think symbol_get() can stay in spitz.c without having
>> this include ?
>
> file linux/module.h included twice as following:
>
> #include <linux/kernel.h>
> #include <linux/module.h>       /* symbol_get ; symbol_put */
> ...
> #include <linux/module.h>
>
> So I think we can remove the dup include.

Ah I see it now.

What you really mean is that you want to revert 12beb346710b ("Merge tag
'pxa-fixes-v4.8' of https://github.com/rjarzmik/linux into randconfig-4.8"),
because :
 - I wasn't carefull enough at review time of
   https://github.com/rjarzmik/linux/commit/5351ca4e70f30e0175265fbf98691528b9a4e990
   https://github.com/rjarzmik/linux/commit/a3c747b96df66a7eb810fef45f3b9e65614712d9
 
 - and because Paul wasn't very carefull when we look at :
   73017a542fd2 ("arm: fix implicit module.h users by adding it to arch/arm as
   required.")

So all in all, I'd prefer a revert with Paul's ack please.
And this time I'll go through my pxa/for-next tree, I was a fool to put that in
pxa/fixes.

Cheers.

-- 
Robert

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH -next] ARM: pxa: remove duplicated include from spitz.c Wei Yongjun <weiyj.lk@gmail.com> - 2016-08-23 17:20 +0200
  Re: [PATCH -next] ARM: pxa: remove duplicated include from spitz.c Robert Jarzmik <robert.jarzmik@free.fr> - 2016-08-23 18:30 +0200
    Re: [PATCH -next] ARM: pxa: remove duplicated include from spitz.c Wei Yongjun <weiyj.lk@gmail.com> - 2016-08-23 18:50 +0200
      Re: [PATCH -next] ARM: pxa: remove duplicated include from spitz.c Robert Jarzmik <robert.jarzmik@free.fr> - 2016-08-23 19:30 +0200
        Re: [PATCH -next] ARM: pxa: remove duplicated include from spitz.c Paul Gortmaker <paul.gortmaker@windriver.com> - 2016-08-23 20:40 +0200

csiph-web