From e47103b1af5df52fa69e18b14d3012472f78817d Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Mon, 24 May 2010 14:33:00 -0700 Subject: [PATCH] err.h: add __must_check to error pointer handlers Add __must_check to error pointer handlers to have the compiler warn about mistakes like: if (err) ERR_PTR(err); It found two bugs: Mar 12 Nikula Jani [PATCH] enclosure: fix error path - actually return ERR_PTR() on error Mar 12 Nikula Jani [PATCH] sunrpc: fix error path - actually return ERR_PTR() on error Signed-off-by: Jani Nikula Cc: Phil Carmody Cc: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-format-patch failed