diff options
author | Javier Martinez Canillas | 2021-11-27 20:19:10 +0100 |
---|---|---|
committer | Javier Martinez Canillas | 2021-11-27 21:05:58 +0100 |
commit | 69d846126e1653ca9043c3766c66684132586941 (patch) | |
tree | d968f5d471d19ef96a346463232766ea5bd1f2fc | |
parent | db08490fc4b6695ada6c21e40343307f08d9620e (diff) |
drm: Fix build error caused by missing drm_nomodeset.o
The patch for commit 6a2d2ddf2c34 ("drm: Move nomodeset kernel parameter
to the DRM subsystem") was generated with config 'diff.noprefix true'.
But later was applied using 'cat nomodeset.mbox | dim apply-branch' on a
machine with 'diff.noprefix false'. And command 'git am --scissors -3' as
used by the dim tool doesn't handle that case well, since the 3-way merge
wrongly resolves the path for new file drivers/gpu/drm/drm_nomodeset.c as
gpu/drm/drm_nomodeset.c instead.
It led to the following build error as reported by the kernel test robot:
make[4]: *** No rule to make target 'drivers/gpu/drm/drm_nomodeset.o', needed by 'drivers/gpu/drm/built-in.a'.
Fixes: 6a2d2ddf2c34 ("drm: Move nomodeset kernel parameter to the DRM subsystem")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20211127191910.709356-1-javierm@redhat.com
-rw-r--r-- | drivers/gpu/drm/drm_nomodeset.c (renamed from gpu/drm/drm_nomodeset.c) | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/gpu/drm/drm_nomodeset.c b/drivers/gpu/drm/drm_nomodeset.c index f3978d5bd3a1..f3978d5bd3a1 100644 --- a/gpu/drm/drm_nomodeset.c +++ b/drivers/gpu/drm/drm_nomodeset.c |