Received: by 10.223.185.116 with SMTP id b49csp1132391wrg; Fri, 23 Feb 2018 12:30:21 -0800 (PST) X-Google-Smtp-Source: AH8x224dxfpmm4jaWIXTpPBEvvmstAgtVeLFysXBhbgN4hZRmVD8SeL5fRUNqh+MOd1x/F1ONKto X-Received: by 10.99.95.81 with SMTP id t78mr2386770pgb.380.1519417821153; Fri, 23 Feb 2018 12:30:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519417821; cv=none; d=google.com; s=arc-20160816; b=P7dQ/a99FVUL8TWU9K8vW59Li/7rdrdHjnFY9uJo25HzNLMNhrmZKinAwkojnY0CSq mih0CkSKwtXzGO5TWWV/qQOb7L1h/Dug0qlIR8qsoiKKml7UQ0tTCW80AKHwKifwf9Be TmF+yrCD5eFKVAHsMwmwcV9w8x22u3lVH1vs0ugWFyGrQWmgQLYSO0GPC4J6fOVrLQJ3 rOAQv9zvL2/RQ6YwL72xez2cg/ew0/I1cHBXGUJiRtfqiTYwhkSjNrL8MzVlDNkmkvtt sl7PT85qJKGD1z1XhctfEtjKJfTKgurPdqnfvQmTGdTYEwOOjTV4Z5we9CIxpfQUzCrT qm2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=b0f0i90u14GTMsRvMWhlVC59VE18XXwSbx4k2N1hAEs=; b=BPF/V9iNgtc1aLG1w3mmy1BFiUJPtJzWpN1PgetsH2BmvSzEgE7AE+vjh4vF/Hwwbm lecQRTKhru4czAoNBnPbnzc4QGyTiNrWShZ96flyNIp/qfWz58lX9RG1uGQZ9XG2UTCU NpVCUemwxCbQwf7SraT7lYdvt83iasRtn1ig+1ELozQv8KLaHw01ypbu2pLa1qm7Kqti /umxWhHrTY5WL9lJjpOE4LTjHfzfzNJ0o+qN+JfUkKKPqq/2Itc9JgceUUKDTqTNwm90 cQLEK5czfGMEYIxgbZlf6AqYKKFwMxmu2n6Yh7R5GYIzKpBR73Fp87ZEqzG52Kx+dxWA ov5w== ARC-Authentication-Results: i=1; mx.google.com; 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 a34-v6si2279783pld.505.2018.02.23.12.30.06; Fri, 23 Feb 2018 12:30:21 -0800 (PST) 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; 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 S1754092AbeBWSge (ORCPT + 99 others); Fri, 23 Feb 2018 13:36:34 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:37790 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753777AbeBWSgb (ORCPT ); Fri, 23 Feb 2018 13:36:31 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 1930C1315; Fri, 23 Feb 2018 18:36:30 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Sudip Mukherjee , Johannes Thumshirn , "Martin K. Petersen" Subject: [PATCH 4.4 084/193] scsi: sim710: fix build warning Date: Fri, 23 Feb 2018 19:25:17 +0100 Message-Id: <20180223170339.216157820@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180223170325.997716448@linuxfoundation.org> References: <20180223170325.997716448@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ From: Sudip Mukherjee commit 648a0a7da34f281410e8e3a59de8c13ec6ea380a upstream. We are getting build warning about: "Section mismatch in reference from the variable sim710_eisa_driver to the function .init.text:sim710_eisa_probe() The variable sim710_eisa_driver references the function __init sim710_eisa_probe()" sim710_eisa_probe() was having __init but that was being referenced from sim710_eisa_driver. Signed-off-by: Sudip Mukherjee Reviewed-by: Johannes Thumshirn Signed-off-by: Martin K. Petersen Signed-off-by: Greg Kroah-Hartman --- drivers/scsi/sim710.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- a/drivers/scsi/sim710.c +++ b/drivers/scsi/sim710.c @@ -176,8 +176,7 @@ static struct eisa_device_id sim710_eisa }; MODULE_DEVICE_TABLE(eisa, sim710_eisa_ids); -static __init int -sim710_eisa_probe(struct device *dev) +static int sim710_eisa_probe(struct device *dev) { struct eisa_device *edev = to_eisa_device(dev); unsigned long io_addr = edev->base_addr;