media: Set missing .owner = THIS_MODULE in V4L2 and D-PHY ops
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | media: amlogic: c3-isp: Set .owner = THIS_MODULE in v4l2_file_operationsdrivers/ drivers/ drivers/ | +3 | 2 replies | |
| 2/5 | media: rockchip: rkcif: Set .owner = THIS_MODULE in v4l2_file_operationsdrivers/ | +1 | 1 reply | |
| 3/5 | media: rkisp1: Set .owner = THIS_MODULE in v4l2_file_operationsdrivers/ drivers/ drivers/ | +5 | 0 replies | |
| 4/5 | staging: media: ipu3: Set .owner = THIS_MODULE in v4l2_file_operationsdrivers/ | +1 | 0 replies | |
| 5/5 | media: sunxi: a83t-mipi-csi2: Set .owner = THIS_MODULE in phy_opsdrivers/ | +1 | 0 replies |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by.
| Patch | Michael Riesch |
|---|---|
| 1/5 | |
| 2/5 | R-b |
| 3/5 | |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] media: Set missing .owner = THIS_MODULE in V4L2 and D-PHY ops
Five modular media drivers omit .owner = THIS_MODULE in their const struct v4l2_file_operations or struct phy_ops definitions, leaving the module owner NULL for chrdev_open() or phy_get() reference counting.
Split per driver to simplify review and stable backporting.
Tooling note: Found using Clang's require_explicit_initialization attribute; an AI coding assistant helped audit call sites, verify Fixes commits, and draft the changelogs. All affected files were build-tested as modules (-DMODULE) with LLVM=1.
Ian Rogers (5):
media: amlogic: c3-isp: Set .owner = THIS_MODULE in
v4l2_file_operations
media: rockchip: rkcif: Set .owner = THIS_MODULE in
v4l2_file_operations
media: rkisp1: Set .owner = THIS_MODULE in v4l2_file_operations
staging: media: ipu3: Set .owner = THIS_MODULE in v4l2_file_operations
media: sunxi: a83t-mipi-csi2: Set .owner = THIS_MODULE in phy_ops
drivers/media/platform/amlogic/c3/isp/c3-isp-capture.c | 1 + drivers/media/platform/amlogic/c3/isp/c3-isp-params.c | 1 + drivers/media/platform/amlogic/c3/isp/c3-isp-stats.c | 1 + drivers/media/platform/rockchip/rkcif/rkcif-stream.c | 1 + drivers/media/platform/rockchip/rkisp1/rkisp1-capture.c | 1 + drivers/media/platform/rockchip/rkisp1/rkisp1-params.c | 3 ++- drivers/media/platform/rockchip/rkisp1/rkisp1-stats.c | 3 ++- .../platform/sunxi/sun8i-a83t-mipi-csi2/sun8i_a83t_dphy.c | 1 + drivers/staging/media/ipu3/ipu3-v4l2.c | 1 + 9 files changed, 11 insertions(+), 2 deletions(-)
base-commit: fe6ff8d5d675c01793b9f051d16055dd4aa75244
Signature · 1 line
2.56.1.839.g22a8290db9-goog