[lkml]   [2017]   [Oct]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 1/2] powerpc/platforms/cell: Delete an error message for a failed memory allocation in three functions

On Thu, 5 Oct 2017 21:36:26 +0200
SF Markus Elfring <> wrote:

> From: Markus Elfring <>
> Date: Thu, 5 Oct 2017 21:04:30 +0200
> Omit extra messages for a memory allocation failure in these
> functions.

this is bogus. All these functions return -1 on any error. Until they
reflect the error in their return value (and it is properly propagated
to the user) there is no way to tell WTF failed without the message.

> This issue was detected by using the Coccinelle software.

... which provides only a hint which should be evaluated by the user.



 \ /
  Last update: 2017-10-05 22:02    [W:0.060 / U:0.284 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site