]> git.karo-electronics.de Git - linux-beck.git/blobdiff - kernel/trace/trace_probe.h
Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
[linux-beck.git] / kernel / trace / trace_probe.h
index b98dee914542491d1441eb3c22c97babb24e695f..f6398db0911424cca72031a7a5831d505fae71b7 100644 (file)
@@ -302,15 +302,15 @@ static nokprobe_inline void call_fetch(struct fetch_param *fprm,
 }
 
 /* Check the name is good for event/group/fields */
-static inline int is_good_name(const char *name)
+static inline bool is_good_name(const char *name)
 {
        if (!isalpha(*name) && *name != '_')
-               return 0;
+               return false;
        while (*++name != '\0') {
                if (!isalpha(*name) && !isdigit(*name) && *name != '_')
-                       return 0;
+                       return false;
        }
-       return 1;
+       return true;
 }
 
 static inline struct event_file_link *