Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2638017ybv; Mon, 24 Feb 2020 08:49:00 -0800 (PST) X-Google-Smtp-Source: APXvYqx4MeJjyB2BLcMRh6mCeJI8W3plyPZSjgj3rULuTnswx2QFi6n419xyUDY/UFROAfAstocp X-Received: by 2002:aca:44d7:: with SMTP id r206mr13153150oia.33.1582562940461; Mon, 24 Feb 2020 08:49:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582562940; cv=none; d=google.com; s=arc-20160816; b=Cq9uvlsE0bhDZxT2r8sDIPnN6E8neohweq6BQHAVSsM8xKoqbnhIYH2tj6xmkw2pry Szzcu90RwKrYI1viaD6fxDfwF4Ot1zIAD1kZPIS3rtvqg4OiQWm7TJ8wgCeLFp/ADJDp Cak0RC2rbk4ZF1hU76GF5Wi6lAxq76HzRulHaruOLCtHOu0nClRzcfzmeV7q4O54HHW8 kXWpsSiFPdkK7nm0OOsHAmhYgydCGafADmjbeTw9MNKg61S7Pp3YnFfRy99pVhhgxMjh XMiijjJS4DAlbyIO55oroX3e8ZvMWSrlNdU/xNA1PIS8eXQRCaTFNT95eoQlKsWHGwO4 pIYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:to :date:from:dkim-signature; bh=2zePMqHb3pxqOSl/NHaUkMDrUSvpWjI4HscCu6Jr28k=; b=lOgHdib6q+A7dBlVPaNDLq4+Gm6JCrk22SYpBN0w5JMd3K5ZFBD8cqpihvO2FJtFxz tlGufe1VlBvttzIbS27ROraCmaBz8OXbWtc30nApD3n4sBvrBOzHty1K1nxe9G45AZMN JFqwAio+0V1tlz1FxxDRmf2rQ9TPa1dBiA1VPaQHS6/nakY7d3Y9g1Mvel5hxTV/ZzsQ mgrQ8S7dt7o3fS/tcgFHWEYVK+IgRzzovGo8JY2dytPxzYROS6R0/3D15HrciCa5Pcam S1wxylGRA65bg7xBon2Pb3I1bigzOlnqJ/bYH4p8BrhmM8Oq/sOARyb+6nWNrulfPEri 1dog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@es-iitr-ac-in.20150623.gappssmtp.com header.s=20150623 header.b=ZwdohMMj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=iitr.ac.in Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l11si6178343oth.286.2020.02.24.08.48.48; Mon, 24 Feb 2020 08:49:00 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@es-iitr-ac-in.20150623.gappssmtp.com header.s=20150623 header.b=ZwdohMMj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=iitr.ac.in Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727483AbgBXQr3 (ORCPT + 99 others); Mon, 24 Feb 2020 11:47:29 -0500 Received: from mail-pj1-f66.google.com ([209.85.216.66]:40389 "EHLO mail-pj1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726806AbgBXQr3 (ORCPT ); Mon, 24 Feb 2020 11:47:29 -0500 Received: by mail-pj1-f66.google.com with SMTP id 12so4441379pjb.5 for ; Mon, 24 Feb 2020 08:47:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=es-iitr-ac-in.20150623.gappssmtp.com; s=20150623; h=from:date:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=2zePMqHb3pxqOSl/NHaUkMDrUSvpWjI4HscCu6Jr28k=; b=ZwdohMMjroCJi5cDmXzMY1AW4fuHeMb0XbtE7ZyLvdY2TmdNxW4nhXx6yqm4f03V4O eT3TFPHeWwM2FEyVDDAvDi+WtbvSyoqjV6MkeirxuqmP70depek/y+KRWpeWdnaiqGFS Z+76/2ZoqQLn0ew3wr7AJ39b3DSalwhweP2CQvZ+O4/N03aQ5R9CV9iSLCv0j9dL6TD7 kUY6/Bb4yRNNfLGRj60fR0SUuwvkwcMrTFRjB/tqpFiiMhw1aKdRg1Tq7qyEe8SKRNxZ uNmI5mAV5zoffPBG/GN2+NvnGFdN5MUCEB3F34AXL5kmt26jahSW5Do+o6OUe1BLRTfL buyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=2zePMqHb3pxqOSl/NHaUkMDrUSvpWjI4HscCu6Jr28k=; b=XM+my4xUUjhh8BmSfFxf4ntlXM0XefsHvsyo8xKXJvDPMHengbwnPD+5v+S4tejBO1 iGMN4QCLDoic0lyzSnL7crwgLIfExH4TDHlh9O46Otr1OpeCuPFf3tNMjd9gwz71C0yZ qXweh0SOhR1JHe2uyuw1nhXWm5t2gRn5MIyylX+RodXO8T8hTF3+ab4+3+SClqXUMSc2 /DtxXpzFHLdvN/2ewVgmw0gnHguoF/U8D0HB1ka/yTNwv+0clfWNNZ5AdVJHsQwBomzq pJBsQb+IFU8KIlli0rTyHrYlxz/MK8wt52sHKNWYslwl4a+z07D6zv86lLh9oLQytjN+ HP9g== X-Gm-Message-State: APjAAAUmLtEHxGlCeeGi8AbqXnJ+FH3HuNca8+dXDe74bWM/UfDd4zAy xf1tyZbMVdTAEWyBBEpWgo43Kg== X-Received: by 2002:a17:902:9342:: with SMTP id g2mr49081074plp.339.1582562848308; Mon, 24 Feb 2020 08:47:28 -0800 (PST) Received: from kaaira-HP-Pavilion-Notebook ([103.37.201.170]) by smtp.gmail.com with ESMTPSA id d3sm13201089pfn.113.2020.02.24.08.47.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 24 Feb 2020 08:47:27 -0800 (PST) From: Kaaira Gupta X-Google-Original-From: Kaaira Gupta Date: Mon, 24 Feb 2020 22:17:21 +0530 To: Joe Perches , Manish Chopra , GR-Linux-NIC-Dev@marvell.com, Greg Kroah-Hartman , netdev@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4] staging: qlge: emit debug and dump at same level Message-ID: <20200224164721.GA7214@kaaira-HP-Pavilion-Notebook> References: <20200224082448.GA6826@kaaira-HP-Pavilion-Notebook> <84410699e6acbffca960aa2944e9f5869478b178.camel@perches.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <84410699e6acbffca960aa2944e9f5869478b178.camel@perches.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 24, 2020 at 05:38:09AM -0800, Joe Perches wrote: > On Mon, 2020-02-24 at 13:54 +0530, Kaaira Gupta wrote: > > Simplify code in ql_mpi_core_to_log() by calling print_hex_dump() > > instead of existing functions so that the debug and dump are > > emitted at the same KERN_ > [] > > diff --git a/drivers/staging/qlge/qlge_dbg.c b/drivers/staging/qlge/qlge_dbg.c > [] > > @@ -1324,27 +1324,10 @@ void ql_mpi_core_to_log(struct work_struct *work) > > { > > struct ql_adapter *qdev = > > container_of(work, struct ql_adapter, mpi_core_to_log.work); > > - u32 *tmp, count; > > - int i; > > > > - count = sizeof(struct ql_mpi_coredump) / sizeof(u32); > > - tmp = (u32 *)qdev->mpi_coredump; > > - netif_printk(qdev, drv, KERN_DEBUG, qdev->ndev, > > - "Core is dumping to log file!\n"); > > There is no real need to delete this line. > > And if you really want to, it'd be better to mention > the removal in the commit message description. > > As is for this change, there is no "debug" and "dump" > as the commit message description shows, just "dump". This patch has already been added to the tree, if I amend the commit now using git rebase, won't it affect the upstream as the SHA-1 of the commit and it's children will change? > > > >