Noralf Trønnes
2022-Aug-29 18:46 UTC
[Nouveau] [PATCH v2 01/41] drm/tests: Order Kunit tests in Makefile
Den 29.08.2022 15.11, skrev Maxime Ripard:> Since we've recently added a ton of tests, the list starts to be a bit > > of a mess and creates unneeded conflicts. > > > > Let's order it alphabetically. > > > > Signed-off-by: Maxime Ripard <maxime at cerno.tech> > > >Something has gone wrong with this patchset, there are double line endings. I looked at the patchwork version and it look all right there so I figured it might have fixed up the patches, but it failed: git apply -v --check /home/pi/tinydrm.gud-gadget/workdirs/tv_norm_gadget/500003.patch Checking patch drivers/gpu/drm/tests/Makefile... error: while searching for: # SPDX-License-Identifier: GPL-2.0? ? obj-$(CONFIG_DRM_KUNIT_TEST) += drm_format_helper_test.o drm_damage_helper_test.o \? drm_cmdline_parser_test.o drm_rect_test.o drm_format_test.o drm_plane_helper_test.o \? drm_dp_mst_helper_test.o drm_framebuffer_test.o drm_buddy_test.o drm_mm_test.o? error: patch failed: drivers/gpu/drm/tests/Makefile:1 error: drivers/gpu/drm/tests/Makefile: patch does not apply ERROR: Failed check apply patch pi at build-server:~/tinydrm.gud-gadget$ file workdirs/tv_norm_gadget/500003.patch workdirs/tv_norm_gadget/500003.patch: unified diff output, ASCII text, with CRLF, LF line terminators Noralf.> diff --git a/drivers/gpu/drm/tests/Makefile b/drivers/gpu/drm/tests/Makefile > > index 91b70f7d2769..2d9f49b62ecb 100644 > > --- a/drivers/gpu/drm/tests/Makefile > > +++ b/drivers/gpu/drm/tests/Makefile > > @@ -1,5 +1,13 @@ > > # SPDX-License-Identifier: GPL-2.0 > > > > -obj-$(CONFIG_DRM_KUNIT_TEST) += drm_format_helper_test.o drm_damage_helper_test.o \ > > - drm_cmdline_parser_test.o drm_rect_test.o drm_format_test.o drm_plane_helper_test.o \ > > - drm_dp_mst_helper_test.o drm_framebuffer_test.o drm_buddy_test.o drm_mm_test.o > > +obj-$(CONFIG_DRM_KUNIT_TEST) += \ > > + drm_buddy_test.o \ > > + drm_cmdline_parser_test.o \ > > + drm_damage_helper_test.o \ > > + drm_dp_mst_helper_test.o \ > > + drm_format_helper_test.o \ > > + drm_format_test.o \ > > + drm_framebuffer_test.o \ > > + drm_mm_test.o \ > > + drm_plane_helper_test.o \ > > + drm_rect_test.o > > >
Konstantin Ryabitsev
2022-Aug-29 19:02 UTC
[Nouveau] [PATCH v2 01/41] drm/tests: Order Kunit tests in Makefile
On Mon, Aug 29, 2022 at 08:46:42PM +0200, Noralf Tr?nnes wrote:> Something has gone wrong with this patchset, there are double line endings.I noticed this, too, and I think the reason is because these patches were generated with "b4 send -o", but actually sent using git-send-email. It's not a use-case I've considered (or tested) and the breakage is because when b4 generates patches with "-o", they are written with CRLF line endings, which is not something git-send-email expects. Maxime, any reason you went this direction instead of just letting b4 send these patches directly? -K