Skip to content

GPU-DRM-nouveau: Adjustments for seven function implementations

Markus Elfring alsa-devel amd-gfx cluster-devel cocci dri-devel kernel-janitors linux-arm-kernel linux-arm-msm linux-fbdev linux-media linux-mediatek linux-perf-users linux-scsi linux-staging linux-usb linux-wireless lkml netdev nouveau nvdimm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9drm/nouveau/debugfs: Move an expression into a function call parameter in nouveau_debugfs_pstate_set()drivers/gpu/drm/nouveau/nouveau_debugfs.c+2 -20 replies
2/9drm/nouveau/debugfs: Move a variable assignment behind a null pointer check in nouveau_debugfs_pstate_get()drivers/gpu/drm/nouveau/nouveau_debugfs.c+2 -10 replies
3/9drm/nouveau/debugfs: Use seq_putc() in nouveau_debugfs_pstate_get()drivers/gpu/drm/nouveau/nouveau_debugfs.c+1 -10 replies
4/9drm/nouveau/debugfs: Replace five seq_printf() calls by seq_puts() in nouveau_debugfs_pstate_get()drivers/gpu/drm/nouveau/nouveau_debugfs.c+5 -50 replies
5/9drm/nouveau/bios/power_budget: Move an expression into a macro call parameter in nvbios_power_budget_header()drivers/gpu/drm/nouveau/nvkm/subdev/bios/power_budget.c+1 -20 replies
6/9drm/nouveau/clk: Move a variable assignment behind a null pointer check in nvkm_pstate_new()drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c+1 -10 replies
7/9drm/nouveau/pci: Move a variable assignment behind condition checks in nvkm_pcie_set_link()drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c+2 -10 replies
8/9drm/nouveau/pci: Move an expression into a function call parameter in nvkm_pcie_set_link()drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c+1 -30 replies
9/9drm/nouveau/therm: Move an assignment statement behind a null pointer check in two functionsdrivers/gpu/drm/nouveau/nvkm/subdev/therm/fanpwm.c drivers/gpu/drm/nouveau/nvkm/subdev/therm/fantog.c+2 -20 replies

Reviews trailers per patch

None of the 9 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchKarol Herbst
SeriesR-b
1/9
2/9
3/9
4/9
5/9
6/9
7/9
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [cocci] [PATCH 0/9] GPU-DRM-nouveau: Adjustments for seven function implementations

Date: Sun, 16 Apr 2023 11:22:23 +0200

Several update suggestions were taken into account from static source code analysis.

Markus Elfring (9):
debugfs: Move an expression into a function call parameter
in nouveau_debugfs_pstate_set()
debugfs: Move a variable assignment behind a null pointer check
in nouveau_debugfs_pstate_get()
debugfs: Use seq_putc()
in nouveau_debugfs_pstate_get()
debugfs: Replace five seq_printf() calls by seq_puts()
in nouveau_debugfs_pstate_get()
power_budget: Move an expression into a macro call parameter
in nvbios_power_budget_header()
clk: Move a variable assignment behind a null pointer check
in nvkm_pstate_new()
pci: Move a variable assignment behind condition checks
in nvkm_pcie_set_link()
pci: Move an expression into a function call parameter
in nvkm_pcie_set_link()
therm: Move an assignment statement behind a null pointer check
in two functions

 drivers/gpu/drm/nouveau/nouveau_debugfs.c     | 19 ++++++++++---------
 .../nouveau/nvkm/subdev/bios/power_budget.c   |  3 +--
 .../gpu/drm/nouveau/nvkm/subdev/clk/base.c    |  2 +-
 .../gpu/drm/nouveau/nvkm/subdev/pci/pcie.c    |  7 +++----
 .../drm/nouveau/nvkm/subdev/therm/fanpwm.c    |  2 +-
 .../drm/nouveau/nvkm/subdev/therm/fantog.c    |  2 +-
 6 files changed, 17 insertions(+), 18 deletions(-)

--
2.40.0