[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Sun, 23 Aug 2020 19:01:46 -0700
From: Rustam Kovhaev <rkovhaev@...il.com>
To: Anton Altaparmakov <anton@...era.com>
Cc: "linux-ntfs-dev@...ts.sourceforge.net"
<linux-ntfs-dev@...ts.sourceforge.net>,
LKML <linux-kernel@...r.kernel.org>,
"gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>
Subject: Re: [PATCH] ntfs: add check for mft record size in superblock
On Mon, Aug 24, 2020 at 01:44:06AM +0000, Anton Altaparmakov wrote:
> Hi Rustam,
>
> Thank you for the patch but it introduces an endianness bug - you have to us le32_to_cpu(m->bytes_allocated) both when doing the comparison and then printing the message.
>
> Also, please drop the square brackets. Wherever the driver prints such things it never uses brackets around the numbers and it would be better to have this consistent throughout.
>
> Can you please resend with the above issues addressed? You can then also add to the commit message:
>
> Acked-by: Anton Altaparmakov <anton@...era.com>
>
> Thanks!
>
> Best regards,
>
> Anton
>
hi Anton,
thank you for the review, my bad, i'll get it fixed and i'll resend the patch
Powered by blists - more mailing lists