summaryrefslogtreecommitdiffstats
path: root/scripts/faddr2line
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2020-06-09 12:46:42 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-10 14:15:55 +0200
commit7ae731a8441d70e5fb6144422a675bf1b2d6ace9 (patch)
treee6ab0a16c839a4caa2a3387ee469e4704b66a333 /scripts/faddr2line
parentdevres: keep both device name and resource name in pretty name (diff)
downloadlinux-7ae731a8441d70e5fb6144422a675bf1b2d6ace9.tar.xz
linux-7ae731a8441d70e5fb6144422a675bf1b2d6ace9.zip
lib: devres: add a comment about the devm_of_iomap() function
We recently introduced a bug when we tried to convert of_iomap() to devm_of_iomap(). The problem was that there were two drivers mapping the same io region. The first driver was using of_iomap() and the second driver was using devm_of_iomap() and the kernel booted fine. When we converted the first drive to use devm_of_iomap() then the second driver failed with -EBUSY and the kernel couldn't boot. Let's add a comment to prevent this sort of mistake in the future. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/20200609104642.GA43074@mwanda Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/faddr2line')
0 files changed, 0 insertions, 0 deletions