From patchwork Thu Feb 11 04:59:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudip Mukherjee X-Patchwork-Id: 8276671 Return-Path: X-Original-To: patchwork-linux-scsi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 80D3EBEEE5 for ; Thu, 11 Feb 2016 04:59:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id ACF1D201F2 for ; Thu, 11 Feb 2016 04:59:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E0E28201EF for ; Thu, 11 Feb 2016 04:59:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752269AbcBKE7O (ORCPT ); Wed, 10 Feb 2016 23:59:14 -0500 Received: from mail-pa0-f54.google.com ([209.85.220.54]:33488 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751621AbcBKE7N (ORCPT ); Wed, 10 Feb 2016 23:59:13 -0500 Received: by mail-pa0-f54.google.com with SMTP id fl4so11188031pad.0; Wed, 10 Feb 2016 20:59:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=cQg2l2Sgs/yAQ4Te/tGG87e2yczwXrgqbH2ziwqqeGQ=; b=Se0+TaaiZbgXilEG3evWizjyN/ai6qamvDMrl8K4vygZbLLCnuIpoPJ5+L5stQQECa uJ4ZFfYmyw4sdv05rZU1cv0cx77U9iiW8w0ZGHAFbgBtLKJxc7WgQfZ005PVeOJaYIZ6 JIXNZB0Dk28F04bsX7VEM3VbxmAWDdIOd4waUydy3a+SBpPVW2KVOAA3tM2Ccj4vKv1a 4n7Wau8HvKd89YPpzJHjBX7HlYCn5xObTUKIIn6FF4HRyOXeZUkrvegOEzlTCsYonezm j1HAPOCrBkAk9c7BJaXWKONcPHS4toVZrAJzMp4bU7V7qi02DIZna6E+aFXtAvY506DV xRFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=cQg2l2Sgs/yAQ4Te/tGG87e2yczwXrgqbH2ziwqqeGQ=; b=AknH0FfgtFxMdgCYbqf4LF4cDm86jw8lXwzNY7e9xsRFJTa3sgBkmP3n4YeEgORS3n +Rc8UqrpZD/EqFyXWU7nGTDzlVlgNpBltJS6CnA2ImDzodgiWDGdRD0u08AEprIl5Nn1 +q9/RlZdrwTUUlQbt8nTpchM0XOTEcaDfWBSFraCNWr5voaZYE3KfnmuM+Y32TyZdTvn mt+8/N4R1kLv7H/QRT2fW3iiWe6EiGZl/RNTBIrmsT1Ttba7kvuFEfQ/crYUQpcLcubE FPJqunnMFX5qK/S4nf82RSJMHWOJZ5NGYmjJ1nhH4mngvWv8mTUGnQ0dAVStGCjjiRFJ Z3Tw== X-Gm-Message-State: AG10YORUUrbrqYNeuOUapVJ+6ikfXIYOt51dGNNwotaXKMKsmq0vC8PYrBssxwoR/h9cQQ== X-Received: by 10.66.55.102 with SMTP id r6mr16200731pap.67.1455166752563; Wed, 10 Feb 2016 20:59:12 -0800 (PST) Received: from sudip-pc.vectortproxy.org ([183.82.227.168]) by smtp.gmail.com with ESMTPSA id xv2sm8704159pab.10.2016.02.10.20.59.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 10 Feb 2016 20:59:11 -0800 (PST) From: Sudip Mukherjee To: "James E.J. Bottomley" , "Martin K. Petersen" Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, akpm@linux-foundation.org, Sudip Mukherjee Subject: [PATCH RESEND] scsi: sim710: fix build warning Date: Thu, 11 Feb 2016 10:29:03 +0530 Message-Id: <1455166743-3572-1-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- patch first sent on 4th Sept.2015. There is no review or ACK yet. warning is still there with next-20160209, build log is at: https://travis-ci.org/sudipm-mukherjee/parport/jobs/107948115 drivers/scsi/sim710.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/scsi/sim710.c b/drivers/scsi/sim710.c index 3b3b56f..82ed998 100644 --- a/drivers/scsi/sim710.c +++ b/drivers/scsi/sim710.c @@ -176,8 +176,7 @@ static struct eisa_device_id sim710_eisa_ids[] = { }; 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;