diff for duplicates of <1473402842-1987-8-git-send-email-hejianet@gmail.com> diff --git a/a/1.txt b/N1/1.txt index f5ea790..701111f 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -70,7 +70,7 @@ index c6fc80e..c6ee8a2 100644 - for (i = 0; snmp4_tcp_list[i].name != NULL; i++) { + for (i = 0; snmp4_tcp_list[i].name; i++) { /* MaxConn field is signed, RFC 2012 */ - if (snmp4_tcp_list[i].entry = TCP_MIB_MAXCONN) + if (snmp4_tcp_list[i].entry == TCP_MIB_MAXCONN) seq_printf(seq, " %ld", buff[i]); @@ -434,10 +434,10 @@ static int snmp_seq_show_tcp_udp(struct seq_file *seq, void *v) snmp_get_cpu_field_batch(buff, snmp4_udp_list, diff --git a/a/content_digest b/N1/content_digest index 102f6b0..f862fba 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\01473402842-1987-1-git-send-email-hejianet@gmail.com\0" "From\0Jia He <hejianet@gmail.com>\0" "Subject\0[RFC PATCH v3 7/7] net: Suppress the \"Comparison to NULL could be written\" warning\0" - "Date\0Fri, 09 Sep 2016 06:34:02 +0000\0" + "Date\0Fri, 9 Sep 2016 14:34:02 +0800\0" "To\0netdev@vger.kernel.org\0" "Cc\0linux-sctp@vger.kernel.org" linux-kernel@vger.kernel.org @@ -90,7 +90,7 @@ "-\tfor (i = 0; snmp4_tcp_list[i].name != NULL; i++) {\n" "+\tfor (i = 0; snmp4_tcp_list[i].name; i++) {\n" " \t\t/* MaxConn field is signed, RFC 2012 */\n" - " \t\tif (snmp4_tcp_list[i].entry = TCP_MIB_MAXCONN)\n" + " \t\tif (snmp4_tcp_list[i].entry == TCP_MIB_MAXCONN)\n" " \t\t\tseq_printf(seq, \" %ld\", buff[i]);\n" "@@ -434,10 +434,10 @@ static int snmp_seq_show_tcp_udp(struct seq_file *seq, void *v)\n" " \tsnmp_get_cpu_field_batch(buff, snmp4_udp_list,\n" @@ -167,4 +167,4 @@ "-- \n" 1.8.3.1 -7e8deea6eea321964bdb4fd9ac3af02a820e9a4a8cb330bf1d872a6b64132f30 +9ade0a701b3abcb7e59edc29ad3a03dbef9575f6ff25b3c9394b7a16c5cc21d7
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.