Skip to content

treewide: Introduce %ptS for struct timespec64 and convert users

Andy Shevchenko amd-gfx ceph-devel dri-devel intel-wired-lan intel-xe linux-arm-msm linux-doc linux-media linux-mmc linux-pci linux-s390 linux-scsi linux-staging linux-trace-kernel lkml netdev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest21 patches 16 repliesIn review
  2. v221 patches 8 repliesSuperseded
  3. v123 patches 15 repliesSuperseded

Changes in v3 from the cover letter

- fixed a compilation issue with fnic (LKP), also satisfied checkpatch
- collected more tags

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/21lib/vsprintf: Add specifier for printing struct timespec64Documentation/core-api/printk-formats.rst lib/tests/printf_kunit.c lib/vsprintf.c+40 -33 replies
2/21ceph: Switch to use %ptSpfs/ceph/dir.c fs/ceph/inode.c fs/ceph/xattr.c+20 -400 replies
3/21libceph: Switch to use %ptSpnet/ceph/messenger_v2.c+2 -40 replies
4/21dma-buf: Switch to use %ptSpdrivers/dma-buf/sync_debug.c+1 -10 replies
5/21drm/amdgpu: Switch to use %ptSpdrivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c+1 -20 replies
6/21drm/msm: Switch to use %ptSpdrivers/gpu/drm/msm/disp/msm_disp_snapshot_util.c drivers/gpu/drm/msm/msm_gpu.c+2 -41 reply
7/21drm/vblank: Switch to use %ptSpdrivers/gpu/drm/drm_vblank.c+2 -40 replies
8/21drm/xe: Switch to use %ptSpdrivers/gpu/drm/xe/xe_devcoredump.c+2 -20 replies
9/21e1000e: Switch to use %ptSpdrivers/net/ethernet/intel/e1000e/ptp.c+2 -50 replies
10/21igb: Switch to use %ptSpdrivers/net/ethernet/intel/igb/igb_ptp.c+2 -50 replies
11/21ipmi: Switch to use %ptSpdrivers/char/ipmi/ipmi_si_intf.c drivers/char/ipmi/ipmi_ssif.c+3 -60 replies
12/21media: av7110: Switch to use %ptSpdrivers/staging/media/av7110/av7110.c+1 -10 replies
13/21mmc: mmc_test: Switch to use %ptSpdrivers/mmc/core/mmc_test.c+8 -121 reply
14/21net: dsa: sja1105: Switch to use %ptSpdrivers/net/dsa/sja1105/sja1105_tas.c+3 -51 reply
15/21PCI: epf-test: Switch to use %ptSpdrivers/pci/endpoint/functions/pci-epf-test.c+2 -31 reply
16/21pps: Switch to use %ptSpdrivers/pps/generators/pps_gen_parport.c drivers/pps/kapi.c+2 -40 replies
17/21ptp: ocp: Switch to use %ptSpdrivers/ptp/ptp_ocp.c+5 -80 replies
18/21s390/dasd: Switch to use %ptSpdrivers/s390/block/dasd.c+1 -21 reply
19/21scsi: fnic: Switch to use %ptSpdrivers/scsi/fnic/fnic_trace.c+22 -305 replies
20/21scsi: snic: Switch to use %ptSpdrivers/scsi/snic/snic_debugfs.c drivers/scsi/snic/snic_trc.c+6 -91 reply
21/21tracing: Switch to use %ptSpkernel/trace/trace_output.c+3 -30 replies

Reviews trailers per patch

20 of 21 patches have a Reviewed-by or Acked-by.

PatchChristian KönigSumit SemwalViacheslav DubeykoAlex DeucherAleksandr LoktionovCorey MinyardVadim FedorenkoLucas De MarchiHans VerkuilRodolfo GiomettiBjorn HelgaasMartin K. PetersenSteven Rostedt (Google)Karan Tilak KumarDmitry BaryshkovPetr MladekUlf HanssonStefan HaberlandVladimir OlteanManivannan Sadhasivam
1/21R-b T-b
2/21R-b
3/21R-b
4/21R-b A-b
5/21A-b
6/21A-b
7/21
8/21A-b
9/21R-b
10/21R-b
11/21A-b
12/21A-b
13/21A-b
14/21R-b A-b T-b
15/21A-b A-b
16/21A-b
17/21A-b
18/21A-b
19/21R-b A-b
20/21R-b A-b
21/21A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 20 reviewers.

