[PATCH v1 3/3] checkpatch: warn on usage of VM_BUG_ON() and other BUG variants

David Hildenbrand david at redhat.com
Fri Sep 23 20:58:27 AEST 2022


>> And I think that "Do not crash" is a stronger statement than "Avoid crashing"
>> so I prefer the original suggestion but it's not a big deal either way.
> 
> Yes, stronger wording is better. So how about this:
> 
> "Do not crash the kernel unless it is absolutely unavoidable--use WARN_ON_ONCE() plus recovery code (if feasible) instead of BUG() or variants\n" . $herecurr);

Okay, let's use that.

Thanks!

-- 
Thanks,

David / dhildenb



More information about the Linuxppc-dev mailing list