[PATCH 4.2.y-ckt 083/206] crypto: caam - fix caam_jr_alloc() ret code

2016-06-09 Thread Kamal Mostafa
4.2.8-ckt12 -stable review patch. If anyone has any objections, please let me know. ---8< From: Catalin Vasile commit e930c765ca5c6b039cd22ebfb4504ea7b5dab43d upstream. caam_jr_alloc() used to return NULL if a

[PATCH 4.2.y-ckt 083/206] crypto: caam - fix caam_jr_alloc() ret code

2016-06-09 Thread Kamal Mostafa
4.2.8-ckt12 -stable review patch. If anyone has any objections, please let me know. ---8< From: Catalin Vasile commit e930c765ca5c6b039cd22ebfb4504ea7b5dab43d upstream. caam_jr_alloc() used to return NULL if a JR device could not