From patchwork Mon Apr 27 04:13:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rylan Dmello X-Patchwork-Id: 220521 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=-0.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS 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 09469C5519A for ; Mon, 27 Apr 2020 04:13:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D951E20A8B for ; Mon, 27 Apr 2020 04:13:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=rylan.coffee header.i=@rylan.coffee header.b="nlSZ7Ivt"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="k6PVLkbT" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726237AbgD0ENT (ORCPT ); Mon, 27 Apr 2020 00:13:19 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:38675 "EHLO out4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725890AbgD0ENT (ORCPT ); Mon, 27 Apr 2020 00:13:19 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 1F8865C00A9; Mon, 27 Apr 2020 00:13:18 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Mon, 27 Apr 2020 00:13:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rylan.coffee; h= date:from:to:subject:message-id:mime-version:content-type; s= fm3; bh=f9Ekx7PiVmdLUxchMtzJvbe3RKUbNWFL5TW47mNpceo=; b=nlSZ7Ivt sCfEHPvvDoOtEhgRpBdkzzsLE0pzxr5WUGqPf9a22px44p1NrULyNlTpTDQEG72G eHnTj2ryT4cPFe8h0J15O6Z3jHJ6qhDIGbEeoIGwJfcrhroiiec5fpMy6oSP5ff1 6ievjlO87uXvOT31uu2CgVrt+VTOId0R2a9KGpgvtuRTasD3L6FBqyqZMTyi3FdE IXa2GIacTUmzOLO+KsCRV/XMFCLLtWTYy6WrNksoi4o68GzirymUHV296wnS1wBe moqfMVMKSbGit2wMhSbW4Lkz1hlhdSiRkspmEbUJNY5KUMSTsTCqHwYGC1kqf6De XPGpYLwtpMlWug== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=f9Ekx7PiVmdLUxchMtzJvbe3RKUbN WFL5TW47mNpceo=; b=k6PVLkbTjD2z/rDBINYfqNEEaE5ur1JXnsW+6wMgM2eT0 glntTTNGrLAxP7gosSfsbH7dJwGI4QFmM5mDT2mM4H1Y0SDW3r623XDlmgij/X9J FEurSWszfQbw2QTghMgFLKu8OLcI7AD0up+PubS0MP0HBTrwq8U9u5wIqVv+I16P sLrx9Kl3x2AXT6aXddsUUVJpabgXF/F+EbWuksRZmflYgCqP6CWeTC0OjuC4CXst NtD8O0+rnD/krnXY/NnWdfyRrCKnvsO7jmlZjgumf3Q64BJFghEySiuPy5siuRxn VXi4PyeX0iX3EybRTQhpcdzOaS0bP0aSderaXokdg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrheekgdekvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkgggtugesthdtredttddtjeenucfhrhhomheptfihlhgrnhcuffhm vghllhhouceomhgrihhlsehrhihlrghnrdgtohhffhgvvgeqnecukfhppedutdekrdegle drudehkedrkeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhf rhhomhepmhgrihhlsehrhihlrghnrdgtohhffhgvvg X-ME-Proxy: Received: from athena (pool-108-49-158-84.bstnma.fios.verizon.net [108.49.158.84]) by mail.messagingengine.com (Postfix) with ESMTPA id 21A9F3065E4F; Mon, 27 Apr 2020 00:13:17 -0400 (EDT) Date: Mon, 27 Apr 2020 00:13:17 -0400 From: Rylan Dmello To: Manish Chopra , GR-Linux-NIC-Dev@marvell.com, Greg Kroah-Hartman , netdev@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Benjamin Poirier , Jiri Pirko Subject: [PATCH 0/3] staging: qlge: Fix compilation failures in qlge_dbg.c when QL_DEV_DUMP is set Message-ID: MIME-Version: 1.0 Content-Disposition: inline Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org qlge_dbg.c has a bunch of code that is conditionally compiled only when the QL_DEV_DUMP macro is set in qlge.h (it is unset by default). Several fields have been removed from the 'ql_adapter' and 'rx_ring' structs in qlge.h so that qlge_dbg.c no longer compiles when QL_DEV_DUMP is set. This patchset updates qlge_dbg.c so that compiles successfully when QL_DEV_DUMP is set. Rylan Dmello (3): staging: qlge: Remove unnecessary parentheses around struct field staging: qlge: Remove print statement for vlgrp field. staging: qlge: Remove print statements for lbq_clean_idx and lbq_free_cnt drivers/staging/qlge/qlge_dbg.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)