Re: [PATCH] UBIFS: Use kmemdup rather than duplicating itsimplementation

From: Artem Bityutskiy
Date: Thu Nov 17 2011 - 17:29:17 EST


On Sat, 2011-11-12 at 13:03 +0100, Thomas Meyer wrote:
> From: Thomas Meyer <thomas@xxxxxxxx>
>
> Use kmemdup rather than duplicating its implementation
>
> The semantic patch that makes this change is available
> in scripts/coccinelle/api/memdup.cocci.
>
> Signed-off-by: Thomas Meyer <thomas@xxxxxxxx>

Thanks, but could you please send a patch which I can apply using git
am? This one does not apply:

[dedekind@koala ubifs-2.6 (master)]$ patch --dry-run -p1 < ~/tmp/x.mbox
patching file fs/ubifs/tnc.c
patching file fs/ubifs/xattr.c
patch: **** malformed patch at line 94: diff -u -p a/fs/ubifs/lpt.c b/fs/ubifs/lpt.c

Artem.


--
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/