diff for duplicates of <47AFB18F.1020006@hp.com> diff --git a/a/1.txt b/N1/1.txt index c084474..23b2dde 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -5,7 +5,8 @@ Alexey Dobriyan wrote: >> @@ -618,7 +618,7 @@ static inline int param_type2af(__be16 t >> static inline int sctp_sanity_check(void) >> { ->> SCTP_ASSERT(sizeof(struct sctp_ulpevent) <>> - sizeof(((struct sk_buff *)0)->cb), +>> SCTP_ASSERT(sizeof(struct sctp_ulpevent) <= +>> - sizeof(((struct sk_buff *)0)->cb), >> + FIELD_SIZEOF(struct sk_buff, cb), >> "SCTP: ulpevent does not fit in skb!\n", return 0); >> diff --git a/a/content_digest b/N1/content_digest index a7cd410..13e8b76 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\020080210211258.GE1754@martell.zuzino.mipt.ru\0" "From\0Vlad Yasevich <vladislav.yasevich@hp.com>\0" "Subject\0Re: [Lksctp-developers] [PATCH 8/8] : Use FIELD_SIZEOF\0" - "Date\0Mon, 11 Feb 2008 02:23:11 +0000\0" + "Date\0Sun, 10 Feb 2008 21:23:11 -0500\0" "To\0Alexey Dobriyan <adobriyan@gmail.com>\0" "Cc\0Julia Lawall <julia@diku.dk>" kernel-janitors@vger.kernel.org @@ -18,7 +18,8 @@ ">> @@ -618,7 +618,7 @@ static inline int param_type2af(__be16 t\n" ">> static inline int sctp_sanity_check(void)\n" ">> {\n" - ">> \tSCTP_ASSERT(sizeof(struct sctp_ulpevent) <>> -\t\t sizeof(((struct sk_buff *)0)->cb),\n" + ">> \tSCTP_ASSERT(sizeof(struct sctp_ulpevent) <=\n" + ">> -\t\t sizeof(((struct sk_buff *)0)->cb),\n" ">> +\t\t FIELD_SIZEOF(struct sk_buff, cb),\n" ">> \t\t \"SCTP: ulpevent does not fit in skb!\\n\", return 0);\n" ">> \n" @@ -42,4 +43,4 @@ "> https://lists.sourceforge.net/lists/listinfo/lksctp-developers\n" > -42ba41fffd1a731de06bb3461d93fa87848a14d46f9987a81e4adf4610839c25 +bbbea71aadc8fc65f9571dd2acb212071b5db7818c3058819b6d06183d139db6
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.