From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752241AbXE3IXz (ORCPT ); Wed, 30 May 2007 04:23:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751249AbXE3IXs (ORCPT ); Wed, 30 May 2007 04:23:48 -0400 Received: from ns2.suse.de ([195.135.220.15]:58812 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750978AbXE3IXq (ORCPT ); Wed, 30 May 2007 04:23:46 -0400 From: Andreas Schwab To: Geert Uytterhoeven Cc: Eric Dumazet , Andrew Morton , Linus Torvalds , linux-kernel@vger.kernel.org, linux-m68k@vger.kernel.org, Roman Zippel Subject: Re: [patch 1/2] m68k: runtime patching infrastructure References: <20070528191630.377693320@mail.of.borg> <20070528191715.352919509@mail.of.borg> <20070529173818.fd94ae81.akpm@linux-foundation.org> <465D1020.3030605@cosmosbay.com> X-Yow: Are you still an ALCOHOLIC? Date: Wed, 30 May 2007 10:23:36 +0200 In-Reply-To: (Geert Uytterhoeven's message of "Wed\, 30 May 2007 09\:06\:08 +0200 \(CEST\)") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.97 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Geert Uytterhoeven writes: > I was puzzled by this as well, as there were no compiler warnings... > > Apparently you get a warning only if the _first_ occurrence of a struct > is declared inside a parameter list of a function. The parameter list has its own scope. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."