Read the v3 thread

Cover letter [PATCH v3 00/21] treewide: Introduce %ptS for struct timespec64 and convert users

Here is the third part of the unification time printing in the kernel. This time for struct timespec64. The first patch brings a support into printf() implementation (test cases and documentation update included) followed by the treewide conversion of the current users.

Petr, we got like more than a half being Acked, I think if you are okay with this, the patches that have been tagged can be applied.

Note, not everything was compile-tested. Kunit test has been passed, though.

Changelog v3:
- fixed a compilation issue with fnic (LKP), also satisfied checkpatch
- collected more tags

Petr, I have not renamed 'p' to 'n' due to much of rework and noise introduction for the changes that has been reviewed. However, I addressed the documentation issues.

v2: <[email protected]>

Changelog v2:
- dropped wrong patches (Hans, Takashi)
- fixed most of the checkpatch warnings (fdo CI, media CI)
- collected tags

v1: <[email protected]>

Andy Shevchenko (21):
lib/vsprintf: Add specifier for printing struct timespec64
ceph: Switch to use %ptSp
libceph: Switch to use %ptSp
dma-buf: Switch to use %ptSp
drm/amdgpu: Switch to use %ptSp
drm/msm: Switch to use %ptSp
drm/vblank: Switch to use %ptSp
drm/xe: Switch to use %ptSp
e1000e: Switch to use %ptSp
igb: Switch to use %ptSp
ipmi: Switch to use %ptSp
media: av7110: Switch to use %ptSp
mmc: mmc_test: Switch to use %ptSp
net: dsa: sja1105: Switch to use %ptSp
PCI: epf-test: Switch to use %ptSp
pps: Switch to use %ptSp
ptp: ocp: Switch to use %ptSp
s390/dasd: Switch to use %ptSp
scsi: fnic: Switch to use %ptSp
scsi: snic: Switch to use %ptSp
tracing: Switch to use %ptSp

 Documentation/core-api/printk-formats.rst     | 11 +++-
 drivers/char/ipmi/ipmi_si_intf.c              |  3 +-
 drivers/char/ipmi/ipmi_ssif.c                 |  6 +--
 drivers/dma-buf/sync_debug.c                  |  2 +-
 .../gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c  |  3 +-
 drivers/gpu/drm/drm_vblank.c                  |  6 +--
 .../gpu/drm/msm/disp/msm_disp_snapshot_util.c |  3 +-
 drivers/gpu/drm/msm/msm_gpu.c                 |  3 +-
 drivers/gpu/drm/xe/xe_devcoredump.c           |  4 +-
 drivers/mmc/core/mmc_test.c                   | 20 +++----
 drivers/net/dsa/sja1105/sja1105_tas.c         |  8 ++-
 drivers/net/ethernet/intel/e1000e/ptp.c       |  7 +--
 drivers/net/ethernet/intel/igb/igb_ptp.c      |  7 +--
 drivers/pci/endpoint/functions/pci-epf-test.c |  5 +-
 drivers/pps/generators/pps_gen_parport.c      |  3 +-
 drivers/pps/kapi.c                            |  3 +-
 drivers/ptp/ptp_ocp.c                         | 13 ++---
 drivers/s390/block/dasd.c                     |  3 +-
 drivers/scsi/fnic/fnic_trace.c                | 52 ++++++++-----------
 drivers/scsi/snic/snic_debugfs.c              | 10 ++--
 drivers/scsi/snic/snic_trc.c                  |  5 +-
 drivers/staging/media/av7110/av7110.c         |  2 +-
 fs/ceph/dir.c                                 |  5 +-
 fs/ceph/inode.c                               | 49 ++++++-----------
 fs/ceph/xattr.c                               |  6 +--
 kernel/trace/trace_output.c                   |  6 +--
 lib/tests/printf_kunit.c                      |  4 ++
 lib/vsprintf.c                                | 28 +++++++++-
 net/ceph/messenger_v2.c                       |  6 +--
 29 files changed, 130 insertions(+), 153 deletions(-)
Signature · 1 line
2.50.1