From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Subject: Re: [PATCH v3] staging: ipx: Replace printk() with appropriate net_*macro_ratelimited() Date: Mon, 5 Mar 2018 07:01:21 +0100 Message-ID: <20180305060121.GD6670@kroah.com> References: <20180305041740.GA23378@seema-Inspiron-15-3567> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: devel@driverdev.osuosl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, outreachy-kernel@googlegroups.com To: Arushi Singhal Return-path: Content-Disposition: inline In-Reply-To: <20180305041740.GA23378@seema-Inspiron-15-3567> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: "devel" List-Id: netdev.vger.kernel.org On Mon, Mar 05, 2018 at 09:47:40AM +0530, Arushi Singhal wrote: > Replace printk having a log level with the appropriate > net_*macro_ratelimited. > It's better to use actual device name as a prefix in error messages. > > Signed-off-by: Arushi Singhal > --- > changes in v2 > *In v1 printk was changed to pr_*macro(), which is used > in kernel instead of calling printk() directly. And for drivers, > dev_*macro() or net_*macro_ratelimited() should be used for calling > printk() directly. > > changes in v3 > *Indentation is not changed, as line is exceeding 80 characters limit. > > drivers/staging/ipx/af_ipx.c | 2 +- Did you read drivers/staging/ipx/TODO? Please go do so. sorry, greg k-h