Received: by 10.213.65.68 with SMTP id h4csp452066imn; Fri, 23 Mar 2018 08:06:17 -0700 (PDT) X-Google-Smtp-Source: AG47ELteC3AP626pKsHamh8n0OqpTqOLYkckt4Kxb3TpWpfa6KWuVKlfo8jjhPEc46L4NHfd+JsR X-Received: by 10.99.126.73 with SMTP id o9mr21621309pgn.406.1521817577714; Fri, 23 Mar 2018 08:06:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521817577; cv=none; d=google.com; s=arc-20160816; b=yAZWiFD5cHYMg0wUJhF5quS2o4kLB6FUeKoK4jvpXJhGnP0XE0/3NMYa3n+xFV5zfr OC0HcmlgkH/v0IwoYv6a0q7VebYtN9QEmAGBLS4/9UNNqV7/V5hHP7JBB0+0sq9eqX8j /QSIvcTa02ubXuEye4VAgVrLHOdYTmlDz0p4HXPEMOCrT23b1nI+GdJGhJbut2mDB9lU /GlprUeJyJmumfWufOZWLRqSdFZLy/gsA97eIUP1KXM6g6YtK/7GJ1Rlxw5l3rs8ZAhG HP95nSahkGfRE700pqWZyKe8WkDrwAcM1mCBfE5QWxEhIDyFs/NzAwwfI5a2ox0B/m3C GPSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=SUhVk93RYqUCawo2gqhnAy76fGSLFY7OhWbeujR8JGM=; b=gnKZR2cN/uMYaAsg8EYl7MZIk4F2KflCkUWYCHHDs0ZQGVv+pWVq7tjZXp4r7KKNSu S1KXZiq65G5tfPqUgYCdjZR9IWjPaKadsRXhoUdIRk5E+LapM+5KZigTByrsuvJaI+mu L+d9JLh3tt6SxGln+cWO4c4jhep+b7QEFHKEB9QMniMLWtoGoOwKVMNnQQTXMxqnOe7O 7/7mFTlo8ZK2VrqBit9cPMyI7S0+oHws89aBjRR38yQxDUt2ewlhRZaHUmCjy9y1FY8q /x5e5v7epLLhPfIwpMkUawU/KKLXD4ZKpopuTE3k/DymrGP3fElBYD09yJB2Po6KbLyu lQLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=rnXco5yL; 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=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i5-v6si9029836plk.139.2018.03.23.08.05.58; Fri, 23 Mar 2018 08:06:17 -0700 (PDT) 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=@nxp.com header.s=selector1 header.b=rnXco5yL; 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=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751966AbeCWPDd (ORCPT + 99 others); Fri, 23 Mar 2018 11:03:33 -0400 Received: from mail-ve1eur01on0087.outbound.protection.outlook.com ([104.47.1.87]:30256 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751504AbeCWPDc (ORCPT ); Fri, 23 Mar 2018 11:03:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=SUhVk93RYqUCawo2gqhnAy76fGSLFY7OhWbeujR8JGM=; b=rnXco5yLQFLDsLrKFgNaysNOiu85WXwNwEMfzGb3ILM/YC/RpwInRutlsfqJ1lvkp8a2ie/Pakux1x+RJFjSA8mupqkJUfSXApI0rlpRK0xNu5I0Zj4T27fUVj9P9fNarmhhDG+3tcvexYXv94YT5UWTPTLYQ4B5UKr7fbAyIPI= Received: from HE1PR0402MB2700.eurprd04.prod.outlook.com (10.175.35.10) by HE1PR0402MB2841.eurprd04.prod.outlook.com (10.175.30.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.609.10; Fri, 23 Mar 2018 15:03:29 +0000 Received: from HE1PR0402MB2700.eurprd04.prod.outlook.com ([fe80::8898:cb49:eb08:ad77]) by HE1PR0402MB2700.eurprd04.prod.outlook.com ([fe80::8898:cb49:eb08:ad77%18]) with mapi id 15.20.0588.017; Fri, 23 Mar 2018 15:03:29 +0000 From: Ruxandra Ioana Ciocoi Radulescu To: Greg KH CC: "devel@driverdev.osuosl.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH 2/9] staging: fsl-dpaa2/eth: Move print message Thread-Topic: [PATCH 2/9] staging: fsl-dpaa2/eth: Move print message Thread-Index: AQHTwq0RJrMOL7UTVkSRtOsSjoWnbqPd6kcAgAAATNA= Date: Fri, 23 Mar 2018 15:03:29 +0000 Message-ID: References: <20180323134413.1532-1-ruxandra.radulescu@nxp.com> <20180323134413.1532-3-ruxandra.radulescu@nxp.com> <20180323150126.GA12656@kroah.com> In-Reply-To: <20180323150126.GA12656@kroah.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=ruxandra.radulescu@nxp.com; x-originating-ip: [192.88.166.1] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;HE1PR0402MB2841;7:2IyjCQiC8kAx6kp4hftrOd20jKVJTQyN0ErYGjXj7AJgErfxcrm8P82g/wcsCoNYYnk6Ao5D1kMpYdNNINZuBXpE9Zd/e6iN1oFa3FvBkmUzL8tS1PZ/mC2YRkPdrgFi3V7Qf8gUNdUtdzWE/2LssDRza5Dn5/uo8XP16EcUkyWM7LlxnAfkVnDwpUr979UnjUpmoyKXIxQH2eTyfxDvZcBEsghbZ1D+KeXy3oz9rQRV5tOHLy4CIciRrp/ToZvN x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: baa168db-b0e6-4425-5364-08d590cf3cd7 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020);SRVR:HE1PR0402MB2841; x-ms-traffictypediagnostic: HE1PR0402MB2841: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055)(185117386973197); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231221)(944501327)(52105095)(3002001)(93006095)(93001095)(10201501046)(6055026)(6041310)(20161123562045)(20161123558120)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:HE1PR0402MB2841;BCL:0;PCL:0;RULEID:;SRVR:HE1PR0402MB2841; x-forefront-prvs: 0620CADDF3 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(396003)(39380400002)(346002)(376002)(39860400002)(366004)(13464003)(199004)(189003)(5660300001)(53546011)(6506007)(66066001)(26005)(97736004)(102836004)(15650500001)(54906003)(86362001)(316002)(6436002)(229853002)(68736007)(186003)(305945005)(5250100002)(74316002)(7736002)(8676002)(81166006)(3660700001)(81156014)(6116002)(2906002)(3846002)(8936002)(9686003)(105586002)(53936002)(3280700002)(99286004)(2900100001)(55016002)(478600001)(106356001)(6916009)(33656002)(6246003)(7696005)(446003)(59450400001)(76176011)(14454004)(4326008)(11346002)(25786009);DIR:OUT;SFP:1101;SCL:1;SRVR:HE1PR0402MB2841;H:HE1PR0402MB2700.eurprd04.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: Th1/1MdZvebLDs5NZXOE3eFNtPrmPnusxp64UcwLFmO8eFrHXIzEmpy0bUoJZ9RjIwEe6kT8/UuV+mQ3Fbn7z5lhz+QBaIS6MUUMabLd/NeWfHmZpWUg1/GY7ve844LEwELNwsWf7EFPgm4FHV9il8imKroyiNI0dnh6SpMhO0tQuqgg7K3xdJgp/nt31aHcd5f3/XenZIaXoSz0KVJL6uq5100Wf9arR5OIGSpQxzDFDZFSoDvToATPEL/kfO3uzeZrGxrNekk1Rmu9C9QG+WEbm+EPt/CrBD0OrF1pqU7wEgg4O8uqvYedNW5rCy3ZNs7PMyUU+ffQZxBD5mB6Sg== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: baa168db-b0e6-4425-5364-08d590cf3cd7 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Mar 2018 15:03:29.4917 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0402MB2841 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -----Original Message----- > From: Greg KH [mailto:gregkh@linuxfoundation.org] > Sent: Friday, March 23, 2018 5:01 PM > To: Ruxandra Ioana Ciocoi Radulescu > Cc: devel@driverdev.osuosl.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH 2/9] staging: fsl-dpaa2/eth: Move print message >=20 > On Fri, Mar 23, 2018 at 08:44:06AM -0500, Ioana Radulescu wrote: > > Let the driver remove() function print an informative message > > after it finishes removing the network interface, not at an > > arbitrary point during cleanup. > > > > Signed-off-by: Ioana Radulescu > > --- > > drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c > b/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c > > index beb5959..9fb88f2 100644 > > --- a/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c > > +++ b/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c > > @@ -2550,7 +2550,6 @@ static int dpaa2_eth_remove(struct > fsl_mc_device *ls_dev) > > priv =3D netdev_priv(net_dev); > > > > unregister_netdev(net_dev); > > - dev_info(net_dev->dev.parent, "Removed interface %s\n", > net_dev->name); > > > > if (priv->do_link_poll) > > kthread_stop(priv->poll_thread); > > @@ -2571,6 +2570,8 @@ static int dpaa2_eth_remove(struct > fsl_mc_device *ls_dev) > > dev_set_drvdata(dev, NULL); > > free_netdev(net_dev); > > > > + dev_info(net_dev->dev.parent, "Removed interface %s\n", > net_dev->name); >=20 > Why is this even needed? I'll take it but spamming kernel logs for no > reason is not a good idea :) Fair point, should I make it dev_dbg instead? Thanks, Ioana