diff options
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -9,11 +9,10 @@ } \ }) -#define ORFAIL_PTR(cond, lvalue, label) \ +#define ORFAIL_PTR(ptr, label) \ ({ \ - lvalue = (cond); \ - if (IS_ERR(lvalue)) { \ - err = PTR_ERR(lvalue); \ + if (IS_ERR(ptr)) { \ + err = PTR_ERR(ptr); \ goto label; \ } \ }) |