summaryrefslogtreecommitdiff
path: root/license.txt
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2012-04-09 18:26:40 +0200
committerTobias Klauser <tklauser@distanz.ch>2012-04-09 18:26:40 +0200
commit2ada29db9b62cbdf90e9953dc1b00905bb6c250d (patch)
tree611f990c24e1f0164fe243876b5d91e3874265cd /license.txt
parent3da81083ed0968cb20a50a5c4922e260b3a0d7b0 (diff)
Update Standards-Version and debhelper compatibilityHEADmaster
Diffstat (limited to 'license.txt')
0 files changed, 0 insertions, 0 deletions
when memremap failed
devm_memremap() returns an ERR_PTR() value in case of error. However, it returns NULL when memremap() failed. This causes the caller, such as the pmem driver, to proceed and oops later. Change devm_memremap() to return ERR_PTR(-ENXIO) when memremap() failed. Signed-off-by: Toshi Kani <toshi.kani@hpe.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: <stable@vger.kernel.org> Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'kernel/memremap.c')