diff options
Diffstat (limited to 'kernel/trace/trace_output.h')
| -rw-r--r-- | kernel/trace/trace_output.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/trace/trace_output.h b/kernel/trace/trace_output.h index ecab4ea4a4fd..b2c14615e0cd 100644 --- a/kernel/trace/trace_output.h +++ b/kernel/trace/trace_output.h | |||
| @@ -45,14 +45,14 @@ trace_nop_print(struct trace_seq *s, struct trace_entry *entry, int flags); | |||
| 45 | #define SEQ_PUT_FIELD_RET(s, x) \ | 45 | #define SEQ_PUT_FIELD_RET(s, x) \ |
| 46 | do { \ | 46 | do { \ |
| 47 | if (!trace_seq_putmem(s, &(x), sizeof(x))) \ | 47 | if (!trace_seq_putmem(s, &(x), sizeof(x))) \ |
| 48 | return 0; \ | 48 | return TRACE_TYPE_PARTIAL_LINE; \ |
| 49 | } while (0) | 49 | } while (0) |
| 50 | 50 | ||
| 51 | #define SEQ_PUT_HEX_FIELD_RET(s, x) \ | 51 | #define SEQ_PUT_HEX_FIELD_RET(s, x) \ |
| 52 | do { \ | 52 | do { \ |
| 53 | BUILD_BUG_ON(sizeof(x) > MAX_MEMHEX_BYTES); \ | 53 | BUILD_BUG_ON(sizeof(x) > MAX_MEMHEX_BYTES); \ |
| 54 | if (!trace_seq_putmem_hex(s, &(x), sizeof(x))) \ | 54 | if (!trace_seq_putmem_hex(s, &(x), sizeof(x))) \ |
| 55 | return 0; \ | 55 | return TRACE_TYPE_PARTIAL_LINE; \ |
| 56 | } while (0) | 56 | } while (0) |
| 57 | 57 | ||
| 58 | #endif | 58 | #endif |
