Re: [PATCH 06/10] dependencies: make hostap and atmel depend on kernel >= 4.18

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


On 09/23/2018 10:17 PM, Johannes Berg wrote:
> On Sun, 2018-09-23 at 19:45 +0200, Hauke Mehrtens wrote:
>> The hostap and atmel wireless driver now make use of the
>> proc_create_single_data() function which can not easily be backported.
>> As these drivers are not used too often just deactivate them on older
>> kernel versions for now.
> It should be pretty easy to backport based on proc_create_data(), which
> has been around since 2.6.26?
> johannes

One of the upstream commits is this:

The problem is that these function also get some data so we would have
to provide the data and the show function pointer and store it
somewhere. Most of the proc structures are also private so we can not
easily abuse some unused member.

The affected drivers are anyway not used much any more.


Attachment: signature.asc
Description: OpenPGP digital signature

[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