diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2015-05-13 16:04:44 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-05-17 09:41:43 +0100 |
commit | 63223c5f5c11b832586edca28cfc7d2850bc3e44 (patch) | |
tree | fcad1f3ae919d63ed01ea66cd9ef309e6bb990a7 /mm/zswap.c | |
parent | b87b0c0f81e8d11c881b726b886b7502ab67d884 (diff) |
iio: Replace printk in __iio_update_buffers with dev_dbg
While more verbose error messages are useful for debugging we should really
not put those error messages into the kernel log for normal errors that are
already reported to the application via the error code, when running in
non-debug mode.
Otherwise application authors might expect that this is part of the ABI and
to get the error they should scan the kernel log. Which would be rather
error prone itself since there is no direct mapping between a operation and
the error message so it is impossible to find out which error message
belongs to which error.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'mm/zswap.c')
0 files changed, 0 insertions, 0 deletions