[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200428120655.GC2014@kadam>
Date: Tue, 28 Apr 2020 15:06:56 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Rylan Dmello <mail@...an.coffee>
Cc: Manish Chopra <manishc@...vell.com>, GR-Linux-NIC-Dev@...vell.com,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
netdev@...r.kernel.org, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org, Benjamin Poirier <bpoirier@...e.com>,
Jiri Pirko <jpirko@...hat.com>
Subject: Re: [PATCH 2/3] staging: qlge: Remove print statement for vlgrp field
On Mon, Apr 27, 2020 at 12:14:44AM -0400, Rylan Dmello wrote:
> Remove statement that tries to print the non-existent 'vlgrp' field
> in the 'ql_adapter' struct, which causes a compilation failure when
> QL_DEV_DUMP is set.
>
> vlgrp seems to have been removed from ql_adapter as a part of
> commit 18c49b91777c ("qlge: do vlan cleanup") in 2011.
>
> vlgrp might be replaced by the 'active_vlans' array introduced in the
> aforementioned commit. But I'm not sure if printing all 64 values of
> that array would help with debugging this driver, so I'm leaving it
> out of the debug code in this patch.
>
> Signed-off-by: Rylan Dmello <mail@...an.coffee>
Fixes: 18c49b91777c ("qlge: do vlan cleanup")
regards,
dan carpenter
Powered by blists - more mailing lists