diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-07-15 03:29:00 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-08-06 00:11:48 +0200 |
commit | 64526370d11ce8868ca495723d595b61e8697fbf (patch) | |
tree | 6fa4e4c5329cd05b5d8c62b42fe5a540ea779b34 /Documentation/filesystems/sysfs.txt | |
parent | Linux 4.2-rc4 (diff) | |
download | linux-64526370d11ce8868ca495723d595b61e8697fbf.tar.xz linux-64526370d11ce8868ca495723d595b61e8697fbf.zip |
devres: fix devres_get()
Currently, devres_get() passes devres_free() the pointer to devres,
but devres_free() should be given with the pointer to resource data.
Fixes: 9ac7849e35f7 ("devres: device resource management")
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Tejun Heo <tj@kernel.org>
Cc: stable <stable@vger.kernel.org> # 2.6.21+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/filesystems/sysfs.txt')
0 files changed, 0 insertions, 0 deletions