X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yportenv_multi.h;h=3df7d566ebf5a084e68caf7e1181cbbb9dcc6141;hp=a74d3980657e7c1eaa8df5da738182dadaa35465;hb=3de09ef5a181999f7340462154034b727827e4fa;hpb=f421449422a9107e857d90d306907084dad236fb diff --git a/yportenv_multi.h b/yportenv_multi.h index a74d398..3df7d56 100644 --- a/yportenv_multi.h +++ b/yportenv_multi.h @@ -1,8 +1,7 @@ /* * YAFFS: Yet another Flash File System . A NAND-flash specific file system. * - * Copyright (C) 2002-2010 Aleph One Ltd. - * for Toby Churchill Ltd and Brightstar Engineering + * Copyright (C) 2002-2018 Aleph One Ltd. * * Created by Charles Manning * @@ -73,6 +72,9 @@ ({ int x = __builtin_choose_expr(assertion, 0, (void)0); (void) x; }) +#define yaffs_printf(msk, fmt, ...) \ + printk(KERN_DEBUG "yaffs: " fmt "\n", ##__VA_ARGS__) + #define yaffs_trace(msk, fmt, ...) do { \ if (yaffs_trace_mask & (msk)) \ printk(KERN_DEBUG "yaffs: " fmt "\n", ##__VA_ARGS__); \