Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967126AbXFHIUc (ORCPT ); Fri, 8 Jun 2007 04:20:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932131AbXFHIUG (ORCPT ); Fri, 8 Jun 2007 04:20:06 -0400 Received: from THUNK.ORG ([69.25.196.29]:44645 "EHLO thunker.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1763659AbXFHIUD (ORCPT ); Fri, 8 Jun 2007 04:20:03 -0400 Date: Fri, 8 Jun 2007 04:19:44 -0400 From: Theodore Tso To: Chris Wright Cc: linux-kernel@vger.kernel.org, stable@kernel.org, Justin Forbes , Zwane Mwaikambo , Randy Dunlap , Dave Jones , Chuck Wolber , Chris Wedgwood , Michael Krufky , Chuck Ebbert , Domenico Andreoli , torvalds@linux-foundation.org, akpm@linux-foundation.org, alan@lxorguk.ukuu.org.uk, Rolf Eike Beer , Greg Kroah-Hartman Subject: Re: [patch 34/54] Fix roundup_pow_of_two(1) Message-ID: <20070608081944.GA12687@thunk.org> Mail-Followup-To: Theodore Tso , Chris Wright , linux-kernel@vger.kernel.org, stable@kernel.org, Justin Forbes , Zwane Mwaikambo , Randy Dunlap , Dave Jones , Chuck Wolber , Chris Wedgwood , Michael Krufky , Chuck Ebbert , Domenico Andreoli , torvalds@linux-foundation.org, akpm@linux-foundation.org, alan@lxorguk.ukuu.org.uk, Rolf Eike Beer , Greg Kroah-Hartman References: <20070608072127.352723000@sous-sol.org> <20070608072220.006310000@sous-sol.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070608072220.006310000@sous-sol.org> User-Agent: Mutt/1.5.13 (2006-08-11) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@thunk.org X-SA-Exim-Scanned: No (on thunker.thunk.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 977 Lines: 25 On Fri, Jun 08, 2007 at 12:22:01AM -0700, Chris Wright wrote: > -stable review patch. If anyone has any objections, please let us know. > --------------------- > > From: Rolf Eike Beer > > Fix roundup_pow_of_two(1) > > 1 is a power of two, therefore roundup_pow_of_two(1) should return 1. It does > in case the argument is a variable but in case it's a constant it behaves > wrong and returns 0. Probably nobody ever did it so this was never noticed. If this doesn't fix a user-visiable bug, should we be including it in the stable patch series? (Assuming that it doesn't, I wouldn't, but I tend to be more conservative about what I would include in a stable production release.) Regards, - Ted - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/