From patchwork Wed Oct 28 00:22:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Lunn X-Patchwork-Id: 311289 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 63799C4363A for ; Thu, 29 Oct 2020 00:13:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3551A20780 for ; Thu, 29 Oct 2020 00:13:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390831AbgJ2ANp (ORCPT ); Wed, 28 Oct 2020 20:13:45 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:50728 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390758AbgJ2ANK (ORCPT ); Wed, 28 Oct 2020 20:13:10 -0400 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1kXZEq-003tgb-Tq; Wed, 28 Oct 2020 01:22:52 +0100 From: Andrew Lunn To: Jakub Kicinski Cc: netdev , Thomas Petazzoni , Ralf Baechle , Andrew Lunn Subject: [PATCH net-next 0/2] net trigraph fixes for W=1 Date: Wed, 28 Oct 2020 01:22:33 +0100 Message-Id: <20201028002235.928999-1-andrew@lunn.ch> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Both the Marvell mvneta and rose driver accidentally make use of a trigraph. When compiling with W=1 an warning is issues because we have trigraphs disabled. So for mvneta, which is only a diagnostic print, remove the trigraph. For rose, since this is a sysfs file, escape the sequence to make it clear it is not supposed to be trigraph. Andrew Lunn (2): net: marvell: mvneta: Fix trigraph warning with W=1 net: rose: Escape trigraph to fix warning with W=1 drivers/net/ethernet/marvell/mvneta.c | 2 +- net/rose/af_rose.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)