Re: [PATCH] backport: add thermal backports for kernels < 4.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2016-07-08 at 21:49 +0200, Hauke Mehrtens wrote:
> On 02/13/2016 10:46 AM, Luca Coelho wrote:
> > From: Luca Coelho <luciano.coelho@xxxxxxxxx>
> > 
> > There were some API changes in the thermal framework in kernel
> > version
> > 4.3 and also earlier in 3.10.  Backport what is needed to support
> > older kernels.
> > 
> > The 4.3 change is a bit tricky, because it changes the prototypes
> > of
> > some ops.  The solution for that is to add hook functions that will
> > intercept the calls from the thermal framework and convert them to
> > calls that the backported driver provides (namely convert unsigned
> > longs to ints).
> 
> If it is just some int or unsigned long I think it is easier to just
> have a patch or spatch for your driver. I assume that your program
> logic
> does not care about the type.

Johannes and I have simplified this a bit.  I'll send a new version out
soon.


> > 
> > Signed-off-by: Luca Coelho <luciano.coelho@xxxxxxxxx>
> > ---
> 
> Sorry that it took me so long to look into this.

No worries! We were wondering about you. ;)

--
Cheers,
Luca.
--
To unsubscribe from this list: send the line "unsubscribe backports" in



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux