lkml.org 
[lkml]   [2012]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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.



\
 
 \ /
  Last update: 2012-09-28 12:41    [W:0.045 / U:2.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site