Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci place additional parens around multiline string ...



details:   https://anonhg.NetBSD.org/src/rev/2ce22d6210e5
branches:  trunk
changeset: 359517:2ce22d6210e5
user:      tnn <tnn%NetBSD.org@localhost>
date:      Sat Jan 08 12:59:34 2022 +0000

description:
place additional parens around multiline string constant to appease clang

diffstat:

 sys/dev/pci/pci_subr.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r fcd6df6059e1 -r 2ce22d6210e5 sys/dev/pci/pci_subr.c
--- a/sys/dev/pci/pci_subr.c    Sat Jan 08 11:04:13 2022 +0000
+++ b/sys/dev/pci/pci_subr.c    Sat Jan 08 12:59:34 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pci_subr.c,v 1.238 2022/01/07 06:57:57 msaitoh Exp $   */
+/*     $NetBSD: pci_subr.c,v 1.239 2022/01/08 12:59:34 tnn Exp $       */
 
 /*
  * Copyright (c) 1997 Zubin D. Dittia.  All rights reserved.
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pci_subr.c,v 1.238 2022/01/07 06:57:57 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_subr.c,v 1.239 2022/01/08 12:59:34 tnn Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_pci.h"
@@ -4369,8 +4369,8 @@
 }
 
 static const char * const pcie_receive_number_dp[] = {
-       [0] = "Broadcast "
-           "(Downstream Port Receiver and all Retimer Pseudo Port Receiver)",
+       [0] = ("Broadcast "
+           "(Downstream Port Receiver and all Retimer Pseudo Port Receiver)"),
        [1] =  "Rx(A) (Downstream Port Receiver)",
        [2] = "Rx(B) (Retimer X or Z Upstream Pseudo Port Receiver)",
        [3] = "Rx(C) (Retimer X or Z Downstream Pseudo Port Receiver)",



Home | Main Index | Thread Index | Old Index