From patchwork Thu Jul 23 12:24:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 247044 Delivered-To: patch@linaro.org Received: by 2002:a54:2c11:0:0:0:0:0 with SMTP id g17csp1148151ecp; Thu, 23 Jul 2020 05:25:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzGgR7aDv3+e9tA7amXUySLGiJJmWjqzxim8/q7mqkJuQ7bDvVhqhIB0T4S6nFby/pMyvfI X-Received: by 2002:a05:6402:22c1:: with SMTP id dm1mr4064141edb.187.1595507150182; Thu, 23 Jul 2020 05:25:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595507150; cv=none; d=google.com; s=arc-20160816; b=ljH6Wmo5gkL7C9kWMLOx2h+zxikx6/tlLsfYZEj3VwDzAPrX89PGFh0oFw/U1DTsT3 EPnw83s6/eLfRFyfQ284MJsrwxWPF4ZAA++VlRL5ZQFci4QR4HuH5UwWi4DI07B42zxh 3MHqQ8OCVYtPS0ygjHqT0ZI9IMBe0+iELviZK10UJB2DJLYU2SaDcKWjZ2qLUqdvlff3 SLaoLS5tf/SrK2NOaLUU0GtFHwK8fxMyPCX7hovNlDMCW4OfUxc1sIAU3xxAcVgbF5Y3 saAETygofq9k0utxZIro0ZCXI3gfGK+JYx2vy7Z1hSc+TFGjKCCM+D2Q8RKXh4mwIijV 1OUA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=m3mDnqSN+OOOTdmOXToIz9SwiUgUMLzbR5Yna7FHQ8M=; b=itNOC0OT+EZv2KrK+tMYDAbt4siF7JUfjK17xKqWlf7Z+X70kQFR26yWz3/H0gRS+u 4PFvfxNRlpAbtaztqGyJfPj6SQHp3DEDP2Myk4adHDHLR23e5bzL0GRalKYC13+r1PAg UZ74cK3FK/rWc5Bu7nK0vqIpgneQMb5h0yOaR/jdvxQDfEzmszRQLzGJnZ2SuvLxV8fE gRPLOe502+LtYAZ3VHaReLvUeIeb1IGw/ARNq0NtPn3nvU31YBP4DJ4ci55P8j6Zx5a+ S74KZ0aYTdUJLd7XGM+/T01ppdXHBV7c4RKM8Di4XDqUI+jZl3r6TySxzb2FYs9yJEL6 kvOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rooYXweM; spf=pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h25si1815678ejx.479.2020.07.23.05.25.50 for ; Thu, 23 Jul 2020 05:25:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-scsi-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=@linaro.org header.s=google header.b=rooYXweM; spf=pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729162AbgGWMZt (ORCPT ); Thu, 23 Jul 2020 08:25:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58330 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729130AbgGWMZj (ORCPT ); Thu, 23 Jul 2020 08:25:39 -0400 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76C3FC0619E2 for ; Thu, 23 Jul 2020 05:25:39 -0700 (PDT) Received: by mail-wm1-x344.google.com with SMTP id 184so5023403wmb.0 for ; Thu, 23 Jul 2020 05:25:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=m3mDnqSN+OOOTdmOXToIz9SwiUgUMLzbR5Yna7FHQ8M=; b=rooYXweMoSfvNUEFwqDddlh0k+h7mXrYANm1pHQMha0hxF4CfAHMhYrlhKwN8cfE2F jEsJYbcBqxFZrDqIbtmyuOj9LMfpPPg2uVl8FSnvPYTiQEORXFNwUewOBXmCIQxvAgt8 wIPUwbxyJq1JjjudqgEqcW8YlORJOqA52XqT454/xaTZy1wmfSivdgBpmCy49zQDSLyn xpFy7CJItOrmsDByW8eVSMmlOhh5RmUaDCn/wAGJwERbu4yn/ESYc3SeCgEgllYwTgMy RPDYKboBND6viaKyfFK0PXCEpJBaoIFM/Szhrfx46SMZWl5AZfnkKwJ5qi4tm/OdFP3D zv0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=m3mDnqSN+OOOTdmOXToIz9SwiUgUMLzbR5Yna7FHQ8M=; b=doNQFV5Wee+v8FN7wWo4uxB5MG5u5HD1PhGelYpGXvgz5UTRy2cpNUzhrirfsBkONS dh1MIHYZYvjd40J1BuB973cIizoMFSbtsk23zBi760UW1XVFqaIemm9eMM4pWocbMObq jkegp6Hn+M8OJQ+q322YD+pnAfVchYBQjTiBpNf81yEC4KfrC2LKPueAxDcajGxCHdRI IkH2vCFmJH7lDywVFf5efs/wYMfoRZeNvJQtFfsPYfGx+iENYvQE8YFvGuncVqK1hG+3 R4OSeiW1GHy5zr4o4j7wr6Ldc3wqJFP/VkTlOTu1KJLv/4ZGbTQhJzK+tLAucAC0Hf8g iqLQ== X-Gm-Message-State: AOAM530p/fykMqMNvrjChqTF6xzUEDJD4N7wIl+z7dW4hC3GuNdafaTw 8uZn+0Dd8UCzXS/l59C4pX0DSQ== X-Received: by 2002:a1c:7717:: with SMTP id t23mr3870714wmi.75.1595507138244; Thu, 23 Jul 2020 05:25:38 -0700 (PDT) Received: from localhost.localdomain ([2.27.167.73]) by smtp.gmail.com with ESMTPSA id j5sm3510651wma.45.2020.07.23.05.25.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jul 2020 05:25:37 -0700 (PDT) From: Lee Jones To: jejb@linux.ibm.com, martin.petersen@oracle.com Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, Lee Jones , QLogic-Storage-Upstream@qlogic.com, Anil Veerabhadrappa , Eddie Wai Subject: [PATCH 39/40] scsi: bnx2i: bnx2i_iscsi: Add parameter description and rename another Date: Thu, 23 Jul 2020 13:24:45 +0100 Message-Id: <20200723122446.1329773-40-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200723122446.1329773-1-lee.jones@linaro.org> References: <20200723122446.1329773-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/scsi/bnx2i/bnx2i_iscsi.c:1288: warning: Function parameter or member 'cmds_max' not described in 'bnx2i_session_create' drivers/scsi/bnx2i/bnx2i_iscsi.c:2176: warning: Function parameter or member 'params' not described in 'bnx2i_nl_set_path' drivers/scsi/bnx2i/bnx2i_iscsi.c:2176: warning: Excess function parameter 'buf' description in 'bnx2i_nl_set_path' Cc: QLogic-Storage-Upstream@qlogic.com Cc: Anil Veerabhadrappa Cc: Eddie Wai Signed-off-by: Lee Jones --- drivers/scsi/bnx2i/bnx2i_iscsi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.25.1 diff --git a/drivers/scsi/bnx2i/bnx2i_iscsi.c b/drivers/scsi/bnx2i/bnx2i_iscsi.c index a9ffd89ec2c85..fdd446765311a 100644 --- a/drivers/scsi/bnx2i/bnx2i_iscsi.c +++ b/drivers/scsi/bnx2i/bnx2i_iscsi.c @@ -1276,6 +1276,7 @@ static int bnx2i_task_xmit(struct iscsi_task *task) /** * bnx2i_session_create - create a new iscsi session * @ep: pointer to iscsi endpoint + * @cmds_max: user specified maximum commands * @qdepth: scsi queue depth to support * @initial_cmdsn: initial iscsi CMDSN to be used for this session * @@ -2170,7 +2171,7 @@ static void bnx2i_ep_disconnect(struct iscsi_endpoint *ep) /** * bnx2i_nl_set_path - ISCSI_UEVENT_PATH_UPDATE user message handler * @shost: scsi host pointer - * @buf: pointer to buffer containing iscsi path message + * @params: pointer to buffer containing iscsi path message */ static int bnx2i_nl_set_path(struct Scsi_Host *shost, struct iscsi_path *params) {