Return-path: Received: from aserp2120.oracle.com ([141.146.126.78]:41256 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727858AbeHNNnS (ORCPT ); Tue, 14 Aug 2018 09:43:18 -0400 Date: Tue, 14 Aug 2018 13:56:21 +0300 From: Dan Carpenter To: Ajay Singh Cc: Greg KH , devel@driverdev.osuosl.org, venkateswara.kaja@microchip.com, linux-wireless@vger.kernel.org, ganesh.krishna@microchip.com, adham.abozaeid@microchip.com, aditya.shankar@microchip.com Subject: Re: [PATCH 2/5] staging: wilc1000: fixes for undefined reference to `__this_module' error Message-ID: <20180814105621.hu3kpbxwz4kjc2o3@mwanda> (sfid-20180814_125653_891113_9FE8232A) References: <1534049265-5600-1-git-send-email-ajay.kathat@microchip.com> <1534049265-5600-3-git-send-email-ajay.kathat@microchip.com> <20180812113555.GC25209@kroah.com> <20180812174852.2eecf7da@ajaysk-VirtualBox> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20180812174852.2eecf7da@ajaysk-VirtualBox> Sender: linux-wireless-owner@vger.kernel.org List-ID: On Sun, Aug 12, 2018 at 05:48:52PM +0530, Ajay Singh wrote: > Yes, currently only code to read and writing for "wilc_debug_level" > exists. > > The main purpose for this file was to configure(enable/disable) > specific level debug logs to print. > The kernel's dev_dbg() macros are really very clever. You can enable them for one file or for a specific line or for a function. regards, dan carpenter