Re: dlm: clean up a type in waiters_read()
From: Dan Carpenter
Date: Fri Oct 16 2026 - 05:26:35 EST
On Tue, Oct 13, 2026 at 05:27:10PM +0200, Markus Elfring wrote:
> >>> This doesn't affect runtime but "rv" stores error codes and so
> >>> declare it as ssize_t instead of size_t.
> >>
> >> Can a similar adjustment matter also for the local variable “ret”?
> >
> > What do you mean by 'matter'? It's declared as cleanup.
> Can the usage of a data type like “int” become more desirable for “ret”
> according to the affected function implementation?
Either way is a defensible style choice for "ret" so I left it as-is.
regards,
dan carpenter