Re: [PATCH] [RFC v2] qnx: avoid -Wstringop-overread warning, again

From: Anders Larsen
Date: Tue Sep 21 2021 - 11:49:52 EST


On Tuesday, 2021-09-21 17:40 Linus Torvalds wrote:
> I'd rather use that third "clearly neither" structure member, just to
> clarify what is going on.

I'm perfectly fine with that.

> Anyway, I committed my patch that Arnd had tested, with a slightly
> expanded comment. I'm sure yours would have compiled cleanly too.

When it turns up in the tree, I'll cook up a fix for the strlen() issue in
fs/qnx4/namei.c following your scheme.

Cheers
Anders