From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756193Ab1IJApw (ORCPT ); Fri, 9 Sep 2011 20:45:52 -0400 Received: from out4.smtp.messagingengine.com ([66.111.4.28]:51622 "EHLO out4.smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755890Ab1IJApv (ORCPT ); Fri, 9 Sep 2011 20:45:51 -0400 X-Sasl-enc: KDdHyfKnlYD3XZSjRdY/SH99/U8wFYDa4QNpvQT70Z31 1315615549 Date: Fri, 9 Sep 2011 17:45:41 -0700 From: Greg KH To: Nitin Gupta Cc: Jerome Marchand , Pekka Enberg , Robert Jennings , Linux Driver Project , linux-kernel , Noah Watkins Subject: Re: [PATCH 3/5] zram: Make gobal variables use unique names Message-ID: <20110910004541.GA27375@kroah.com> References: <1315609264-13632-1-git-send-email-ngupta@vflare.org> <1315609264-13632-4-git-send-email-ngupta@vflare.org> <20110909231028.GA24587@kroah.com> <4E6AB0EA.9090505@vflare.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E6AB0EA.9090505@vflare.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 Fri, Sep 09, 2011 at 08:35:54PM -0400, Nitin Gupta wrote: > On 09/09/2011 07:10 PM, Greg KH wrote: > > > On Fri, Sep 09, 2011 at 07:01:02PM -0400, Nitin Gupta wrote: > >> Global variables 'num_devices' and 'devices' are too > >> general to be global. This patch switches the name to > >> be "zram_devices". > >> > >> Signed-off-by: Noah Watkins > >> Signed-off-by: Nitin Gupta > > > > I've already applied this patch, right? > > > > > I just checked another (staging-next) tree which is sync'ed more > recently and yes this patch has been applied. Since git.kernel.org > seems to be down I couldn't see this change on my working tree. > > However, that previous change actually also renamed module parameter > name 'num_devices' to 'zram_num_devices' which does not make much sense > since the boot parameter would now be 'zram.zram_num_devices='. All > that's needed is to rename that global variable to some less generic > name but the boot/command line parameter name should be retained as > 'zram.num_devices=' which is what this new patch does. > > So, would it possible for you to back-out that original change and apply > this change instead. Or, should I send a new patch series that "fixes" > that previous change? Send a patch that "fixes" it. thanks, greg k-h