Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp983216ybl; Tue, 13 Aug 2019 05:46:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqxphPdBnkEtqyS3mDzmwqs2xKywieEtztK1s5YR6ueqXPMEK+S3k6IxX4VEOHN58vAq0tHD X-Received: by 2002:a17:902:be12:: with SMTP id r18mr35973417pls.341.1565700389867; Tue, 13 Aug 2019 05:46:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565700389; cv=none; d=google.com; s=arc-20160816; b=g16VVNNezbMDXh15mQN0fBHGFZ+H7jyaT6aig7DcJGQxoQHTD672cwRzUjDNSjeMcY j37KD1zJFkRXb7qbHwu58MSMz1MLWiehMNQsxQy3qIc8wmQj5Cix2X5LyihNDSqMvAjm mt+//EAXko3LPjdu3FN26spqY9C0LlMGId6RMpCBHXiIYf1ro0FHRrRpaXmzA01fFodL mrLJNvg7Qn8KgGTkUYQ3Ku7KNlzVH54WujHMPKEj8/j1LNQu66uESMsrnqD+hQLVIa0b bxS+fzQMyh86gEoxRPWgmNOvmqhTfejOuCsHDC5k+aEDmhru6KhTH65+pSng2mDN5N7g ITDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:reply-to:message-id:date:subject:cc:to :from; bh=ChChwnIOQYeFe2xFvWGTzOKylRDFE92fGD8a2tZb5XI=; b=xIiGv5vivHrHLPSqcQp6GvJjn0BwrceSQ9sJ/g1lfq7NUaLYYd2FQRXYAAth+NyL9X wJnZJhoGQ3Rtf9i9jNyDv/oAB0IjDbnUd/9Hjka+TwFo3FCHtoLWxiCoPWZ6b4/k5Bs/ 0mTwJNDPa3s0n1o4zxnWNn5/xGi9MdzMjJl1PqTUce+Egqb7wIz8bYMBo2Yd/ny+hdik gG0wju1tnkiHtW1Uimjwjv+9YAYLqoWD/k/LKHbk+JPPhhdpfoUQzJd5lAELUyFzwu1f GJ9bTMo3JTfrv12Ehllv0WOY9F0YSF7IU+wfqE14jLAK/1NNWAzfb3GeJD53/xSSbYj6 eWSg== ARC-Authentication-Results: i=1; mx.google.com; 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=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o7si56242304pgi.127.2019.08.13.05.46.13; Tue, 13 Aug 2019 05:46:29 -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; 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=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728424AbfHMMnN (ORCPT + 99 others); Tue, 13 Aug 2019 08:43:13 -0400 Received: from inva020.nxp.com ([92.121.34.13]:59802 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726903AbfHMMnN (ORCPT ); Tue, 13 Aug 2019 08:43:13 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id C6D5E1A0234; Tue, 13 Aug 2019 14:43:11 +0200 (CEST) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id BB48B1A0132; Tue, 13 Aug 2019 14:43:11 +0200 (CEST) Received: from fsr-ub1464-137.ea.freescale.net (fsr-ub1464-137.ea.freescale.net [10.171.82.114]) by inva024.eu-rdc02.nxp.com (Postfix) with ESMTP id 651B22060E; Tue, 13 Aug 2019 14:43:11 +0200 (CEST) From: Ioana Ciornei To: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org Cc: joe@perches.com, andrew@lunn.ch, ruxandra.radulescu@nxp.com, Ioana Ciornei Subject: [PATCH v3 00/10] staging: fsl-dpaa2/ethsw: code cleanup Date: Tue, 13 Aug 2019 15:42:57 +0300 Message-Id: <1565700187-16048-1-git-send-email-ioana.ciornei@nxp.com> X-Mailer: git-send-email 1.9.1 Reply-to: ioana.ciornei@nxp.com X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch set addresses some of the feedback received on the dpaa2-ethsw driver: https://lore.kernel.org/patchwork/patch/1113335/. There are no functional changes but rather just code cleanup. Changes in v2: - added Reported-by and Suggested-by tags Changes in v3: - fix error path in patch 10/10 Ioana Ciornei (10): staging: fsl-dpaa2/ethsw: remove IGMP default address staging: fsl-dpaa2/ethsw: enable switch ports only on dev_open staging: fsl-dpaa2/ethsw: add line terminator to all formats staging: fsl-dpaa2/ethsw: remove debug message staging: fsl-dpaa2/ethsw: use bool when encoding learning/flooding state staging: fsl-dpaa2/ethsw: remove unnecessary memset staging: fsl-dpaa2/ethsw: remove redundant VLAN check staging: fsl-dpaa2/ethsw: reword error message staging: fsl-dpaa2/ethsw: register_netdev only when ready staging: fsl-dpaa2/ethsw: do not force user to bring interface down drivers/staging/fsl-dpaa2/ethsw/ethsw-ethtool.c | 44 +++++----- drivers/staging/fsl-dpaa2/ethsw/ethsw.c | 110 ++++++------------------ 2 files changed, 50 insertions(+), 104 deletions(-) -- 1.9.1