lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
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