diff for duplicates of <202311141902.A5AE1300@keescook> diff --git a/a/1.txt b/N1/1.txt index 14a9cca..d978dae 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -20,14 +20,14 @@ On Tue, Nov 14, 2023 at 01:53:08PM -0600, Gustavo A. R. Silva wrote: > 193 u8 fan_tach_ch_source[16]; > 196 }; > -> In function ?aspeed_create_fan_tach_channel?, -> inlined from ?aspeed_create_fan? at drivers/hwmon/aspeed-pwm-tacho.c:877:2, -> inlined from ?aspeed_pwm_tacho_probe? at drivers/hwmon/aspeed-pwm-tacho.c:936:9: +> In function ‘aspeed_create_fan_tach_channel’, +> inlined from ‘aspeed_create_fan’ at drivers/hwmon/aspeed-pwm-tacho.c:877:2, +> inlined from ‘aspeed_pwm_tacho_probe’ at drivers/hwmon/aspeed-pwm-tacho.c:936:9: > drivers/hwmon/aspeed-pwm-tacho.c:751:49: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] > 751 | priv->fan_tach_ch_source[index] = pwm_source; > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -> drivers/hwmon/aspeed-pwm-tacho.c: In function ?aspeed_pwm_tacho_probe?: -> drivers/hwmon/aspeed-pwm-tacho.c:193:12: note: at offset [48, 255] into destination object ?fan_tach_ch_source? of size 16 +> drivers/hwmon/aspeed-pwm-tacho.c: In function ‘aspeed_pwm_tacho_probe’: +> drivers/hwmon/aspeed-pwm-tacho.c:193:12: note: at offset [48, 255] into destination object ‘fan_tach_ch_source’ of size 16 > 193 | u8 fan_tach_ch_source[16]; > | ^~~~~~~~~~~~~~~~~~ > diff --git a/a/content_digest b/N1/content_digest index 8514b9b..6069cfc 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,8 +1,17 @@ "ref\0ZVPQJIP26dIzRAr6@work\0" "From\0Kees Cook <keescook@chromium.org>\0" - "Subject\0[PATCH v2][next] hwmon: (aspeed-pwm-tacho) Fix -Wstringop-overflow warning in aspeed_create_fan_tach_channel()\0" + "Subject\0Re: [PATCH v2][next] hwmon: (aspeed-pwm-tacho) Fix -Wstringop-overflow warning in aspeed_create_fan_tach_channel()\0" "Date\0Tue, 14 Nov 2023 19:03:38 -0800\0" - "To\0linux-aspeed@lists.ozlabs.org\0" + "To\0Gustavo A. R. Silva <gustavoars@kernel.org>\0" + "Cc\0Jean Delvare <jdelvare@suse.com>" + Guenter Roeck <linux@roeck-us.net> + Joel Stanley <joel@jms.id.au> + Andrew Jeffery <andrew@codeconstruct.com.au> + linux-hwmon@vger.kernel.org + linux-arm-kernel@lists.infradead.org + linux-aspeed@lists.ozlabs.org + linux-kernel@vger.kernel.org + " linux-hardening@vger.kernel.org\0" "\00:1\0" "b\0" "On Tue, Nov 14, 2023 at 01:53:08PM -0600, Gustavo A. R. Silva wrote:\n" @@ -27,14 +36,14 @@ "> 193 u8 fan_tach_ch_source[16];\n" "> 196 };\n" "> \n" - "> In function ?aspeed_create_fan_tach_channel?,\n" - "> inlined from ?aspeed_create_fan? at drivers/hwmon/aspeed-pwm-tacho.c:877:2,\n" - "> inlined from ?aspeed_pwm_tacho_probe? at drivers/hwmon/aspeed-pwm-tacho.c:936:9:\n" + "> In function \342\200\230aspeed_create_fan_tach_channel\342\200\231,\n" + "> inlined from \342\200\230aspeed_create_fan\342\200\231 at drivers/hwmon/aspeed-pwm-tacho.c:877:2,\n" + "> inlined from \342\200\230aspeed_pwm_tacho_probe\342\200\231 at drivers/hwmon/aspeed-pwm-tacho.c:936:9:\n" "> drivers/hwmon/aspeed-pwm-tacho.c:751:49: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]\n" "> 751 | priv->fan_tach_ch_source[index] = pwm_source;\n" "> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~\n" - "> drivers/hwmon/aspeed-pwm-tacho.c: In function ?aspeed_pwm_tacho_probe?:\n" - "> drivers/hwmon/aspeed-pwm-tacho.c:193:12: note: at offset [48, 255] into destination object ?fan_tach_ch_source? of size 16\n" + "> drivers/hwmon/aspeed-pwm-tacho.c: In function \342\200\230aspeed_pwm_tacho_probe\342\200\231:\n" + "> drivers/hwmon/aspeed-pwm-tacho.c:193:12: note: at offset [48, 255] into destination object \342\200\230fan_tach_ch_source\342\200\231 of size 16\n" "> 193 | u8 fan_tach_ch_source[16];\n" "> | ^~~~~~~~~~~~~~~~~~\n" "> \n" @@ -53,4 +62,4 @@ "-- \n" Kees Cook -21951b2884b70bfc77580cf69bb513c6b36e0074aee7bf252ec893029ab923d1 +e0baadf44955b43d92f6ba86530519b3761a784398c713ef07c887f20b95d6cf
diff --git a/a/1.txt b/N2/1.txt index 14a9cca..4e31360 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -20,14 +20,14 @@ On Tue, Nov 14, 2023 at 01:53:08PM -0600, Gustavo A. R. Silva wrote: > 193 u8 fan_tach_ch_source[16]; > 196 }; > -> In function ?aspeed_create_fan_tach_channel?, -> inlined from ?aspeed_create_fan? at drivers/hwmon/aspeed-pwm-tacho.c:877:2, -> inlined from ?aspeed_pwm_tacho_probe? at drivers/hwmon/aspeed-pwm-tacho.c:936:9: +> In function ‘aspeed_create_fan_tach_channel’, +> inlined from ‘aspeed_create_fan’ at drivers/hwmon/aspeed-pwm-tacho.c:877:2, +> inlined from ‘aspeed_pwm_tacho_probe’ at drivers/hwmon/aspeed-pwm-tacho.c:936:9: > drivers/hwmon/aspeed-pwm-tacho.c:751:49: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] > 751 | priv->fan_tach_ch_source[index] = pwm_source; > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -> drivers/hwmon/aspeed-pwm-tacho.c: In function ?aspeed_pwm_tacho_probe?: -> drivers/hwmon/aspeed-pwm-tacho.c:193:12: note: at offset [48, 255] into destination object ?fan_tach_ch_source? of size 16 +> drivers/hwmon/aspeed-pwm-tacho.c: In function ‘aspeed_pwm_tacho_probe’: +> drivers/hwmon/aspeed-pwm-tacho.c:193:12: note: at offset [48, 255] into destination object ‘fan_tach_ch_source’ of size 16 > 193 | u8 fan_tach_ch_source[16]; > | ^~~~~~~~~~~~~~~~~~ > @@ -45,3 +45,8 @@ Reviewed-by: Kees Cook <keescook@chromium.org> -- Kees Cook + +_______________________________________________ +linux-arm-kernel mailing list +linux-arm-kernel@lists.infradead.org +http://lists.infradead.org/mailman/listinfo/linux-arm-kernel diff --git a/a/content_digest b/N2/content_digest index 8514b9b..316d537 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -1,8 +1,17 @@ "ref\0ZVPQJIP26dIzRAr6@work\0" "From\0Kees Cook <keescook@chromium.org>\0" - "Subject\0[PATCH v2][next] hwmon: (aspeed-pwm-tacho) Fix -Wstringop-overflow warning in aspeed_create_fan_tach_channel()\0" + "Subject\0Re: [PATCH v2][next] hwmon: (aspeed-pwm-tacho) Fix -Wstringop-overflow warning in aspeed_create_fan_tach_channel()\0" "Date\0Tue, 14 Nov 2023 19:03:38 -0800\0" - "To\0linux-aspeed@lists.ozlabs.org\0" + "To\0Gustavo A. R. Silva <gustavoars@kernel.org>\0" + "Cc\0Jean Delvare <jdelvare@suse.com>" + Guenter Roeck <linux@roeck-us.net> + Joel Stanley <joel@jms.id.au> + Andrew Jeffery <andrew@codeconstruct.com.au> + linux-hwmon@vger.kernel.org + linux-arm-kernel@lists.infradead.org + linux-aspeed@lists.ozlabs.org + linux-kernel@vger.kernel.org + " linux-hardening@vger.kernel.org\0" "\00:1\0" "b\0" "On Tue, Nov 14, 2023 at 01:53:08PM -0600, Gustavo A. R. Silva wrote:\n" @@ -27,14 +36,14 @@ "> 193 u8 fan_tach_ch_source[16];\n" "> 196 };\n" "> \n" - "> In function ?aspeed_create_fan_tach_channel?,\n" - "> inlined from ?aspeed_create_fan? at drivers/hwmon/aspeed-pwm-tacho.c:877:2,\n" - "> inlined from ?aspeed_pwm_tacho_probe? at drivers/hwmon/aspeed-pwm-tacho.c:936:9:\n" + "> In function \342\200\230aspeed_create_fan_tach_channel\342\200\231,\n" + "> inlined from \342\200\230aspeed_create_fan\342\200\231 at drivers/hwmon/aspeed-pwm-tacho.c:877:2,\n" + "> inlined from \342\200\230aspeed_pwm_tacho_probe\342\200\231 at drivers/hwmon/aspeed-pwm-tacho.c:936:9:\n" "> drivers/hwmon/aspeed-pwm-tacho.c:751:49: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]\n" "> 751 | priv->fan_tach_ch_source[index] = pwm_source;\n" "> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~\n" - "> drivers/hwmon/aspeed-pwm-tacho.c: In function ?aspeed_pwm_tacho_probe?:\n" - "> drivers/hwmon/aspeed-pwm-tacho.c:193:12: note: at offset [48, 255] into destination object ?fan_tach_ch_source? of size 16\n" + "> drivers/hwmon/aspeed-pwm-tacho.c: In function \342\200\230aspeed_pwm_tacho_probe\342\200\231:\n" + "> drivers/hwmon/aspeed-pwm-tacho.c:193:12: note: at offset [48, 255] into destination object \342\200\230fan_tach_ch_source\342\200\231 of size 16\n" "> 193 | u8 fan_tach_ch_source[16];\n" "> | ^~~~~~~~~~~~~~~~~~\n" "> \n" @@ -51,6 +60,11 @@ "Reviewed-by: Kees Cook <keescook@chromium.org>\n" "\n" "-- \n" - Kees Cook + "Kees Cook\n" + "\n" + "_______________________________________________\n" + "linux-arm-kernel mailing list\n" + "linux-arm-kernel@lists.infradead.org\n" + http://lists.infradead.org/mailman/listinfo/linux-arm-kernel -21951b2884b70bfc77580cf69bb513c6b36e0074aee7bf252ec893029ab923d1 +8905ae1d9db4276d0fab8676b6595b499210571d2ca7453a128efa37313328be
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.