[PATCH 4.2 117/134] i2c: xgene-slimpro: dma_mapping_error() doesnt return an error code

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit a4a9a8cb3248b3b48a6049acaeaf23d4ad3712b9 upstream. The dma_mapping_error() function returns true if there is an error, it doesn't return an error code. We should return

[PATCH 4.2 117/134] i2c: xgene-slimpro: dma_mapping_error() doesnt return an error code

2015-09-26 Thread Greg Kroah-Hartman
4.2-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit a4a9a8cb3248b3b48a6049acaeaf23d4ad3712b9 upstream. The dma_mapping_error() function returns true if there is an error, it doesn't return an error