[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1228727189.15048.1.camel@localhost>
Date: Mon, 08 Dec 2008 10:06:29 +0100
From: Martin Schwidefsky <schwidefsky@...ibm.com>
To: Julia Lawall <julia@...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 1/2] drivers/s390/crypto: Move dereference to after
IS_ERR test
On Sun, 2008-12-07 at 23:14 +0100, Julia Lawall wrote:
> If reply is ERR_PTR(...), then it should not be dereferenced, so I have
> moved the dereference from the declaration to after the IS_ERR test.
Nice finding again. That semantic match tools is really useful.
Thanks, I'll add the patch to my collection.
--
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