[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1218116952.1033.37.camel@localhost>
Date: Thu, 07 Aug 2008 15:49:12 +0200
From: Martin Schwidefsky <schwidefsky@...ibm.com>
To: Julien Brunel <brunel@...u.dk>
Cc: heiko.carstens@...ibm.com, linux390@...ibm.com,
linux-s390@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] drivers/s390: Use an IS_ERR test rather than a NULL
test
On Thu, 2008-08-07 at 15:42 +0200, Julien Brunel wrote:
> In case of error, functions dasd_kmalloc_request and idal_buffer_alloc
> return an ERR pointer, but never return the NULL pointer. So after a
> call to one of these functions, a NULL test should be replaced by an
> IS_ERR test.
Good findings, many thanks! I'll add it to git390 for the next please
pull.
--
blue skies,
Martin.
"Reality continues to ruin my life." - Calvin.
--
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