diff for duplicates of <202112190934.db7anVBT-lkp@intel.com> diff --git a/a/1.txt b/N1/1.txt index 97e4bd7..2d84cd3 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,15 +1,6 @@ -CC: kbuild-all(a)lists.01.org -CC: linux-kernel(a)vger.kernel.org -TO: Aurabindo Pillai <aurabindo.pillai@amd.com> -CC: Alex Deucher <alexander.deucher@amd.com> -CC: Chris Park <Chris.Park@amd.com> - tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 3f667b5d4053ad54aee13dab5c94f04ff75ddfdf commit: cd6d421e3d1ad5926b74091254e345db730e7706 drm/amd/display: Initial DC support for Beige Goby -date: 7 months ago -:::::: branch date: 5 hours ago -:::::: commit date: 7 months ago config: x86_64-randconfig-m001-20211207 (https://download.01.org/0day-ci/archive/20211219/202112190934.db7anVBT-lkp(a)intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 @@ -25,7 +16,6 @@ drivers/gpu/drm/amd/amdgpu/../display/dc/dcn303/dcn303_resource.c:531 dcn303_str vim +/stream_enc_regs +533 drivers/gpu/drm/amd/amdgpu/../display/dc/dcn303/dcn303_resource.c -cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 510 cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 511 static struct stream_encoder *dcn303_stream_encoder_create(enum engine_id eng_id, struct dc_context *ctx) cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 512 { cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 513 struct dcn10_stream_encoder *enc1; @@ -36,6 +26,9 @@ cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 517 int afmt_inst; cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 518 cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 519 /* Mapping of VPG, AFMT, DME register blocks to DIO block instance */ cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 520 if (eng_id <= ENGINE_ID_DIGE) { + ^^^^^^^^^^^^^^^^^^^^^^^^ +eng_id <= 4 + cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 521 vpg_inst = eng_id; cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 522 afmt_inst = eng_id; cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 523 } else @@ -49,11 +42,14 @@ cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 530 if (!enc1 || !vpg || !afmt) cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 531 return NULL; cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 532 cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 @533 dcn30_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, eng_id, vpg, afmt, &stream_enc_regs[eng_id], + ^^^^^^^^^^^^^^^^^^^^^^^^ +Out of bounds. (I have not reviewed the context but these warnings are +pretty reliable). + cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 534 &se_shift, &se_mask); cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 535 cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 536 return &enc1->base; cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 537 } -cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 538 --- 0-DAY CI Kernel Test Service, Intel Corporation diff --git a/a/content_digest b/N1/content_digest index c65a2b5..600ce6b 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,21 +1,12 @@ - "From\0kernel test robot <lkp@intel.com>\0" + "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0drivers/gpu/drm/amd/amdgpu/../display/dc/dcn303/dcn303_resource.c:533 dcn303_stream_encoder_create() error: buffer overflow 'stream_enc_regs' 2 <= 4\0" - "Date\0Sun, 19 Dec 2021 09:55:16 +0800\0" - "To\0kbuild@lists.01.org\0" + "Date\0Wed, 05 Jan 2022 13:11:22 +0300\0" + "To\0kbuild-all@lists.01.org\0" "\01:1\0" "b\0" - "CC: kbuild-all(a)lists.01.org\n" - "CC: linux-kernel(a)vger.kernel.org\n" - "TO: Aurabindo Pillai <aurabindo.pillai@amd.com>\n" - "CC: Alex Deucher <alexander.deucher@amd.com>\n" - "CC: Chris Park <Chris.Park@amd.com>\n" - "\n" "tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master\n" "head: 3f667b5d4053ad54aee13dab5c94f04ff75ddfdf\n" "commit: cd6d421e3d1ad5926b74091254e345db730e7706 drm/amd/display: Initial DC support for Beige Goby\n" - "date: 7 months ago\n" - ":::::: branch date: 5 hours ago\n" - ":::::: commit date: 7 months ago\n" "config: x86_64-randconfig-m001-20211207 (https://download.01.org/0day-ci/archive/20211219/202112190934.db7anVBT-lkp(a)intel.com/config)\n" "compiler: gcc-9 (Debian 9.3.0-22) 9.3.0\n" "\n" @@ -31,7 +22,6 @@ "\n" "vim +/stream_enc_regs +533 drivers/gpu/drm/amd/amdgpu/../display/dc/dcn303/dcn303_resource.c\n" "\n" - "cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 510 \n" "cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 511 static struct stream_encoder *dcn303_stream_encoder_create(enum engine_id eng_id, struct dc_context *ctx)\n" "cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 512 {\n" "cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 513 \tstruct dcn10_stream_encoder *enc1;\n" @@ -42,6 +32,9 @@ "cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 518 \n" "cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 519 \t/* Mapping of VPG, AFMT, DME register blocks to DIO block instance */\n" "cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 520 \tif (eng_id <= ENGINE_ID_DIGE) {\n" + " ^^^^^^^^^^^^^^^^^^^^^^^^\n" + "eng_id <= 4\n" + "\n" "cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 521 \t\tvpg_inst = eng_id;\n" "cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 522 \t\tafmt_inst = eng_id;\n" "cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 523 \t} else\n" @@ -55,14 +48,17 @@ "cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 531 \t\treturn NULL;\n" "cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 532 \n" "cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 @533 \tdcn30_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, eng_id, vpg, afmt, &stream_enc_regs[eng_id],\n" + " ^^^^^^^^^^^^^^^^^^^^^^^^\n" + "Out of bounds. (I have not reviewed the context but these warnings are\n" + "pretty reliable).\n" + "\n" "cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 534 \t\t\t&se_shift, &se_mask);\n" "cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 535 \n" "cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 536 \treturn &enc1->base;\n" "cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 537 }\n" - "cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 538 \n" "\n" "---\n" "0-DAY CI Kernel Test Service, Intel Corporation\n" https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org -d65ba87676de5bfc42124a3471a4419f5808c4c61d8a28030ca437947569b097 +f714d783cf57806a3d713de3f28a1dc23e909301b289837a109f1c3a6291372c
diff --git a/a/1.txt b/N2/1.txt index 97e4bd7..3a76967 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -1,16 +1,7 @@ -CC: kbuild-all(a)lists.01.org -CC: linux-kernel(a)vger.kernel.org -TO: Aurabindo Pillai <aurabindo.pillai@amd.com> -CC: Alex Deucher <alexander.deucher@amd.com> -CC: Chris Park <Chris.Park@amd.com> - tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 3f667b5d4053ad54aee13dab5c94f04ff75ddfdf commit: cd6d421e3d1ad5926b74091254e345db730e7706 drm/amd/display: Initial DC support for Beige Goby -date: 7 months ago -:::::: branch date: 5 hours ago -:::::: commit date: 7 months ago -config: x86_64-randconfig-m001-20211207 (https://download.01.org/0day-ci/archive/20211219/202112190934.db7anVBT-lkp(a)intel.com/config) +config: x86_64-randconfig-m001-20211207 (https://download.01.org/0day-ci/archive/20211219/202112190934.db7anVBT-lkp@intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 If you fix the issue, kindly add following tag as appropriate @@ -25,7 +16,6 @@ drivers/gpu/drm/amd/amdgpu/../display/dc/dcn303/dcn303_resource.c:531 dcn303_str vim +/stream_enc_regs +533 drivers/gpu/drm/amd/amdgpu/../display/dc/dcn303/dcn303_resource.c -cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 510 cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 511 static struct stream_encoder *dcn303_stream_encoder_create(enum engine_id eng_id, struct dc_context *ctx) cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 512 { cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 513 struct dcn10_stream_encoder *enc1; @@ -36,6 +26,9 @@ cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 517 int afmt_inst; cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 518 cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 519 /* Mapping of VPG, AFMT, DME register blocks to DIO block instance */ cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 520 if (eng_id <= ENGINE_ID_DIGE) { + ^^^^^^^^^^^^^^^^^^^^^^^^ +eng_id <= 4 + cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 521 vpg_inst = eng_id; cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 522 afmt_inst = eng_id; cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 523 } else @@ -49,12 +42,15 @@ cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 530 if (!enc1 || !vpg || !afmt) cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 531 return NULL; cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 532 cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 @533 dcn30_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, eng_id, vpg, afmt, &stream_enc_regs[eng_id], + ^^^^^^^^^^^^^^^^^^^^^^^^ +Out of bounds. (I have not reviewed the context but these warnings are +pretty reliable). + cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 534 &se_shift, &se_mask); cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 535 cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 536 return &enc1->base; cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 537 } -cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 538 --- 0-DAY CI Kernel Test Service, Intel Corporation -https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org +https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org diff --git a/a/content_digest b/N2/content_digest index c65a2b5..6f5554d 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -1,22 +1,19 @@ - "From\0kernel test robot <lkp@intel.com>\0" + "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0drivers/gpu/drm/amd/amdgpu/../display/dc/dcn303/dcn303_resource.c:533 dcn303_stream_encoder_create() error: buffer overflow 'stream_enc_regs' 2 <= 4\0" - "Date\0Sun, 19 Dec 2021 09:55:16 +0800\0" - "To\0kbuild@lists.01.org\0" - "\01:1\0" + "Date\0Wed, 5 Jan 2022 13:11:22 +0300\0" + "To\0kbuild@lists.01.org" + " Aurabindo Pillai <aurabindo.pillai@amd.com>\0" + "Cc\0lkp@intel.com" + kbuild-all@lists.01.org + linux-kernel@vger.kernel.org + Alex Deucher <alexander.deucher@amd.com> + " Chris Park <Chris.Park@amd.com>\0" + "\00:1\0" "b\0" - "CC: kbuild-all(a)lists.01.org\n" - "CC: linux-kernel(a)vger.kernel.org\n" - "TO: Aurabindo Pillai <aurabindo.pillai@amd.com>\n" - "CC: Alex Deucher <alexander.deucher@amd.com>\n" - "CC: Chris Park <Chris.Park@amd.com>\n" - "\n" "tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master\n" "head: 3f667b5d4053ad54aee13dab5c94f04ff75ddfdf\n" "commit: cd6d421e3d1ad5926b74091254e345db730e7706 drm/amd/display: Initial DC support for Beige Goby\n" - "date: 7 months ago\n" - ":::::: branch date: 5 hours ago\n" - ":::::: commit date: 7 months ago\n" - "config: x86_64-randconfig-m001-20211207 (https://download.01.org/0day-ci/archive/20211219/202112190934.db7anVBT-lkp(a)intel.com/config)\n" + "config: x86_64-randconfig-m001-20211207 (https://download.01.org/0day-ci/archive/20211219/202112190934.db7anVBT-lkp@intel.com/config)\n" "compiler: gcc-9 (Debian 9.3.0-22) 9.3.0\n" "\n" "If you fix the issue, kindly add following tag as appropriate\n" @@ -31,7 +28,6 @@ "\n" "vim +/stream_enc_regs +533 drivers/gpu/drm/amd/amdgpu/../display/dc/dcn303/dcn303_resource.c\n" "\n" - "cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 510 \n" "cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 511 static struct stream_encoder *dcn303_stream_encoder_create(enum engine_id eng_id, struct dc_context *ctx)\n" "cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 512 {\n" "cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 513 \tstruct dcn10_stream_encoder *enc1;\n" @@ -42,6 +38,9 @@ "cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 518 \n" "cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 519 \t/* Mapping of VPG, AFMT, DME register blocks to DIO block instance */\n" "cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 520 \tif (eng_id <= ENGINE_ID_DIGE) {\n" + " ^^^^^^^^^^^^^^^^^^^^^^^^\n" + "eng_id <= 4\n" + "\n" "cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 521 \t\tvpg_inst = eng_id;\n" "cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 522 \t\tafmt_inst = eng_id;\n" "cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 523 \t} else\n" @@ -55,14 +54,17 @@ "cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 531 \t\treturn NULL;\n" "cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 532 \n" "cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 @533 \tdcn30_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, eng_id, vpg, afmt, &stream_enc_regs[eng_id],\n" + " ^^^^^^^^^^^^^^^^^^^^^^^^\n" + "Out of bounds. (I have not reviewed the context but these warnings are\n" + "pretty reliable).\n" + "\n" "cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 534 \t\t\t&se_shift, &se_mask);\n" "cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 535 \n" "cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 536 \treturn &enc1->base;\n" "cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 537 }\n" - "cd6d421e3d1ad5 Aurabindo Pillai 2021-03-15 538 \n" "\n" "---\n" "0-DAY CI Kernel Test Service, Intel Corporation\n" - https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org + https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org -d65ba87676de5bfc42124a3471a4419f5808c4c61d8a28030ca437947569b097 +ef60f0e3f363fe4c0852d71a37e4a7f75ffb84a401d0d89d2499936b0d0d469b
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.