[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACVxJT_o-mR5u2XgDbECDM-SSR18j+wDY8pd7=Jb+FGCz4SSTQ@mail.gmail.com>
Date: Thu, 12 Apr 2012 16:23:57 +0300
From: Alexey Dobriyan <adobriyan@...il.com>
To: Cong Wang <xiyou.wangcong@...il.com>
Cc: linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
Oleg Nesterov <oleg@...hat.com>,
Al Viro <viro@...iv.linux.org.uk>,
Vasiliy Kulikov <segoon@...nwall.com>,
David Rientjes <rientjes@...gle.com>,
Hugh Dickins <hughd@...gle.com>,
KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>,
Naoya Horiguchi <n-horiguchi@...jp.nec.com>,
Siddhesh Poyarekar <siddhesh.poyarekar@...il.com>
Subject: Re: [PATCH 6/6] proc: use IS_ERR_OR_NULL()
On Wed, Apr 11, 2012 at 8:59 AM, Cong Wang <xiyou.wangcong@...il.com> wrote:
> - if (mm && !IS_ERR(mm)) {
> + if (!IS_ERR_OR_NULL(mm)) {
I personally find original code way more readable.
--
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