From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932419AbYEAWP3 (ORCPT ); Thu, 1 May 2008 18:15:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1761524AbYEAWPW (ORCPT ); Thu, 1 May 2008 18:15:22 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:37956 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761515AbYEAWPW (ORCPT ); Thu, 1 May 2008 18:15:22 -0400 Date: Thu, 1 May 2008 15:15:00 -0700 From: Andrew Morton To: Steven Rostedt Cc: adobriyan@gmail.com, linux-kernel@vger.kernel.org, lucho@ionkov.net, ericvh@gmail.com, mingo@elte.hu Subject: Re: [PATCH] fix flags length in net 9p Message-Id: <20080501151500.1afbd227.akpm@linux-foundation.org> In-Reply-To: References: <20080501141919.78b7dc4f.akpm@linux-foundation.org> <20080501222950.GA16470@martell.zuzino.mipt.ru> X-Mailer: Sylpheed version 2.2.4 (GTK+ 2.8.20; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 1 May 2008 17:50:38 -0400 (EDT) Steven Rostedt wrote: > > > > > + typecheck(unsigned long, flags); ooh, I'd forgotten about typecheck. Just use typecheck. The BUILD_BUG_ON is overkill. > We can simply have all users of flags use the new irqflags_t type, and > just do a one time big patch (grant you, that would break all pending > patches before that). But we can also write up a script that can convert > patches as well. y:/usr/src/linux-2.6.25> grep -rl 'unsigned long flags' . | wc -l 2311 eargh. I agree with me.