diff --git a/[refs] b/[refs] index 0fbcbaee18d1..d957c929cf91 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 544adb41077a10d299a1094f12ec55a5843a9bdb +refs/heads/master: acc4988bcf38f9618886eaeb9802aeacc6978ec2 diff --git a/trunk/include/linux/marker.h b/trunk/include/linux/marker.h index 5df879dc3776..430f6adf9762 100644 --- a/trunk/include/linux/marker.h +++ b/trunk/include/linux/marker.h @@ -104,10 +104,16 @@ static inline void marker_update_probe_range(struct marker *begin, #define MARK_NOARGS " " /* To be used for string format validity checking with gcc */ -static inline void __printf(1, 2) __mark_check_format(const char *fmt, ...) +static inline void __printf(1, 2) ___mark_check_format(const char *fmt, ...) { } +#define __mark_check_format(format, args...) \ + do { \ + if (0) \ + ___mark_check_format(format, ## args); \ + } while (0) + extern marker_probe_func __mark_empty_function; extern void marker_probe_cb(const struct marker *mdata,