Re: [PATCH] crypto: hifn_795x: Fix a handful of minor bugs spotted by eye

From: David Miller
Date: Thu May 18 2017 - 00:02:42 EST


From: Logan Gunthorpe <logang@xxxxxxxxxxxx>
Date: Wed, 17 May 2017 21:33:22 -0600

>
>
> On 17/05/17 09:26 PM, Herbert Xu wrote:
>> On Thu, May 18, 2017 at 11:25:06AM +0800, Herbert Xu wrote:
>>> On Fri, Apr 28, 2017 at 11:02:40AM -0600, Logan Gunthorpe wrote:
>>>> * Cleaned up the formatting of ablkcipher_get arguments so it complies
>>>> with kernel style
>>>> * The offset in ablkcipher_get sould be added to the source, not the
>>>> destination. We rename it to soffset for clarity.
>>>> * dst++ should be dst=sg_next(dst)
>>>> * We call kunmap_atomic earlier so we only have to do it once.
>>>> * If ablkcipher_get fails, we should probably ensure the request
>>>> completes with an error.
>
>>> Please don't mix unrelated changes in the same patch.
>
> Seriously? The patch is tiny and those are all incredibly minor changes.

Yes, seriously.

It is the only way to make your changes easy to review and audit.

Please do as Herbert is asking.