mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] drm: amdgpu: Fix includes of <linux/export.h>
@ 2025-06-13 18:26 André Almeida
  2025-06-13 18:26 ` [PATCH 1/2] drm/amd: Do not include <linux/export.h> when unused André Almeida
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: André Almeida @ 2025-06-13 18:26 UTC (permalink / raw)
  To: Alex Deucher, Christian König, Thomas Zimmermann
  Cc: dri-devel, linux-kernel, kernel-dev, amd-gfx, André Almeida

Commit 7d95680d64ac ("scripts/misc-check: check unnecessary #include
<linux/export.h> when W=1") and commit a934a57a42f6 ("scripts/misc-check:
check missing #include <linux/export.h> when W=1") added new checks for when the
include <linux/export.h> is missued by drivers. This patchset make drm/amd code
compliant to this new commits.

See also: https://lore.kernel.org/dri-devel/20250612121633.229222-1-tzimmermann@suse.de/

André Almeida (2):
  drm/amd: Do not include <linux/export.h> when unused
  drm/amd: Include <linux/export.h> when needed

 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c      | 1 -
 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c   | 1 +
 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c     | 1 -
 drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c | 1 -
 drivers/gpu/drm/amd/amdxcp/amdgpu_xcp_drv.c  | 1 +
 5 files changed, 2 insertions(+), 3 deletions(-)

-- 
2.49.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-06-24 16:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-13 18:26 [PATCH 0/2] drm: amdgpu: Fix includes of <linux/export.h> André Almeida
2025-06-13 18:26 ` [PATCH 1/2] drm/amd: Do not include <linux/export.h> when unused André Almeida
2025-06-13 18:26 ` [PATCH 2/2] drm/amd: Include <linux/export.h> when needed André Almeida
2025-06-16  6:59 ` [PATCH 0/2] drm: amdgpu: Fix includes of <linux/export.h> Christian König
2025-06-24 15:27   ` André Almeida
2025-06-24 16:06     ` Alex Deucher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®