[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <OF7F698D80.1B37FCB1-ON802576E4.004A3343-802576E4.004A6117@smsc.com>
Date: Fri, 12 Mar 2010 13:32:07 +0000
From: Steve.Glendinning@...c.com
To: Steve.Glendinning@...c.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 5/6] smsc95xx: check return code from control messages
> +#define check_warn(ret, fmt, args...) \
> + ({ if (ret < 0) netdev_warn(dev->net, fmt, ##args); })
> +
> +#define check_warn_return(ret, format, args...) \
> + ({ if (ret < 0) { netdev_warn(dev->net, fmt, ##args); return ret; }
})
> +
> +#define check_warn_goto_done(ret, format, args...) \
> + ({ if (ret < 0) { netdev_warn(dev->net, fmt, ##args); goto done; }
})
> +
Apologies, this patch is broken.
Please do not apply this anywhere, I'll send a replacement patch shortly.
Steve
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists