diff for duplicates of <1456601577.23036.60.camel@gmail.com> diff --git a/a/1.txt b/N1/1.txt index bccb6b3..4a8ad39 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,4 +1,4 @@ -Hi Arnd, +Hi?Arnd, On Thu, 2016-02-25 at 12:37 +0100, Arnd Bergmann wrote: > The spi_lp8841_rtc_probe() function misses an initialization of the @@ -11,7 +11,7 @@ On Thu, 2016-02-25 at 12:37 +0100, Arnd Bergmann wrote: I wasn't getting this warning when I was building the driver. This happened because -Wmaybe-uninitialized is suppressed when CONFIG_CC_OPTIMIZE_FOR_SIZE is selected -(Commit e74fc973b6e531fef1fce8b101ffff05ecfb774c "Turn off -Wmaybe- +(Commit?e74fc973b6e531fef1fce8b101ffff05ecfb774c "Turn off -Wmaybe- uninitialized when building with -Os"). A recent gcc version like 5.3.1 doesn't seem to produce much false @@ -25,88 +25,84 @@ arm-linux-gnueabi-gcc (Debian 5.3.1-8) 5.3.1 20160205 $ make -j 4 -s KCFLAGS=-Wmaybe-uninitialized ipc/shm.c: In function 'SyS_shmdt': ipc/shm.c:1344:59: warning: 'file' may be used uninitialized in this function [-Wmaybe-uninitialized] - ((vma->vm_start - addr)/PAGE_SIZE == vma->vm_pgoff) && - ^ +???????((vma->vm_start - addr)/PAGE_SIZE == vma->vm_pgoff) && +???????????????????????????????????????????????????????????^ ipc/shm.c:1267:15: note: 'file' was declared here - struct file *file; - ^ +? struct file *file; +???????????????^ mm/vmscan.c: In function 'shrink_zone': mm/vmscan.c:2418:18: warning: 'lru_pages' may be used uninitialized in this function [-Wmaybe-uninitialized] - unsigned long lru_pages; - ^ +????unsigned long lru_pages; +??????????????????^ drivers/gpio/gpiolib-of.c: In function 'of_gpiochip_add': drivers/gpio/gpiolib-of.c:221:7: warning: 'dflags' may be used uninitialized in this function [-Wmaybe-uninitialized] - if (gpiod_hog(desc, name, lflags, dflags)) - ^ +???if (gpiod_hog(desc, name, lflags, dflags)) +???????^ drivers/gpio/gpiolib-of.c:211:19: note: 'dflags' was declared here - enum gpiod_flags dflags; - ^ +? enum gpiod_flags dflags; +???????????????????^ drivers/gpio/gpiolib-of.c:221:7: warning: 'lflags' may be used uninitialized in this function [-Wmaybe-uninitialized] - if (gpiod_hog(desc, name, lflags, dflags)) - ^ +???if (gpiod_hog(desc, name, lflags, dflags)) +???????^ drivers/gpio/gpiolib-of.c:210:25: note: 'lflags' was declared here - enum gpio_lookup_flags lflags; - ^ +? enum gpio_lookup_flags lflags; +?????????????????????????^ net/core/dev.c: In function 'validate_xmit_skb_list': net/core/dev.c:2984:15: warning: 'tail' may be used uninitialized in this function [-Wmaybe-uninitialized] - tail->next = skb; - ^ +????tail->next = skb; +???????????????^ drivers/spi/spi-lp8841-rtc.c: In function 'spi_lp8841_rtc_probe': drivers/spi/spi-lp8841-rtc.c:239:9: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] - return ret; - ^ +? return ret; +?????????^ net/sunrpc/svcauth_unix.c: In function 'unix_gid_parse': net/sunrpc/svcauth_unix.c:510:2: warning: 'gids' may be used uninitialized in this function [-Wmaybe-uninitialized] - for (i = 0 ; i < gids ; i++) { - ^ +? for (i = 0 ; i < gids ; i++) { +? ^ In file included from include/linux/sunrpc/svcauth.h:16:0, - from include/linux/sunrpc/svc.h:18, - from include/linux/sunrpc/svcsock.h:12, - from net/sunrpc/svcauth_unix.c:6: +?????????????????from include/linux/sunrpc/svc.h:18, +?????????????????from include/linux/sunrpc/svcsock.h:12, +?????????????????from net/sunrpc/svcauth_unix.c:6: include/linux/sunrpc/cache.h:306:9: warning: 'rv' may be used uninitialized in this function [-Wmaybe-uninitialized] - return rv - boot.tv_sec; - ^ +? return rv - boot.tv_sec; +?????????^ include/linux/sunrpc/cache.h:298:9: note: 'rv' was declared here - time_t rv; - ^ +? time_t rv; +?????????^ net/sunrpc/svcauth_unix.c: In function 'ip_map_parse': include/linux/sunrpc/cache.h:306:9: warning: 'rv' may be used uninitialized in this function [-Wmaybe-uninitialized] - return rv - boot.tv_sec; - ^ +? return rv - boot.tv_sec; +?????????^ include/linux/sunrpc/cache.h:298:9: note: 'rv' was declared here - time_t rv; - ^ +? time_t rv; +?????????^ In file included from net/sunrpc/cache.c:34:0: net/sunrpc/cache.c: In function 'write_flush': include/linux/sunrpc/cache.h:306:9: warning: 'rv' may be used uninitialized in this function [-Wmaybe-uninitialized] - return rv - boot.tv_sec; - ^ +? return rv - boot.tv_sec; +?????????^ include/linux/sunrpc/cache.h:298:9: note: 'rv' was declared here - time_t rv; - ^ +? time_t rv; +?????????^ net/sunrpc/auth_gss/svcauth_gss.c: In function 'rsc_parse': net/sunrpc/auth_gss/svcauth_gss.c:456:22: warning: 'id' may be used uninitialized in this function [-Wmaybe-uninitialized] - rsci.cred.cr_uid = make_kuid(&init_user_ns, id); - ^ +???rsci.cred.cr_uid = make_kuid(&init_user_ns, id); +??????????????????????^ In file included from include/linux/sunrpc/svcauth.h:16:0, - from include/linux/sunrpc/svc.h:18, - from include/linux/sunrpc/auth_gss.h:17, - from net/sunrpc/auth_gss/svcauth_gss.c:46: +?????????????????from include/linux/sunrpc/svc.h:18, +?????????????????from include/linux/sunrpc/auth_gss.h:17, +?????????????????from net/sunrpc/auth_gss/svcauth_gss.c:46: include/linux/sunrpc/cache.h:306:9: warning: 'rv' may be used uninitialized in this function [-Wmaybe-uninitialized] - return rv - boot.tv_sec; - ^ +? return rv - boot.tv_sec; +?????????^ include/linux/sunrpc/cache.h:298:9: note: 'rv' was declared here - time_t rv; - ^ +? time_t rv; +?????????^ net/sunrpc/auth_gss/svcauth_gss.c: In function 'rsi_parse': include/linux/sunrpc/cache.h:306:9: warning: 'rv' may be used uninitialized in this function [-Wmaybe-uninitialized] - return rv - boot.tv_sec; - ^ +? return rv - boot.tv_sec; +?????????^ include/linux/sunrpc/cache.h:298:9: note: 'rv' was declared here - time_t rv; - ^ +? time_t rv; +?????????^ ---8<--- --- -To unsubscribe from this list: send the line "unsubscribe linux-spi" in -the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org -More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/a/content_digest b/N1/content_digest index afd90f2..458ef68 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,15 +1,11 @@ "ref\01456400265-3068525-1-git-send-email-arnd@arndb.de\0" - "ref\01456400265-3068525-1-git-send-email-arnd-r2nGTMty4D4@public.gmane.org\0" - "From\0Sergei Ianovich <ynvich-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>\0" - "Subject\0Re: [PATCH] spi: lp-8841: return correct error code from probe\0" + "From\0ynvich@gmail.com (Sergei Ianovich)\0" + "Subject\0[PATCH] spi: lp-8841: return correct error code from probe\0" "Date\0Sat, 27 Feb 2016 22:32:57 +0300\0" - "To\0Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org>\0" - "Cc\0linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" - linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org - " linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org\0" + "To\0linux-arm-kernel@lists.infradead.org\0" "\00:1\0" "b\0" - "Hi\302\240Arnd,\n" + "Hi?Arnd,\n" "\n" "On Thu, 2016-02-25 at 12:37 +0100, Arnd Bergmann wrote:\n" "> The spi_lp8841_rtc_probe() function misses an initialization of the\n" @@ -22,7 +18,7 @@ "I wasn't getting this warning when I was building the driver. This\n" "happened because -Wmaybe-uninitialized is suppressed when\n" "CONFIG_CC_OPTIMIZE_FOR_SIZE is selected\n" - "(Commit\302\240e74fc973b6e531fef1fce8b101ffff05ecfb774c \"Turn off -Wmaybe-\n" + "(Commit?e74fc973b6e531fef1fce8b101ffff05ecfb774c \"Turn off -Wmaybe-\n" "uninitialized when building with -Os\").\n" "\n" "A recent gcc version like 5.3.1 doesn't seem to produce much false\n" @@ -36,90 +32,86 @@ "$ make -j 4 -s KCFLAGS=-Wmaybe-uninitialized\n" "ipc/shm.c: In function 'SyS_shmdt':\n" "ipc/shm.c:1344:59: warning: 'file' may be used uninitialized in this function [-Wmaybe-uninitialized]\n" - "\302\240\302\240\302\240\302\240\302\240\302\240\302\240((vma->vm_start - addr)/PAGE_SIZE == vma->vm_pgoff) &&\n" - "\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240^\n" + "???????((vma->vm_start - addr)/PAGE_SIZE == vma->vm_pgoff) &&\n" + "???????????????????????????????????????????????????????????^\n" "ipc/shm.c:1267:15: note: 'file' was declared here\n" - "\302\240 struct file *file;\n" - "\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240^\n" + "? struct file *file;\n" + "???????????????^\n" "mm/vmscan.c: In function 'shrink_zone':\n" "mm/vmscan.c:2418:18: warning: 'lru_pages' may be used uninitialized in this function [-Wmaybe-uninitialized]\n" - "\302\240\302\240\302\240\302\240unsigned long lru_pages;\n" - "\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240^\n" + "????unsigned long lru_pages;\n" + "??????????????????^\n" "drivers/gpio/gpiolib-of.c: In function 'of_gpiochip_add':\n" "drivers/gpio/gpiolib-of.c:221:7: warning: 'dflags' may be used uninitialized in this function [-Wmaybe-uninitialized]\n" - "\302\240\302\240\302\240if (gpiod_hog(desc, name, lflags, dflags))\n" - "\302\240\302\240\302\240\302\240\302\240\302\240\302\240^\n" + "???if (gpiod_hog(desc, name, lflags, dflags))\n" + "???????^\n" "drivers/gpio/gpiolib-of.c:211:19: note: 'dflags' was declared here\n" - "\302\240 enum gpiod_flags dflags;\n" - "\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240^\n" + "? enum gpiod_flags dflags;\n" + "???????????????????^\n" "drivers/gpio/gpiolib-of.c:221:7: warning: 'lflags' may be used uninitialized in this function [-Wmaybe-uninitialized]\n" - "\302\240\302\240\302\240if (gpiod_hog(desc, name, lflags, dflags))\n" - "\302\240\302\240\302\240\302\240\302\240\302\240\302\240^\n" + "???if (gpiod_hog(desc, name, lflags, dflags))\n" + "???????^\n" "drivers/gpio/gpiolib-of.c:210:25: note: 'lflags' was declared here\n" - "\302\240 enum gpio_lookup_flags lflags;\n" - "\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240^\n" + "? enum gpio_lookup_flags lflags;\n" + "?????????????????????????^\n" "net/core/dev.c: In function 'validate_xmit_skb_list':\n" "net/core/dev.c:2984:15: warning: 'tail' may be used uninitialized in this function [-Wmaybe-uninitialized]\n" - "\302\240\302\240\302\240\302\240tail->next = skb;\n" - "\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240^\n" + "????tail->next = skb;\n" + "???????????????^\n" "drivers/spi/spi-lp8841-rtc.c: In function 'spi_lp8841_rtc_probe':\n" "drivers/spi/spi-lp8841-rtc.c:239:9: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]\n" - "\302\240 return ret;\n" - "\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240^\n" + "? return ret;\n" + "?????????^\n" "net/sunrpc/svcauth_unix.c: In function 'unix_gid_parse':\n" "net/sunrpc/svcauth_unix.c:510:2: warning: 'gids' may be used uninitialized in this function [-Wmaybe-uninitialized]\n" - "\302\240 for (i = 0 ; i < gids ; i++) {\n" - "\302\240 ^\n" + "? for (i = 0 ; i < gids ; i++) {\n" + "? ^\n" "In file included from include/linux/sunrpc/svcauth.h:16:0,\n" - "\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240from include/linux/sunrpc/svc.h:18,\n" - "\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240from include/linux/sunrpc/svcsock.h:12,\n" - "\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240from net/sunrpc/svcauth_unix.c:6:\n" + "?????????????????from include/linux/sunrpc/svc.h:18,\n" + "?????????????????from include/linux/sunrpc/svcsock.h:12,\n" + "?????????????????from net/sunrpc/svcauth_unix.c:6:\n" "include/linux/sunrpc/cache.h:306:9: warning: 'rv' may be used uninitialized in this function [-Wmaybe-uninitialized]\n" - "\302\240 return rv - boot.tv_sec;\n" - "\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240^\n" + "? return rv - boot.tv_sec;\n" + "?????????^\n" "include/linux/sunrpc/cache.h:298:9: note: 'rv' was declared here\n" - "\302\240 time_t rv;\n" - "\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240^\n" + "? time_t rv;\n" + "?????????^\n" "net/sunrpc/svcauth_unix.c: In function 'ip_map_parse':\n" "include/linux/sunrpc/cache.h:306:9: warning: 'rv' may be used uninitialized in this function [-Wmaybe-uninitialized]\n" - "\302\240 return rv - boot.tv_sec;\n" - "\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240^\n" + "? return rv - boot.tv_sec;\n" + "?????????^\n" "include/linux/sunrpc/cache.h:298:9: note: 'rv' was declared here\n" - "\302\240 time_t rv;\n" - "\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240^\n" + "? time_t rv;\n" + "?????????^\n" "In file included from net/sunrpc/cache.c:34:0:\n" "net/sunrpc/cache.c: In function 'write_flush':\n" "include/linux/sunrpc/cache.h:306:9: warning: 'rv' may be used uninitialized in this function [-Wmaybe-uninitialized]\n" - "\302\240 return rv - boot.tv_sec;\n" - "\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240^\n" + "? return rv - boot.tv_sec;\n" + "?????????^\n" "include/linux/sunrpc/cache.h:298:9: note: 'rv' was declared here\n" - "\302\240 time_t rv;\n" - "\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240^\n" + "? time_t rv;\n" + "?????????^\n" "net/sunrpc/auth_gss/svcauth_gss.c: In function 'rsc_parse':\n" "net/sunrpc/auth_gss/svcauth_gss.c:456:22: warning: 'id' may be used uninitialized in this function [-Wmaybe-uninitialized]\n" - "\302\240\302\240\302\240rsci.cred.cr_uid = make_kuid(&init_user_ns, id);\n" - "\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240^\n" + "???rsci.cred.cr_uid = make_kuid(&init_user_ns, id);\n" + "??????????????????????^\n" "In file included from include/linux/sunrpc/svcauth.h:16:0,\n" - "\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240from include/linux/sunrpc/svc.h:18,\n" - "\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240from include/linux/sunrpc/auth_gss.h:17,\n" - "\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240from net/sunrpc/auth_gss/svcauth_gss.c:46:\n" + "?????????????????from include/linux/sunrpc/svc.h:18,\n" + "?????????????????from include/linux/sunrpc/auth_gss.h:17,\n" + "?????????????????from net/sunrpc/auth_gss/svcauth_gss.c:46:\n" "include/linux/sunrpc/cache.h:306:9: warning: 'rv' may be used uninitialized in this function [-Wmaybe-uninitialized]\n" - "\302\240 return rv - boot.tv_sec;\n" - "\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240^\n" + "? return rv - boot.tv_sec;\n" + "?????????^\n" "include/linux/sunrpc/cache.h:298:9: note: 'rv' was declared here\n" - "\302\240 time_t rv;\n" - "\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240^\n" + "? time_t rv;\n" + "?????????^\n" "net/sunrpc/auth_gss/svcauth_gss.c: In function 'rsi_parse':\n" "include/linux/sunrpc/cache.h:306:9: warning: 'rv' may be used uninitialized in this function [-Wmaybe-uninitialized]\n" - "\302\240 return rv - boot.tv_sec;\n" - "\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240^\n" + "? return rv - boot.tv_sec;\n" + "?????????^\n" "include/linux/sunrpc/cache.h:298:9: note: 'rv' was declared here\n" - "\302\240 time_t rv;\n" - "\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240^\n" - "---8<---\n" - "--\n" - "To unsubscribe from this list: send the line \"unsubscribe linux-spi\" in\n" - "the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org\n" - More majordomo info at http://vger.kernel.org/majordomo-info.html + "? time_t rv;\n" + "?????????^\n" + ---8<--- -78f6b03a3dee2f67f31f37e77f330322e33833d7452ec8a313c6e5bc802f972e +870b3a96828aa6e08c385b8c516bd50dd4ad19d106a65875f52b00ceee250746
diff --git a/a/1.txt b/N2/1.txt index bccb6b3..9595e6a 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -106,7 +106,3 @@ include/linux/sunrpc/cache.h:298:9: note: 'rv' was declared here time_t rv; ^ ---8<--- --- -To unsubscribe from this list: send the line "unsubscribe linux-spi" in -the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org -More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/a/content_digest b/N2/content_digest index afd90f2..dba1ac5 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -1,12 +1,11 @@ "ref\01456400265-3068525-1-git-send-email-arnd@arndb.de\0" - "ref\01456400265-3068525-1-git-send-email-arnd-r2nGTMty4D4@public.gmane.org\0" - "From\0Sergei Ianovich <ynvich-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>\0" + "From\0Sergei Ianovich <ynvich@gmail.com>\0" "Subject\0Re: [PATCH] spi: lp-8841: return correct error code from probe\0" "Date\0Sat, 27 Feb 2016 22:32:57 +0300\0" - "To\0Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org>\0" - "Cc\0linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" - linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org - " linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org\0" + "To\0Arnd Bergmann <arnd@arndb.de>\0" + "Cc\0linux-arm-kernel@lists.infradead.org" + linux-spi@vger.kernel.org + " linux-kernel@vger.kernel.org\0" "\00:1\0" "b\0" "Hi\302\240Arnd,\n" @@ -116,10 +115,6 @@ "include/linux/sunrpc/cache.h:298:9: note: 'rv' was declared here\n" "\302\240 time_t rv;\n" "\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240^\n" - "---8<---\n" - "--\n" - "To unsubscribe from this list: send the line \"unsubscribe linux-spi\" in\n" - "the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org\n" - More majordomo info at http://vger.kernel.org/majordomo-info.html + ---8<--- -78f6b03a3dee2f67f31f37e77f330322e33833d7452ec8a313c6e5bc802f972e +2950a7ff1c9a26ccb2698af772679015592dab1096b547153c4a5ea5fa0afd63
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.