Messages in this thread |  | | Date | Sat, 27 Oct 2012 08:07:15 -0700 | | From | Greg KH <> | | Subject | Re: [PATCH 1/5] debugfs: pass NULL as the last parameter of debugfs_print_regs32() |
| |
On Sat, Oct 27, 2012 at 04:05:25PM +0800, Yan Hong wrote: > If 'prefix' is not used, pass NULL instead of empty string as the > last parameter of debugfs_print_regs32(). > > Cc: Alessandro Rubini <rubini@gnudd.com> > > Signed-off-by: Yan Hong <clouds.yan@gmail.com> > --- > > This function is only used (twice) by the author of it, and the > 'prefix' feature is never used. But it's a well-documented debugfs > API. It's added one year ago and appeared in many documents. I still > prefer to let this API stay unchanged and treat the empty string as > typo.
What "documents" did this appear in? If the parameter isn't being used, please, just delete it.
greg k-h
|  |