[<prev] [next>] [day] [month] [year] [list]
Message-ID: <548E4A2D.2050603@kernel.dk>
Date: Sun, 14 Dec 2014 19:40:45 -0700
From: Jens Axboe <axboe@...nel.dk>
To: Nicholas Krause <xerofoify@...il.com>
CC: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drivers:block: Remove no longer needed FIXME comment
for the function, add_disk in genhd.c
On 12/13/2014 08:09 PM, Nicholas Krause wrote:
> Removes unneeded fix me comment related to the function, add_disk needing error handling. The function clearly has supported this for a while and the comment is not longer needed
> for the function,add_disk in the file genhd.c.
But it doesn't, really. Proper error handling would be to unroll and
return the error, if it happens. Right now add_disk() can't return an error.
--
Jens Axboe
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists