From patchwork Tue Aug 20 15:30:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Revanth Rajashekar X-Patchwork-Id: 11104071 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 82C931395 for ; Tue, 20 Aug 2019 15:29:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6938B22CE3 for ; Tue, 20 Aug 2019 15:29:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730020AbfHTP3A (ORCPT ); Tue, 20 Aug 2019 11:29:00 -0400 Received: from mga14.intel.com ([192.55.52.115]:61432 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725971AbfHTP3A (ORCPT ); Tue, 20 Aug 2019 11:29:00 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Aug 2019 08:29:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,408,1559545200"; d="scan'208";a="202710914" Received: from unknown (HELO revanth-X299-AORUS-Gaming-3-Pro.lm.intel.com) ([10.232.116.91]) by fmsmga004.fm.intel.com with ESMTP; 20 Aug 2019 08:29:00 -0700 From: Revanth Rajashekar To: Cc: Jonathan Derrick , Scott Bauer Subject: [PATCH v3 0/3] block: sed-opal: Code Cleanup Patches Date: Tue, 20 Aug 2019 09:30:48 -0600 Message-Id: <20190820153051.24704-1-revanth.rajashekar@intel.com> X-Mailer: git-send-email 2.17.1 Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org This series of patch is a cleanup for sed-opal in kernel 5.4. It 1. Adds/removes spaces. 2. Removes an always false conditional statement. 3. Removes duplicate OPAL_METHOD_LENGTH definition. These cleanup patches are submitted with the intend to submit a new feature after this. Changes from v2: 1. Added reviewed-bys Changes from v1: 1. Fixed up commit messages Revanth Rajashekar (3): block: sed-opal: Add/remove spaces block: sed-opal: Remove always false conditional statement block: sed-opal: Removed duplicate OPAL_METHOD_LENGTH definition block/opal_proto.h | 5 +---- block/sed-opal.c | 49 ++++++++++++++++++++++++++++++++++++++-------- 2 files changed, 42 insertions(+), 12 deletions(-) --- 2.17.1