From patchwork Wed Mar 17 09:12:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 403079 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp294327jai; Wed, 17 Mar 2021 02:13:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwk+2zdJ5XX/T9FqRpgO5eiZvxG3Hb6ldM3XrxQbCHmzSIK2fjvSfy9veyLta8+DhugmiYl X-Received: by 2002:a17:906:a2d3:: with SMTP id by19mr33492220ejb.98.1615972412278; Wed, 17 Mar 2021 02:13:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615972412; cv=none; d=google.com; s=arc-20160816; b=AauQFFyeIVPvUypONc6PA+8PgzRlxUt2nUBgSOWvTX/BMZZzjxe0UKV/UeYuUyNC+k 7r/5ZNpKW3cNcsb7AkOdVk+tLR6AAp/l89drPpYOWj4VN5DRW9whwQbQUrWir46iyz/W yCW1ZOqjA0GwdrhtuUU9EX2NqeKlR0QKM4DYGkIv0MkYIVCiCqfbaKxyLgmhDqZm9oBQ d+IB5jY4jYCZiTfpaWVQhZKHMLMvRbD/HlCX5XFMrwum1hdLOAsmyfCovS9MZZqx0biF 7XN/vJXKw0pyvy2umv90KzxmtbZYi8Jtv9vDnfeXSQynB5QRGcZAru4TrFumQ+CgofY6 lLWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=JOb+P/qw104YPM5H9Pk4ZXuOVMmz3snbpqZtEzxVXZA=; b=XdktNyfWTh9EvbOPe+hAPxj9orJ3QMHRyErCwQEti9i/j0BlcegznbpO9R4dw6BsDq PTKngnH8cjsPzs6afBSr89riWJESV8d06F8GD6/p9/N1iCo1jyubgvLJv2FOJQmhxmBe emyxbsBS5uHJVr8DFQNqxO+F+5AcEqGT1JksQcLMB89yM30XWaCECA1W24MhHCvI+q1j fVspKAPi2A+Zdiwqs2j1/wTH6inFUOwnEJ2ldHuEH9aLmJaBoFLU35FD+4vk1rQv02rP g9T5J3LEuCfWeno+zBvDyVGS1HT/VMT14A0CN3eIaTzHGCWrsLjQ1Y9TsabRZRo+arQY pngQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=F1h9Xpvv; 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 t15si15461864edq.164.2021.03.17.02.13.32 for ; Wed, 17 Mar 2021 02:13:32 -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=F1h9Xpvv; 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 S230224AbhCQJNE (ORCPT ); Wed, 17 Mar 2021 05:13:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230194AbhCQJMt (ORCPT ); Wed, 17 Mar 2021 05:12:49 -0400 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 154A8C061762 for ; Wed, 17 Mar 2021 02:12:49 -0700 (PDT) Received: by mail-wr1-x434.google.com with SMTP id z2so1002513wrl.5 for ; Wed, 17 Mar 2021 02:12:49 -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=JOb+P/qw104YPM5H9Pk4ZXuOVMmz3snbpqZtEzxVXZA=; b=F1h9XpvvlAIfIaTIkV910sK2Dtfb9XwkVVfR/pBYqkkhyXvxA6dE/288OwsBxgb0+h kuNekb0Wva2qFigdWkqcNEOXvOoiAUK7KKb20zkPxk3Lo2IBg4gCQ/S7x40AXiIcVXBt xaHoN3HLXxGGbrOLe0/O1u3xMDQtPiK6bM0lD2QhG48Qfskhi+Qc4vaT/ImCWVMN8h1n UhSpU54xHEmcIz6v14p2tFZ5sMcJjalNQWiOrErgbSYL3499emaJbMxxwmsVHwIBIrTy W4lX0d9BiGRxtBPKYqxWnFJwWRZq/dfZ/SQpX9SDzU9Jwc9sBPlDwqV8+oMhIluNllQ0 TMLg== 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=JOb+P/qw104YPM5H9Pk4ZXuOVMmz3snbpqZtEzxVXZA=; b=e+8y2rqxFxWMBQQmERfhR4K7XW9Bvan+o2UQ7i0MsLlkJ9f1WPSe4QtQKRdmOPhCjq wokkvxl4MrXa5wZf8MlW8y5IMKTKR48XCcyktqgD/jq8FDNLdI4Xxo8P98Z4SnRfEWw2 U+3gIKe9kSoHExLOzmk9coJEyhTWrxtjJLc+v3F4lweEC2ZIebARMfK9WAHRiyLCXm+F 2FE7VNs2vg4U5P8T+tJXdqG2rX4dPg5RoKVIBot6fZkh7g5/SxuH0Xv92AzEOxAmEI4b OHZpjSrLg4ADfUI+9YI7y0xKZoxS1jCozdNVL+8RzXqrih43KWaUg7YKwm5sIYzErkrm 8GuQ== X-Gm-Message-State: AOAM533tbGsa/HEK4Gm1VlsZQjoILiHWqCqaF/v4rWbVQVOFLvSOdZkQ Z9VI+X7lsnVLdSFIfQs3gs6WmpXLKblZlg== X-Received: by 2002:adf:df10:: with SMTP id y16mr3323925wrl.372.1615972367856; Wed, 17 Mar 2021 02:12:47 -0700 (PDT) Received: from dell.default ([91.110.221.194]) by smtp.gmail.com with ESMTPSA id e18sm12695886wru.73.2021.03.17.02.12.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Mar 2021 02:12:47 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Subbu Seetharaman , Ketan Mukadam , Jitendra Bhivare , "James E.J. Bottomley" , "Martin K. Petersen" , linux-drivers@broadcom.com, linux-scsi@vger.kernel.org Subject: [PATCH 08/36] scsi: be2iscsi: be_main: Ensure function follows directly after its header Date: Wed, 17 Mar 2021 09:12:02 +0000 Message-Id: <20210317091230.2912389-9-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210317091230.2912389-1-lee.jones@linaro.org> References: <20210317091230.2912389-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/scsi/be2iscsi/be_main.c:4935: warning: expecting prototype for beiscsi_show_boot_tgt_info(). Prototype was for BEISCSI_SYSFS_ISCSI_BOOT_FLAGS() instead Cc: Subbu Seetharaman Cc: Ketan Mukadam Cc: Jitendra Bhivare Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: linux-drivers@broadcom.com Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones --- drivers/scsi/be2iscsi/be_main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 2.27.0 diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/scsi/be2iscsi/be_main.c index ab32ca535078d..eac67878b2b1b 100644 --- a/drivers/scsi/be2iscsi/be_main.c +++ b/drivers/scsi/be2iscsi/be_main.c @@ -4926,14 +4926,13 @@ void beiscsi_start_boot_work(struct beiscsi_hba *phba, unsigned int s_handle) schedule_work(&phba->boot_work); } +#define BEISCSI_SYSFS_ISCSI_BOOT_FLAGS 3 /** * beiscsi_show_boot_tgt_info() * Boot flag info for iscsi-utilities * Bit 0 Block valid flag * Bit 1 Firmware booting selected */ -#define BEISCSI_SYSFS_ISCSI_BOOT_FLAGS 3 - static ssize_t beiscsi_show_boot_tgt_info(void *data, int type, char *buf) { struct beiscsi_hba *phba = data;