[lkml]   [2014]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC PATCH] checkpatch: Attempt to find unnecessary 'out of memory' messages
Acked-by: Dan Carpenter <>

This check introduces 1849 new warnings. I looked through
the first 70 warnings and there were no false positives.

Besides the bloat issue, I don't like these warnings because they make
the error handling harder to read. They are sort of a mindless thing
that people feel they have to do for no particular reason. Since
people aren't thinking when they write the error message then you get
NULL dereferences and so on.

dan carpenter

 \ /
  Last update: 2014-06-11 10:21    [W:0.099 / U:1.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site