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


Groups > linux.kernel > #1722610

Re: [PATCH 0/4] irda: move it to drivers/staging so we can delete it

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH 0/4] irda: move it to drivers/staging so we can delete it
Date 2017-08-29 18:50 +0200
Message-ID <ujRSa-50m-23@gated-at.bofh.it> (permalink)
References <ujMSv-1Zf-37@gated-at.bofh.it> <ujNER-2wy-7@gated-at.bofh.it> <ujQ02-3Pn-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: Tue, 29 Aug 2017 16:48:50 +0200

> On Tue, Aug 29, 2017 at 02:11:39PM +0200, Geert Uytterhoeven wrote:
>> Hi Greg,
>> 
>> On Tue, Aug 29, 2017 at 1:28 PM, Greg Kroah-Hartman
>> <gregkh@linuxfoundation.org> wrote:
>> > On Tue, Aug 29, 2017 at 01:11:31PM +0200, Stefano Brivio wrote:
>> >> On Tue, 29 Aug 2017 12:59:00 +0200
>> >> Geert Uytterhoeven <geert@linux-m68k.org> wrote:
>> >> > On Sun, Aug 27, 2017 at 5:03 PM, Greg Kroah-Hartman
>> >> > <gregkh@linuxfoundation.org> wrote:
>> >> > > The IRDA code has long been obsolete and broken.  So, to keep people
>> >> > > from trying to use it, and to prevent people from having to maintain it,
>> >> > > let's move it to drivers/staging/ so that we can delete it entirely from
>> >> > > the kernel in a few releases.
>> >> >
>> >> > (diving into an early boot crash)
>> >> >
>> >> > Have you tried running this? ;-)
>> >> >
>> >> > irda_init() and net_dev_init() are both subsys_initcall()s.
>> >> > But the former now runs before the latter, leading to:
>> >> >
>> >> > Unable to handle kernel NULL pointer dereference at virtual address 00000004
>> >>
>> >> Should be fixed by https://patchwork.ozlabs.org/patch/807006/
>> >> ("[net-next] staging: irda: force to be a kernel module") I guess...
>> >
>> > Yup, that's the fix for this issue.
>> >
>> > Geert, does that fix the problem for you?
>> 
>> Thanks, that patch fixes the crash, obviously.
>> 
>> It does mean you can no longer have IrDA in a non-modular kernel.
> 
> Given that irda doesn't really work, I doubt anyone is going to care
> about it :)

The initialization with everything built-in worked fine before your
changes.

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


Thread

[PATCH 0/4] irda: move it to drivers/staging so we can delete it Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-08-27 17:10 +0200
  Re: [PATCH 0/4] irda: move it to drivers/staging so we can delete it Joe Perches <joe@perches.com> - 2017-08-27 17:40 +0200
    Re: [PATCH 0/4] irda: move it to drivers/staging so we can delete it Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-08-27 18:20 +0200
      Re: [PATCH 0/4] irda: move it to drivers/staging so we can delete it Joe Perches <joe@perches.com> - 2017-08-27 18:20 +0200
        Re: [PATCH 0/4] irda: move it to drivers/staging so we can delete it Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-08-27 19:00 +0200
          Re: [PATCH 0/4] irda: move it to drivers/staging so we can delete it Joe Perches <joe@perches.com> - 2017-08-28 01:20 +0200
  Re: [PATCH 0/4] irda: move it to drivers/staging so we can delete  it David Miller <davem@davemloft.net> - 2017-08-29 01:50 +0200
    Re: [PATCH 0/4] irda: move it to drivers/staging so we can delete it Joe Perches <joe@perches.com> - 2017-08-29 01:50 +0200
      Re: [PATCH 0/4] irda: move it to drivers/staging so we can delete it Greg KH <gregkh@linuxfoundation.org> - 2017-08-29 07:10 +0200
    Re: [PATCH 0/4] irda: move it to drivers/staging so we can delete it Ondrej Zary <linux@rainbow-software.org> - 2017-08-29 23:50 +0200
      Re: [PATCH 0/4] irda: move it to drivers/staging so we can delete it Greg KH <gregkh@linuxfoundation.org> - 2017-08-31 06:40 +0200
        Re: [PATCH 0/4] irda: move it to drivers/staging so we can delete it Ondrej Zary <linux@rainbow-software.org> - 2017-08-31 09:40 +0200
  Re: [PATCH 0/4] irda: move it to drivers/staging so we can delete it Geert Uytterhoeven <geert@linux-m68k.org> - 2017-08-29 13:00 +0200
    Re: [PATCH 0/4] irda: move it to drivers/staging so we can delete  it Stefano Brivio <sbrivio@redhat.com> - 2017-08-29 13:20 +0200
      Re: [PATCH 0/4] irda: move it to drivers/staging so we can delete it Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-08-29 13:30 +0200
        Re: [PATCH 0/4] irda: move it to drivers/staging so we can delete it Geert Uytterhoeven <geert@linux-m68k.org> - 2017-08-29 14:20 +0200
          Re: [PATCH 0/4] irda: move it to drivers/staging so we can delete it Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-08-29 16:50 +0200
            Re: [PATCH 0/4] irda: move it to drivers/staging so we can delete  it David Miller <davem@davemloft.net> - 2017-08-29 18:50 +0200
    Re: [PATCH 0/4] irda: move it to drivers/staging so we can delete  it David Miller <davem@davemloft.net> - 2017-08-29 18:40 +0200

csiph-web