Re: [PATCH 6/6] proc: use IS_ERR_OR_NULL()

Alexey Dobriyan
2012-04-12T13:23:59Z

On Wed, Apr 11, 2012 at 8:59 AM, Cong Wang <xiyou.wangcong@gmail.com> wrote:
> -       if (mm && !IS_ERR(mm)) {
> +       if (!IS_ERR_OR_NULL(mm)) {

I personally find original code way more readable.