Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2233247ybi; Thu, 20 Jun 2019 11:18:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqw86DOwiSd1xCcQNzopIpZZYP7fZY+XWxD2hCJcnicX2u2Qbmhrz5UTuOMqpL8P0LFM1Z63 X-Received: by 2002:a63:d755:: with SMTP id w21mr14112760pgi.311.1561054704984; Thu, 20 Jun 2019 11:18:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561054704; cv=none; d=google.com; s=arc-20160816; b=Q9BOtHeMSgY4Mni3oic2MaQcL9fWq4m4tWqcA2N9A2Du7k1soq4bn5DDpvnk2mezVk XMwSwFVL5p/gBH3GYIIBVj5rbUuOUaXH64RQVYo72AvGBQWRG55m3ELtRvaARKaC7Rq1 i47SM24w9P6aolZVGGE+n4pn24bETuG0onVL15U4NMRIAfdKc8xEo4D0iWO6ylPCir28 WDKK5CIrWKJ4lUk3F059ObxWsIaGWUlucRdFhTHyyTAfcmr3YH+ctpKVSDgoNIC2Hq7G gzWrnxkouHtlGzmkmu+ryDrsv7UiqKaVr0UAG4Zupa6K7yrfLl4iHz70XZw1QjQeJYRM WwJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=vPYrsCy5/DRZ8Ugi7XpWs0O248Er/8A4virVV36MAk8=; b=PeP7c6/WH0wZvFn0u93Xe4EP0mPQjA4dtFaMm7+H/LS2nS8oHUdaki0FXKub8E+KR2 bR5hov6VuEXQn+fiI0wKWAq1Zz4auN629CH+DRdmf3W5q2Lh+Mt5QUXkYwuJYHJ4kG0T noWWedfcnM8ggl8fhgxjRUojfDZhb7KioGfyVDQzH++2tBq3K5UpQKRM5VGvYZis5rNs emrWQhjzpXX80Gl71bIW5u7NsWybEq+d2tuq97UM/qwYD28mI+ZWKBN71BoY6QZodTu2 clK7bqrCcfSqZRFTZqQmCT5ClrazcNR7Lw9BJpQwYx0vzCgZJoUKAMzm9Im3DN8qohqd N4Vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=yjbysLiu; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 187si190748pfg.89.2019.06.20.11.18.10; Thu, 20 Jun 2019 11:18:24 -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=@kernel.org header.s=default header.b=yjbysLiu; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729693AbfFTSRM (ORCPT + 99 others); Thu, 20 Jun 2019 14:17:12 -0400 Received: from mail.kernel.org ([198.145.29.99]:46440 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729671AbfFTSRJ (ORCPT ); Thu, 20 Jun 2019 14:17:09 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7221C205F4; Thu, 20 Jun 2019 18:17:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561054628; bh=mK45/Xbhgfwdi2FZYz42Tj69FVZGZYKwaWYPZwqd6P4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yjbysLiuYbtNIYXVciAv1atfSA+D1MxMEX22PO/8iB3L5TO9ZbC78zfWYl+RYZ2Mu T0HT1uH+f3Ak3WA/dq/h1drsIeuZh/zbe2Z5b6d58fVuyeU1DA7UWNpQLBtIxcaf6T Sle76NbsKoy7a2wRFnHAHujOzDarUSgoVZ6XMWMA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Sagi Grimberg , Minwoo Im , Christoph Hellwig Subject: [PATCH 5.1 95/98] nvme-tcp: rename function to have nvme_tcp prefix Date: Thu, 20 Jun 2019 19:58:02 +0200 Message-Id: <20190620174354.182824738@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190620174349.443386789@linuxfoundation.org> References: <20190620174349.443386789@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sagi Grimberg commit efb973b19b88642bb7e08b8ce8e03b0bbd2a7e2a upstream. usually nvme_ prefix is for core functions. While we're cleaning up, remove redundant empty lines Signed-off-by: Sagi Grimberg Reviewed-by: Minwoo Im Signed-off-by: Christoph Hellwig Signed-off-by: Greg Kroah-Hartman --- drivers/nvme/host/tcp.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) --- a/drivers/nvme/host/tcp.c +++ b/drivers/nvme/host/tcp.c @@ -473,7 +473,6 @@ static int nvme_tcp_handle_c2h_data(stru } return 0; - } static int nvme_tcp_handle_comp(struct nvme_tcp_queue *queue, @@ -634,7 +633,6 @@ static inline void nvme_tcp_end_request( nvme_end_request(rq, cpu_to_le16(status << 1), res); } - static int nvme_tcp_recv_data(struct nvme_tcp_queue *queue, struct sk_buff *skb, unsigned int *offset, size_t *len) { @@ -1535,7 +1533,7 @@ out_free_queue: return ret; } -static int nvme_tcp_alloc_io_queues(struct nvme_ctrl *ctrl) +static int __nvme_tcp_alloc_io_queues(struct nvme_ctrl *ctrl) { int i, ret; @@ -1565,7 +1563,7 @@ static unsigned int nvme_tcp_nr_io_queue return nr_io_queues; } -static int nvme_alloc_io_queues(struct nvme_ctrl *ctrl) +static int nvme_tcp_alloc_io_queues(struct nvme_ctrl *ctrl) { unsigned int nr_io_queues; int ret; @@ -1582,7 +1580,7 @@ static int nvme_alloc_io_queues(struct n dev_info(ctrl->device, "creating %d I/O queues.\n", nr_io_queues); - return nvme_tcp_alloc_io_queues(ctrl); + return __nvme_tcp_alloc_io_queues(ctrl); } static void nvme_tcp_destroy_io_queues(struct nvme_ctrl *ctrl, bool remove) @@ -1599,7 +1597,7 @@ static int nvme_tcp_configure_io_queues( { int ret; - ret = nvme_alloc_io_queues(ctrl); + ret = nvme_tcp_alloc_io_queues(ctrl); if (ret) return ret;