diff options
author | Marek Vasut <marex@denx.de> | 2022-05-09 02:30:35 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-05-09 12:48:45 +0100 |
commit | 5c422f0b970d287efa864b8390a02face404db5d (patch) | |
tree | b2b50d91cd1b87f41628eadf461dd8d3efef31a7 /mm/page-writeback.c | |
parent | eedd8a8542b9509d3a2aa8141c60858ac0c5024a (diff) | |
download | linux-5c422f0b970d287efa864b8390a02face404db5d.tar.bz2 |
regmap: Add missing map->bus check
The map->bus can be NULL here, add the missing NULL pointer check.
Fixes: d77e745613680 ("regmap: Add bulk read/write callbacks into regmap_config")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Mark Brown <broonie@kernel.org>
To: linux-kernel@vger.kernel.org
Link: https://lore.kernel.org/r/20220509003035.225272-1-marex@denx.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'mm/page-writeback.c')
0 files changed, 0 insertions, 0 deletions