Messages in this thread | | | Date | Mon, 22 Oct 2012 15:54:28 -0700 | From | Greg Kroah-Hartman <> | Subject | Re: [PATCHv3 3/6] staging: rts_pstor: reuse kbasename() |
| |
On Tue, Oct 16, 2012 at 02:48:11PM +0300, Andy Shevchenko wrote: > The custom filename function mostly repeats the kernel's kbasename. This patch > simplifies it. The updated filename() will not check for the '\' in the > filenames. It seems redundant in Linux. The __FILE__ macro always defined if > we compile an existing file. Thus, NULL check is not needed there as well. > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> > Cc: YAMANE Toshiaki <yamanetoshi@gmail.com> > Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| |