[PATCH 23/31] blkparse: fix allowed event type specifiers for custom output format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



'W' was replaced by 'B' in code but 'W' was not removed from valid specs.
Fixes: bd5e71cf069d ("[PATCH] Fix back descriptors")
'W' (and 'X' for split) had been added to valid specs as a side effect of
remap action support ('A') in commit a8f30e64d4d3 ("[PATCH] Add support
for remap actions").

Signed-off-by: Steffen Maier <maier@xxxxxxxxxxxxx>
---
 blkparse_fmt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/blkparse_fmt.c b/blkparse_fmt.c
index c42e6d7b7219..c110dad10b0b 100644
--- a/blkparse_fmt.c
+++ b/blkparse_fmt.c
@@ -11,7 +11,7 @@
 
 #include "blktrace.h"
 
-#define VALID_SPECS	"ABCDFGIMPQRSTUWX"
+#define VALID_SPECS	"ABCDFGIMPQRSTUX"
 
 #define HEADER		"%D %2c %8s %5T.%9t %5p %2a %3d "
 
-- 
2.14.2

--
To unsubscribe from this list: send the line "unsubscribe linux-btrace" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux