Re: [PATCH] kernel/fork.c: use sizeof() instead of sizeof
From: Al Viro
Date: Tue Feb 02 2016 - 23:07:01 EST
On Tue, Feb 02, 2016 at 10:46:07PM -0500, Kevin Easton wrote:
> On Tue, Feb 02, 2016 at 05:04:06PM +0000, Al Viro wrote:
> > the rules for ++ and -- might as well have been ++ postfix-expression and
> > -- postfix-expression resp.
>
> Unless I'm mistaken, * cast-expression yields an lvalue.
D'oh... Obviously correct (and just as obviously, ++*p is valid and quite
common). Shouldn't have posted while half-asleep ;-/ Self-LART applied...