On Thu, Dec 06, 2012 at 05:08:56PM +0800, Bin Wang wrote: > This patch removes the trailing white space in fs/sysfs/mount.c. > > Signed-off-by: Bin Wang <wbi...@gmail.com> > --- > fs/sysfs/mount.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Hi Greg,
I am not sure it is really necessary to remove all the trailing blank spaces in the project. I have done a try by this shell command $ find . -iname '*.[ch]' | xargs sed 's/\s\+$//g' -i and find there are 2812 files/31712 lines with this issue. If necessary, I think it's better to run this shell code by yourself in the whole linux-next tree and commit it. Nevertheless, the patch file of my try is available from gist: https://gist.github.com/4225286 Even the diff summary is very large, hence I attach a simple version diff result and commit information here. - cong --- >From 30ed9bb0e6f7c8866447d27c86f466c44749116e Mon Sep 17 00:00:00 2001 From: Cong Ding <ding...@gmail.com> Date: Thu, 6 Dec 2012 15:58:15 +0100 Subject: [PATCH RFC -next] remove all the trailing blank space clean all the trailing blank space by using shell command $ find . -iname '*.[ch]' | xargs sed 's/\s\+$//g' -i I have manually checked a random set of all the changes, and find no error. I also compiled the whole system and tested many times by randconfig. Signed-off-by: Cong Ding <ding...@gmail.com> --- 2812 files changed, 31712 insertions(+), 31712 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/