From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758929Ab2JZSsi (ORCPT ); Fri, 26 Oct 2012 14:48:38 -0400 Received: from mail.kernel.org ([198.145.19.201]:36647 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753818Ab2JZSsf (ORCPT ); Fri, 26 Oct 2012 14:48:35 -0400 Date: Fri, 26 Oct 2012 11:48:33 -0700 From: Greg KH To: yan yan Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] debugfs: pass NULL as the last parameter of debugfs_print_regs32() Message-ID: <20121026184833.GA17121@kroah.com> References: <1351274144-31591-1-git-send-email-clouds.yan@gmail.com> <20121026181323.GD25530@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Sat, Oct 27, 2012 at 02:34:02AM +0800, yan yan wrote: > 2012/10/27 Greg KH : > > On Sat, Oct 27, 2012 at 01:55:42AM +0800, Yan Hong wrote: > >> Pass NULL instead of empty string to debugfs_print_regs32() when > >> prefix is not used, according to the intention of the code. > > > > Is this solving a problem? Is it wrong as-is? Is it causing an issue > > today? > > > > thanks, > > > > greg k-h > > Hmmm ... this function is rarely used, and maybe over-designed. The > 'prefix' feature can be actually removed -- nobody uses it. Then just remove it :) thanks, greg k-h