Tag: 186482560f660b8dbf77ee43aa6489cb45d342cd

ceph: Use kmemdup rather than duplicating its implementation

Author: Thomas Meyer <thomas@m3y3r.de> 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 Signed-off-by: Sage Weil — net/ceph/crypto.c | 3 +– 1 file changed, 1 insertion(+), 2 deletions(-)   diff –git a/net/ceph/crypto.c b/net/ceph/crypto.c index 85f3bc0..b780cb7 100644 — a/net/ceph/crypto.c +++ b/net/ceph/crypto.c @@ -15,10 +15,9 …

Continue reading