From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755673AbcBCEG5 (ORCPT ); Tue, 2 Feb 2016 23:06:57 -0500 Received: from zeniv.linux.org.uk ([195.92.253.2]:36655 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755468AbcBCEG4 (ORCPT ); Tue, 2 Feb 2016 23:06:56 -0500 Date: Wed, 3 Feb 2016 04:02:39 +0000 From: Al Viro To: Kevin Easton Cc: Aleksa Sarai , xypron.glpk@gmx.de, Tejun Heo , koct9i@gmail.com, ebiederm@xmission.com, Wei Tang , linux-kernel@vger.kernel.org, oleg@redhat.com, josh@joshtriplett.org, jason.low2@hp.com, peterz@infradead.org, Ingo Molnar , akpm@linux-foundation.org, kirill.shutemov@linux.intel.com Subject: Re: [PATCH] kernel/fork.c: use sizeof() instead of sizeof Message-ID: <20160203040238.GS17997@ZenIV.linux.org.uk> References: <1454399594-14307-1-git-send-email-tangwei@cmss.chinamobile.com> <20160202091118.GB30393@gmail.com> <20160202154531.GO17997@ZenIV.linux.org.uk> <20160202170406.GP17997@ZenIV.linux.org.uk> <20160203034607.GA4269@la.guarana.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160203034607.GA4269@la.guarana.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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...