OSDN Git Service

atm: idt77252: clean up trigraph warning on ??) string
authorColin Ian King <colin.king@canonical.com>
Tue, 20 Jul 2021 12:48:13 +0000 (13:48 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Jul 2021 14:24:13 +0000 (07:24 -0700)
The character sequence ??) is a trigraph and causes the following
clang warning:

drivers/atm/idt77252.c:3544:35: warning: trigraph ignored [-Wtrigraphs]

Clean this by replacing it with single ?.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/idt77252.c

index 9e4bd75..81ce81a 100644 (file)
@@ -3536,7 +3536,7 @@ static int idt77252_preset(struct idt77252_dev *card)
                return -1;
        }
        if (!(pci_command & PCI_COMMAND_IO)) {
-               printk("%s: PCI_COMMAND: %04x (???)\n",
+               printk("%s: PCI_COMMAND: %04x (?)\n",
                       card->name, pci_command);
                deinit_card(card);
                return (-1);