Re: [PATCH] qlogicpti: Return correct error code

2016-03-01 Thread Martin K. Petersen
> "Amitoj" == Amitoj Kaur Chawla writes: Amitoj> The return value of of_ioremap on failure should be -ENODEV and Amitoj> not -1. Applied to 4.6/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line

Re: [PATCH] qlogicpti: Return correct error code

2016-03-01 Thread Hannes Reinecke
On 02/17/2016 09:32 PM, Amitoj Kaur Chawla wrote: > The return value of of_ioremap on failure should be -ENODEV and not > -1. > > Found using Coccinelle. A simplified version of the semantic patch > used is: > > // > @@ > expression *e; > @@ > > e = of_ioremap(...); > if (e == NULL) { > ... >

RE: [PATCH] qlogicpti: Return correct error code

2016-02-29 Thread Seymour, Shane M
Reviewed-by: Shane Seymour -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html