summaryrefslogtreecommitdiff
path: root/tprintf.h
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2015-11-05 22:54:05 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2015-11-05 22:54:05 +0100
commitf91b1752029fffce868e3331a23c1c8ee741b372 (patch)
tree69068dbec80a5e315c576a5bbb5fdeed15ac93e5 /tprintf.h
parent652bcb10a32bb898c16f4ba16c07ad6a1cdfda74 (diff)
trafgen: let the kernel check min/max transm. unit boundaries
Let AF_PACKET do this job to fail in case boundaries are too small or too large. I found it quite useful for testing the kernel. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tprintf.h')
0 files changed, 0 insertions, 0 deletions
v class='commit-msg'>dpcm_state_string() returns a pointer to a string literal. Modifying a string literal causes undefined behaviour. So make the return type of the function const char * to make it explicit that the returned value should not be modified. This patch is purely cosmetic, none of the users of dpcm_state_string() attempt to modify the returned content. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/i2c/fault-codes')