]> git.proxmox.com Git - mirror_ubuntu-kernels.git/blobdiff - Documentation/core-api/printk-formats.rst
Merge tag 'printk-for-5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/printk...
[mirror_ubuntu-kernels.git] / Documentation / core-api / printk-formats.rst
index 5dfcc4592b23efe335673ea13ba34fbbe4da6338..5d8f1e84dd90fe62bf18576ad67fa4b6682dc009 100644 (file)
@@ -482,21 +482,23 @@ Examples (OF)::
        %pfwf   /ocp@68000000/i2c@48072000/camera@10/port/endpoint - Full name
        %pfwP   endpoint                                - Node name
 
-Time and date (struct rtc_time)
--------------------------------
+Time and date
+-------------
 
 ::
 
-       %ptR            YYYY-mm-ddTHH:MM:SS
-       %ptRd           YYYY-mm-dd
-       %ptRt           HH:MM:SS
-       %ptR[dt][r]
+       %pt[RT]                 YYYY-mm-ddTHH:MM:SS
+       %pt[RT]d                YYYY-mm-dd
+       %pt[RT]t                HH:MM:SS
+       %pt[RT][dt][r]
 
-For printing date and time as represented by struct rtc_time structure in
-human readable format.
+For printing date and time as represented by
+       R  struct rtc_time structure
+       T  time64_t type
+in human readable format.
 
-By default year will be incremented by 1900 and month by 1. Use %ptRr (raw)
-to suppress this behaviour.
+By default year will be incremented by 1900 and month by 1.
+Use %pt[RT]r (raw) to suppress this behaviour.
 
 Passed by reference.