diff for duplicates of <513EBFA3.4070303@cn.fujitsu.com> diff --git a/a/1.txt b/N1/1.txt index 5ea78a8..10f7c45 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -33,7 +33,8 @@ index 1c2e46c..eaee00c 100644 /* Allocate and initialize the endpoint hash table. */ sctp_ep_hashsize = 64; - sctp_ep_hashtable = (struct sctp_hashbucket *) -+ sctp_ep_hashtable kmalloc(64 * sizeof(struct sctp_hashbucket), GFP_KERNEL); ++ sctp_ep_hashtable = + kmalloc(64 * sizeof(struct sctp_hashbucket), GFP_KERNEL); if (!sctp_ep_hashtable) { pr_err("Failed endpoint_hash alloc\n"); -- diff --git a/a/content_digest b/N1/content_digest index 8e2f2d1..a659145 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\0513EB23D.7020303@cn.fujitsu.com\0" "From\0Zhang Yanfei <zhangyanfei@cn.fujitsu.com>\0" "Subject\0[PATCH 18/18] net: sctp: remove cast for kmalloc/kzalloc return value\0" - "Date\0Tue, 12 Mar 2013 05:39:47 +0000\0" + "Date\0Tue, 12 Mar 2013 13:39:47 +0800\0" "To\0Vlad Yasevich <vyasevich@gmail.com>" Sridhar Samudrala <sri@us.ibm.com> Neil Horman <nhorman@tuxdriver.com> @@ -45,10 +45,11 @@ " \t/* Allocate and initialize the endpoint hash table. */\n" " \tsctp_ep_hashsize = 64;\n" "-\tsctp_ep_hashtable = (struct sctp_hashbucket *)\n" - "+\tsctp_ep_hashtable \t\tkmalloc(64 * sizeof(struct sctp_hashbucket), GFP_KERNEL);\n" + "+\tsctp_ep_hashtable =\n" + " \t\tkmalloc(64 * sizeof(struct sctp_hashbucket), GFP_KERNEL);\n" " \tif (!sctp_ep_hashtable) {\n" " \t\tpr_err(\"Failed endpoint_hash alloc\\n\");\n" "-- \n" 1.7.1 -0edc887f2f14647f39589f7bc9290e9b02b45e67d32aab87a6aa1f039461507c +d92bfe57078bcfcaefa1cfbf58fd457f5ddf1443002aa3130304629438848d01
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.