[PATCH v2 0/7] agp: Various minor fixes

Thomas Zimmermann tzimmermann at suse.de
Wed Dec 1 11:46:38 UTC 2021


Fix a number of compiler warnings in the AGP drivers. No functional
changes.

v2:
	* ati-agp: free page in error branch (Helge)
	* nvidia-agp: Mark temp as __maybe_unused (Helge)

Thomas Zimmermann (7):
  agp: Remove trailing whitespaces
  agp: Include "compat_ioctl.h" where necessary
  agp: Documentation fixes
  agp/ati: Return error from ati_create_page_map()
  agp/nvidia: Declare value returned by readl() as unused
  agp/sworks: Remove unused variable 'current_size'
  agp/via: Remove unused variable 'current_size'

 drivers/char/agp/ati-agp.c    | 8 ++++++--
 drivers/char/agp/backend.c    | 2 ++
 drivers/char/agp/frontend.c   | 4 +++-
 drivers/char/agp/nvidia-agp.c | 3 ++-
 drivers/char/agp/sworks-agp.c | 5 +----
 drivers/char/agp/via-agp.c    | 3 ---
 6 files changed, 14 insertions(+), 11 deletions(-)


base-commit: 6a8f90ec433e2f5de5fc16d7a4839771b7027cc0
--
2.34.0



More information about the dri-devel mailing list