Re: [PATCH 1/3] debugfs: pass NULL as the last parameter of debugfs_print_regs32()

From: yan yan
Date: Fri Oct 26 2012 - 14:33:55 EST


2012/10/27 Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx>:
> 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.

As to the empty string, it looks like a typo to me.

Thanks
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/