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


Groups > linux.kernel > #1666025

Re: [Merge tag 'pci-v4.12-changes' of git] 857f864014: BUG: unable to handle kernel NULL pointer dereference at 00000000000000a8

From Logan Gunthorpe <logang@deltatee.com>
Newsgroups linux.kernel
Subject Re: [Merge tag 'pci-v4.12-changes' of git] 857f864014: BUG: unable to handle kernel NULL pointer dereference at 00000000000000a8
Date 2017-06-14 18:00 +0200
Message-ID <tSiS6-75d-15@gated-at.bofh.it> (permalink)
References (4 earlier) <tRH6a-kl-19@gated-at.bofh.it> <tRLt7-3aP-7@gated-at.bofh.it> <tRLCN-3h8-3@gated-at.bofh.it> <tRLMu-3kB-29@gated-at.bofh.it> <tSdfI-3xZ-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Linus,

On 14/06/17 03:59 AM, Linus Walleij wrote:
> I started to take a stab at it at one point and incorporated some feedback
> from Torvalds etc, it's here:
> https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git/commit/?h=chrdev-warn&id=65e5b1e9eb3f777ab7535b74b490e882eeec79d7

Yes, thanks, I did find your work after a google search. However, seeing
it seems to recover only a handful of numbers with some significant
complexity required it seemed like a stopgap solution anyway. I posted a
proposal in this thread that simply extends the dynamic range into a
region above 256 which seems to work well. This means regular
configurations won't be affected an any configuration requiring more
than 20 dynamic majors will simply end up with high numbers.

So unless anyone can think of a reason why this won't work, it's my
preferred direction.

> Making them all dynamic seemed dangerous because I was afraid
> of userspace ABI breakage because of old userlands with
> static mknod:s.

I agree.

Logan

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


Thread

Re: [Merge tag 'pci-v4.12-changes' of git] 857f864014: BUG: unable  to handle kernel NULL pointer dereference at 00000000000000a8 Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-06-13 06:20 +0200
  Re: [Merge tag 'pci-v4.12-changes' of git] 857f864014: BUG: unable to  handle kernel NULL pointer dereference at 00000000000000a8 Logan Gunthorpe <logang@deltatee.com> - 2017-06-13 06:30 +0200
    Re: [Merge tag 'pci-v4.12-changes' of git] 857f864014: BUG: unable  to handle kernel NULL pointer dereference at 00000000000000a8 Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-06-13 06:40 +0200
      Re: [Merge tag 'pci-v4.12-changes' of git] 857f864014: BUG: unable to  handle kernel NULL pointer dereference at 00000000000000a8 Logan Gunthorpe <logang@deltatee.com> - 2017-06-13 18:30 +0200
        Re: [Merge tag 'pci-v4.12-changes' of git] 857f864014: BUG: unable  to handle kernel NULL pointer dereference at 00000000000000a8 Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-06-13 18:40 +0200
          Re: [Merge tag 'pci-v4.12-changes' of git] 857f864014: BUG: unable to  handle kernel NULL pointer dereference at 00000000000000a8 Logan Gunthorpe <logang@deltatee.com> - 2017-06-13 19:50 +0200
            Re: [Merge tag 'pci-v4.12-changes' of git] 857f864014: BUG: unable  to handle kernel NULL pointer dereference at 00000000000000a8 Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-06-14 07:10 +0200
              Re: [Merge tag 'pci-v4.12-changes' of git] 857f864014: BUG: unable to  handle kernel NULL pointer dereference at 00000000000000a8 Logan Gunthorpe <logang@deltatee.com> - 2017-06-14 08:00 +0200
          Re: [Merge tag 'pci-v4.12-changes' of git] 857f864014: BUG: unable  to handle kernel NULL pointer dereference at 00000000000000a8 Sven-Haegar Koch <haegar@sdinet.de> - 2017-06-13 21:30 +0200
            Re: [Merge tag 'pci-v4.12-changes' of git] 857f864014: BUG: unable  to handle kernel NULL pointer dereference at 00000000000000a8 Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-06-14 07:10 +0200
    Re: [Merge tag 'pci-v4.12-changes' of git] 857f864014: BUG: unable  to handle kernel NULL pointer dereference at 00000000000000a8 Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-06-13 06:40 +0200
      Re: [Merge tag 'pci-v4.12-changes' of git] 857f864014: BUG: unable to  handle kernel NULL pointer dereference at 00000000000000a8 Linus Walleij <linus.walleij@linaro.org> - 2017-06-14 12:00 +0200
        Re: [Merge tag 'pci-v4.12-changes' of git] 857f864014: BUG: unable to  handle kernel NULL pointer dereference at 00000000000000a8 Logan Gunthorpe <logang@deltatee.com> - 2017-06-14 18:00 +0200

csiph-web