[lkml]   [2019]   [Jan]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [LKP] [mtd] c4dfa25ab3: kernel_BUG_at_fs/sysfs/file.c
On Wed, Jan 2, 2019 at 8:53 PM Linus Torvalds
<> wrote:


> Greg, Rafael: it does strike me that the "BUG_ON()" in
> sysfs_create_file_ns() could easily have been a
> if (WARN_ON(..))
> return -EINVAL;
> which would have made the machine boot and probably make things easier
> for normal users to report. The kernel test robot doesn't care, but
> non-booting kernels are usually not nice to debug or report for normal
> human beings..

I agree.

This isn't a good enough reason to crash the kernel IMO.


 \ /
  Last update: 2019-01-02 22:45    [W:0.059 / U:1.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site