Tag: bbc8a0044fb27da5fadb7efbfb472aed00c58e72

UBIFS: use kmemdup rather than duplicating its implementation

Author: Andrzej Hajda <a.hajda@samsung.com> The patch was generated using fixed coccinelle semantic patch scripts/coccinelle/api/memdup.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2014320 Signed-off-by: Andrzej Hajda Reviewed-by: Richard Weinberger Signed-off-by: Artem Bityutskiy — fs/ubifs/lpt.c | 6 ++—- fs/ubifs/tnc.c | 3 +– 2 files changed, 3 insertions(+), 6 deletions(-)   diff –git a/fs/ubifs/lpt.c b/fs/ubifs/lpt.c index dc9f27e..9a51710 100644 — a/fs/ubifs/lpt.c +++ b/fs/ubifs/lpt.c @@ …

Continue reading