This is an automated email from the ASF dual-hosted git repository.

raiden00 pushed a commit to branch releases/12.7
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 52473d7fa26a3612c18f59f90dc71133849e7fc7
Author: yanghuatao <[email protected]>
AuthorDate: Tue Apr 23 19:49:32 2024 +0800

    toolchain/ghs: Fix ?? "trigraphs not allowed" warnings
    
    
"/mnt/yang/qixinwei_vela_warnings_04_23/nuttx/include/nuttx/pci/pci_regs.h", 
line 263: warning #1695-D:
              trigraphs not allowed
      #define  PCI_PM_CTRL_DATA_SEL_MASK        0x1e00  /* Data select (??) */
                                                                        ^
    
    
"/mnt/yang/qixinwei_vela_warnings_04_23/nuttx/include/nuttx/pci/pci_regs.h", 
line 264: warning #1695-D:
              trigraphs not allowed
      #define  PCI_PM_CTRL_DATA_SCALE_MASK      0x6000  /* Data scale (??) */
                                                                       ^
    
    
"/mnt/yang/qixinwei_vela_warnings_04_23/nuttx/include/nuttx/pci/pci_regs.h", 
line 266: warning #1695-D:
              trigraphs not allowed
      #define PCI_PM_PPB_EXTENSIONS             6       /* PPB support 
extensions (??) */
                                                                                
   ^
    
    
"/mnt/yang/qixinwei_vela_warnings_04_23/nuttx/include/nuttx/pci/pci_regs.h", 
line 267: warning #1695-D:
              trigraphs not allowed
      #define  PCI_PM_PPB_B2_B3                 0x40    /* Stop clock when in 
D3hot (??) */
                                                                                
     ^
    
    
"/mnt/yang/qixinwei_vela_warnings_04_23/nuttx/include/nuttx/pci/pci_regs.h", 
line 268: warning #1695-D:
              trigraphs not allowed
      #define  PCI_PM_BPCC_ENABLE               0x80    /* Bus power/clock 
control enable (??) */
                                                                                
           ^
    
    
"/mnt/yang/qixinwei_vela_warnings_04_23/nuttx/include/nuttx/pci/pci_regs.h", 
line 269: warning #1695-D:
              trigraphs not allowed
      #define PCI_PM_DATA_REGISTER              7       /* (??) */
    
    Signed-off-by: yanghuatao <[email protected]>
---
 include/nuttx/pci/pci_regs.h | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/include/nuttx/pci/pci_regs.h b/include/nuttx/pci/pci_regs.h
index 2c362cf78d..ca0ae42ac6 100644
--- a/include/nuttx/pci/pci_regs.h
+++ b/include/nuttx/pci/pci_regs.h
@@ -267,13 +267,13 @@
 #define  PCI_PM_CTRL_STATE_MASK           0x0003  /* Current power state (D0 
to D3) */
 #define  PCI_PM_CTRL_NO_SOFT_RESET        0x0008  /* No reset for D3hot->D0 */
 #define  PCI_PM_CTRL_PME_ENABLE           0x0100  /* PME pin enable */
-#define  PCI_PM_CTRL_DATA_SEL_MASK        0x1e00  /* Data select (??) */
-#define  PCI_PM_CTRL_DATA_SCALE_MASK      0x6000  /* Data scale (??) */
+#define  PCI_PM_CTRL_DATA_SEL_MASK        0x1e00  /* Data select (/?/?) */
+#define  PCI_PM_CTRL_DATA_SCALE_MASK      0x6000  /* Data scale (/?/?) */
 #define  PCI_PM_CTRL_PME_STATUS           0x8000  /* PME pin status */
-#define PCI_PM_PPB_EXTENSIONS             6       /* PPB support extensions 
(??) */
-#define  PCI_PM_PPB_B2_B3                 0x40    /* Stop clock when in D3hot 
(??) */
-#define  PCI_PM_BPCC_ENABLE               0x80    /* Bus power/clock control 
enable (??) */
-#define PCI_PM_DATA_REGISTER              7       /* (??) */
+#define PCI_PM_PPB_EXTENSIONS             6       /* PPB support extensions 
(/?/?) */
+#define  PCI_PM_PPB_B2_B3                 0x40    /* Stop clock when in D3hot 
(/?/?) */
+#define  PCI_PM_BPCC_ENABLE               0x80    /* Bus power/clock control 
enable (/?/?) */
+#define PCI_PM_DATA_REGISTER              7       /* (/?/?) */
 #define PCI_PM_SIZEOF                     8
 
 /* AGP registers */

Reply via email to