summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-09-01 16:23:34 +0300
committerMark Brown <broonie@kernel.org>2022-09-05 13:09:43 +0100
commitf78d5e1168e08429bc948d09b6dc11fec5e019f7 (patch)
treefb9c2c019ad2317868f03c9e61d50823b2a59add /arch
parentd57f2035c0455dfd5e4d29caa0266fad6febe6d6 (diff)
downloadlinux-f78d5e1168e08429bc948d09b6dc11fec5e019f7.tar.bz2
regmap: trace: Remove useless check for NULL for bulk ops
If the buffer pointer is NULL we already are in troubles since regmap bulk API expects caller to provide valid parameters, it dereferences that without any checks before we call for traces. Moreover, the current code will print garbage in the case of buffer is NULL and length is not 0. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20220901132336.33234-1-andriy.shevchenko@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions