#ifndef __API_DEBUG_INTERNAL_H__ #define __API_DEBUG_INTERNAL_H__ #include "debug.h" #define __pr(func, fmt, ...) \ do { \ if ((func)) \ (func)("libapi: " fmt, ##__VA_ARGS__); \ } while (0) extern libapi_print_fn_t __pr_warning; extern libapi_print_fn_t __pr_info; extern libapi_print_fn_t __pr_debug; #define pr_warning(fmt, ...) __pr(__pr_warning, fmt, ##__VA_ARGS__) #define pr_info(fmt, ...) __pr(__pr_info, fmt, ##__VA_ARGS__) #define pr_debug(fmt, ...) __pr(__pr_debug, fmt, ##__VA_ARGS__) #endif /* __API_DEBUG_INTERNAL_H__ */ t repository'/>
summaryrefslogtreecommitdiff
path: root/net/rose
diff options
context:
space:
mode:
authorGeorge Spelvin <linux@sciencehorizons.net>2016-05-29 08:05:56 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2016-05-29 07:33:47 -0700
commite0ab7af9bd1c25e40b9a1dbeb2a634b88267b9d7 (patch)
tree0012599b46ccd837c6ce808b808456777f7bb92f /net/rose
parentf2a031b66ec6da1512f9db228e4174ad2c7d2688 (diff)
hash_string: Fix zero-length case for !DCACHE_WORD_ACCESS
The self-test was updated to cover zero-length strings; the function needs to be updated, too. Reported-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: George Spelvin <linux@sciencehorizons.net> Fixes: fcfd2fbf22d2 ("fs/namei.c: Add hashlen_string() function") Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/rose')