Re: [PATCH 1/5] cachefiles: Fix __cachefiles_prepare_write()

From: Simon Horman
Date: Tue Jan 09 2024 - 03:40:53 EST


On Mon, Jan 08, 2024 at 10:31:30PM +0000, David Howells wrote:
> Simon Horman <horms@xxxxxxxxxx> wrote:
>
> > I realise these patches have been accepted, but I have a minor nit:
> > pos is now unsigned, and so cannot be less than zero.
>
> Good point. How about the attached patch. Whilst I would prefer to use
> unsigned long long to avoid the casts, it might

Hi David,

I would also prefer to avoid casts, but I agree this is a good way forward.
Thanks for the quick fix.

Reviewed-by: Simon Horman <horms@xxxxxxxxxx>