Messages in this thread | | | Date | Fri, 28 Sep 2012 11:08:29 +0100 | From | Alan Cox <> | Subject | Re: BUG_ON/panic proliferation. |
| |
> Remove panic calls from drivers/tty/pty.c > > There is no need to panic the system if the allocation/registration of > the pty drivers fails. Instead return an error and fail the module load. > > Signed-off-by: Ryan Mallon <rmallon@gmail.com>
NAK
this is pointless complexity
This is early boot up code. If it fails we ran out of memory before even the base drivers got running. It's already game over.
| |