From patchwork Sun May 22 13:36:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rix X-Patchwork-Id: 12858159 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1F461C433F5 for ; Sun, 22 May 2022 13:36:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346092AbiEVNgr (ORCPT ); Sun, 22 May 2022 09:36:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346063AbiEVNgq (ORCPT ); Sun, 22 May 2022 09:36:46 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BDEB43B55E for ; Sun, 22 May 2022 06:36:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1653226603; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=sRfgkbZUw9keTkZ0zkljUOBSogAEUpAMFk3Mu9RLlPk=; b=N15uq7vbW7Y1bPSQl1dLck96G9FMlBmmagj6lwLlUx4KBCEe4wwVh6Bztwc4JqkwOPGDMJ cp7ylRx+u0bDor/eYD+Tr+7YhKqy4YNJdU0Je+NU36eiTGAUn1GvzRcjnjJWCOK0y6FZG0 8MgNgRWzle77B1W4UYn7zxa0ddcIeys= Received: from mail-oa1-f71.google.com (mail-oa1-f71.google.com [209.85.160.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-371-VCNsHjHNPZmQiPlvkBz59Q-1; Sun, 22 May 2022 09:36:35 -0400 X-MC-Unique: VCNsHjHNPZmQiPlvkBz59Q-1 Received: by mail-oa1-f71.google.com with SMTP id 586e51a60fabf-f18dac8df5so6016017fac.1 for ; Sun, 22 May 2022 06:36:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=sRfgkbZUw9keTkZ0zkljUOBSogAEUpAMFk3Mu9RLlPk=; b=M/+mT6FWlA6mKuyfTobHR3xXK0sEOTdZ1YBfQQI6NBValShTnNHHWocs5FJYuF1sfn P/HIxygRxF7BxfmgttWZUq7fvsmooaUAGHDKyk08OkFxOwG3+onRtQZjy3vlH8qGFMtl d8yBLE4Uk5JFC2KCw/tSxA/VGMIVXBKTi8/28zDpX4S85v8zaijTBAV47nKDwGYh47nH a6jjbFPyLn/WhkLBY1bmwuprgxsf3r21Fj9uJETHdzm4K8T6aZOZxuiBHOAp+JNNGMdX idxj7gvSOLB67wWy4Qq8pgE0MRCC425V/ZLvYIFMVJs2sqc6C1wzcEWr9TULS4LGOYtF 3uag== X-Gm-Message-State: AOAM532tV57zOOfh3AXTMDTWdiWDHnum0CWbt+PzzK59jPhG015ibS3W 9PZVzkCS9SnG+HpB+0eBTCOhBObdScjT3/x2JG5vGPAZ1qsFHNSBF2+8v4vqUVRcwBA4uM02Sjl 8YmFUPi4LtgILkFEJ X-Received: by 2002:a05:6808:23cb:b0:32a:dafa:8b67 with SMTP id bq11-20020a05680823cb00b0032adafa8b67mr10113589oib.260.1653226594506; Sun, 22 May 2022 06:36:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJya0gvC0UkPlQHu026fa55oVG25Q0cqbir/dnmDBnKSfLmsJhfUA5Dcf+neKjS4jMZ2L5bEtw== X-Received: by 2002:a05:6808:23cb:b0:32a:dafa:8b67 with SMTP id bq11-20020a05680823cb00b0032adafa8b67mr10113580oib.260.1653226594340; Sun, 22 May 2022 06:36:34 -0700 (PDT) Received: from dell-per740-01.7a2m.lab.eng.bos.redhat.com (nat-pool-bos-t.redhat.com. [66.187.233.206]) by smtp.gmail.com with ESMTPSA id i45-20020a9d172d000000b00606ae457129sm3071219ota.26.2022.05.22.06.36.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 May 2022 06:36:33 -0700 (PDT) From: Tom Rix To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, hanyihao@vivo.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Tom Rix Subject: [PATCH] net: fddi: skfp: smt: Remove extra parameters to vararg macro Date: Sun, 22 May 2022 09:36:27 -0400 Message-Id: <20220522133627.4085200-1-trix@redhat.com> 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 cppcheck reports [drivers/net/fddi/skfp/smt.c:750]: (warning) printf format string requires 0 parameters but 2 are given. DB_SBAN is a vararg macro, like DB_ESSN. Remove the extra args and the nl. Signed-off-by: Tom Rix --- drivers/net/fddi/skfp/smt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/fddi/skfp/smt.c b/drivers/net/fddi/skfp/smt.c index 72c31f0013ad..dd15af4e98c2 100644 --- a/drivers/net/fddi/skfp/smt.c +++ b/drivers/net/fddi/skfp/smt.c @@ -747,7 +747,7 @@ void smt_received_pack(struct s_smc *smc, SMbuf *mb, int fs) #endif #ifdef SBA - DB_SBAN(2,"SBA: RAF frame received\n",0,0) ; + DB_SBAN(2, "SBA: RAF frame received") ; sba_raf_received_pack(smc,sm,fs) ; #endif break ;