From patchwork Wed Oct 28 00:38:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Lunn X-Patchwork-Id: 11864177 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 64130C4363A for ; Thu, 29 Oct 2020 00:13:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 33D6120780 for ; Thu, 29 Oct 2020 00:13:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390801AbgJ2AN3 (ORCPT ); Wed, 28 Oct 2020 20:13:29 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:50750 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390791AbgJ2AN1 (ORCPT ); Wed, 28 Oct 2020 20:13:27 -0400 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1kXZUR-003toX-4V; Wed, 28 Oct 2020 01:38:59 +0100 From: Andrew Lunn To: Jakub Kicinski Cc: netdev , Gerrit Renker , Jon Maloy , Ying Xue , Andrew Lunn Subject: [PATCH net-next 0/2] Markup some printk like functions Date: Wed, 28 Oct 2020 01:38:47 +0100 Message-Id: <20201028003849.929490-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 X-Patchwork-Delegate: kuba@kernel.org W=1 warns of functions which look like printk but don't have attributes so the compile can check that arguments matches the format string. Andrew Lunn (2): net: dccp: Add __printf() markup to fix -Wsuggest-attribute=format net: tipc: Add __printf() markup to fix -Wsuggest-attribute=format net/dccp/ccid.c | 2 +- net/tipc/netlink_compat.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-)