Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp3706754pxb; Mon, 30 Aug 2021 08:46:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJKPwWmN36HtduzBtX+AMJFKpm9laqKNOop3Kg3ndBcvEYNAcG3DwR1dlE4YJS8wl6DdWJ X-Received: by 2002:a05:6638:191c:: with SMTP id p28mr20699171jal.41.1630338413657; Mon, 30 Aug 2021 08:46:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630338413; cv=none; d=google.com; s=arc-20160816; b=aDi59u5Z7XNGqGlwJtSE3cZhTFLiILl5VmLZt9wFs6zFqS7rcIaEKPcWLe9uX+RsKr 08esNdjDh+Gn6iMMGtttyFaIk6HHp7keNbUWAjPTS7AM6n4w6GMJhNKb2Ngdfhujf+u4 p4eGDKdhyD0Fb0DUdKRNed0uLNJSlzrIpXV6mXyKavlbCpWpoixr5acybgDKnarZuuOO TtYV7SJdLiS7vZoBYwi2TLEK0QoMi9KQtmfOQWvO+3VyhlMDMReR83Mjx/Dg1jWeLn5U vRWI0oeAgutXjDBGgC4/O6ittYuOR7mu1k6ejvSn/nNRvcTqG6p7Qm1R8v0azDTgAXOk uZ7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=i2VKXTlxLcgXfPeYsZQHu6scQ8eGJD8bNYRbQ0Du1XU=; b=NbFinCGy4RvznDmPnGFvw+xCMQTZukYeFdIY4VOsyhqpDh+1SZ60LtkULYR6NHBidX Krcfv8L6ma6BQ+8pm2Ixr4Yb78kqt+hkA+J4l2x0X4/onl0XlTRRJfoQIm+P6GEL7BN2 sR+XoAU5R7+xaXFdiXU4Vw2+GXYBAQwCcu0LMNE5APUiRjtytGXNkuLnBvMWwBkaAa1K k+QalkY8M1eM0BXHwhT2zu5+tROo5wg0ddBoeoG/h6gKxvTImHDYuie5hi1a1ckS5FuL f4KQDkbMEpElhPfHmprmylkIiNZRq+JGUnl1OSbVwTQElkwolhSS14RBgWSazB2DP+Xw FqMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=Fperxl0E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h30si14948286ila.1.2021.08.30.08.46.40; Mon, 30 Aug 2021 08:46:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=Fperxl0E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237523AbhH3PqU (ORCPT + 99 others); Mon, 30 Aug 2021 11:46:20 -0400 Received: from smtp-fw-80007.amazon.com ([99.78.197.218]:62358 "EHLO smtp-fw-80007.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237311AbhH3PqR (ORCPT ); Mon, 30 Aug 2021 11:46:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1630338324; x=1661874324; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=i2VKXTlxLcgXfPeYsZQHu6scQ8eGJD8bNYRbQ0Du1XU=; b=Fperxl0ErYp0AoG2NXoIe/tPgh0x6LQ2tUE2RLS2e98zA8ayvJSDYmQq OQOqTKIC3MbVLrX3Audx+EZ6NvWVcA/zIuIpVotEIwvGdQkNpMfcPNp7A auRDT6n/v1b0ozdbCYItkhUB9q3gKTjDS+k+aQcXuFadhN5Wp9rjLq5Jo I=; X-IronPort-AV: E=Sophos;i="5.84,363,1620691200"; d="scan'208";a="22928332" Received: from pdx4-co-svc-p1-lb2-vlan2.amazon.com (HELO email-inbound-relay-2a-53356bf6.us-west-2.amazon.com) ([10.25.36.210]) by smtp-border-fw-80007.pdx80.corp.amazon.com with ESMTP; 30 Aug 2021 15:45:16 +0000 Received: from EX13D46EUB004.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan2.pdx.amazon.com [10.236.137.194]) by email-inbound-relay-2a-53356bf6.us-west-2.amazon.com (Postfix) with ESMTPS id 453F8A072F; Mon, 30 Aug 2021 15:45:15 +0000 (UTC) Received: from u90cef543d0ab5a.ant.amazon.com (10.43.162.52) by EX13D46EUB004.ant.amazon.com (10.43.166.65) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Mon, 30 Aug 2021 15:45:09 +0000 Date: Mon, 30 Aug 2021 18:45:03 +0300 From: George-Aurelian Popescu To: Andra Paraschiv CC: linux-kernel , Alexandru Ciobotaru , Greg KH , Kamal Mostafa , Alexandru Vasile , Paolo Bonzini , Stefano Garzarella , "Stefan Hajnoczi" , Vitaly Kuznetsov , kvm , ne-devel-upstream Subject: Re: [PATCH v3 7/7] nitro_enclaves: Add fixes for checkpatch blank line reports Message-ID: <20210830154502.GA10224@u90cef543d0ab5a.ant.amazon.com> References: <20210827154930.40608-1-andraprs@amazon.com> <20210827154930.40608-8-andraprs@amazon.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20210827154930.40608-8-andraprs@amazon.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-Originating-IP: [10.43.162.52] X-ClientProxiedBy: EX13D22UWB003.ant.amazon.com (10.43.161.76) To EX13D46EUB004.ant.amazon.com (10.43.166.65) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 27, 2021 at 06:49:30PM +0300, Andra Paraschiv wrote: > Remove blank lines that are not necessary, fixing the checkpatch script > reports. While at it, add a blank line after the switch default block, > similar to the other parts of the codebase. > > Signed-off-by: Andra Paraschiv > --- > Changelog > > v1 -> v2 > > * No codebase changes, it was split from the patch 3 in the v1 of the > patch series. > > v2 -> v3 > > * Move changelog after the "---" line. > --- > samples/nitro_enclaves/ne_ioctl_sample.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/samples/nitro_enclaves/ne_ioctl_sample.c b/samples/nitro_enclaves/ne_ioctl_sample.c > index 6a60990b2e202..765b131c73190 100644 > --- a/samples/nitro_enclaves/ne_ioctl_sample.c > +++ b/samples/nitro_enclaves/ne_ioctl_sample.c > @@ -185,7 +185,6 @@ static int ne_create_vm(int ne_dev_fd, unsigned long *slot_uid, int *enclave_fd) > return 0; > } > > - > /** > * ne_poll_enclave_fd() - Thread function for polling the enclave fd. > * @data: Argument provided for the polling function. > @@ -560,8 +559,8 @@ static int ne_add_vcpu(int enclave_fd, unsigned int *vcpu_id) > > default: > printf("Error in add vcpu [%m]\n"); > - > } > + > return rc; > } > > -- > 2.20.1 (Apple Git-117) > Reviewed-by: George-Aurelian Popescu Nice, George Amazon Development Center (Romania) S.R.L. registered office: 27A Sf. Lazar Street, UBC5, floor 2, Iasi, Iasi County, 700045, Romania. Registered in Romania. Registration number J22/2621/2005.