From patchwork Sun Sep 4 14:10:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2346 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f198.google.com (mail-pf1-f198.google.com [209.85.210.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 116B740F46 for ; Sun, 4 Sep 2022 16:10:54 +0200 (CEST) Received: by mail-pf1-f198.google.com with SMTP id s129-20020a625e87000000b005383388a6bcsf2871527pfb.2 for ; Sun, 04 Sep 2022 07:10:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1662300652; cv=pass; d=google.com; s=arc-20160816; b=LboykJGM/ZSuBl/2Aory4WtIQm8RIdeQ+eEPcJfT+crfBPCbrUXrQCrZfrEGCTLBp9 LBERdiBreeWp0U+8/OiN3Wg5fdnyo9yTHn3IXeZSm5dsTB3kD0WPFlotoWuCXoIWE6b4 31m+xi3+TRrPqL5f937e43LAClj//Pj2sLEBPq4NWwf/wG2eDidhmA48oaOWtM0aVFof 5qWQjVLmvuEcFjWtTw9a2W95Czf2Pu8Gezw/uBcsNPyZTAFml2oIlGRxSUjzUfsCnSdr f67XaCs0EuH0dj7b9IwxwA60UNeP529hzB861c36o7l6Iq7kToMJKQJ+owL6k+tO89xg gkAQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=hyKPEyeyYNbBImc6I4flV/4/7uFJATmhCjJmKmsZpIA=; b=kwGeJ63kyYVgmNgXSD6ImK6NorP+EmdYzt8LZTkI4CQUEx1FFlUGlDElzkG/KBptuM uhG49TugCuFJ/mLxjmknVrDo3mKqUXqqhFgIucvBPwf8dxISL389/Bq+Gdmjbh59h2sk sv+qRQGSjLLRRR3xyhcIGoQ9CK/wZu8g+4SY9CGzFbr7YPjCQBQgrJz1Hj8VC43nSo7M U8kCKxnUqqVK6Cf96Ab3MKHa2AZxSgtQ2Vp4q6jY5RUr6Grd7zSUko6ESgJPxoSpTQ5F 7IieLXvKw/EOX/Cn+t8E4a9bQWVQBhfiAEKJq8uqROcttVTetfNeLEEX4uwg8ISvbGQi 78Qg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=mA5YuvaE; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date; bh=hyKPEyeyYNbBImc6I4flV/4/7uFJATmhCjJmKmsZpIA=; b=mJ6dbmbNJQlm2VGju9iMot2KqGUIHQy5NO4VeBrc2UFW32h4zwWyoN9gMpSWv43fDV zy2L9IfWiGUz+oZtnoHexwFO7eJ61s3RKjMzp05nvGFTc09Ca6Q+OrzfJe22NRRq1dXT 4G7XeveyM4ihzxqfDL0TFvYAH9hg+VUg2PiXs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date; bh=hyKPEyeyYNbBImc6I4flV/4/7uFJATmhCjJmKmsZpIA=; b=bKp3Y8UmfvO/yrW3eZUgPm+1MTV9LBkqj1XNkQpEXaD64FBXqQqPDIscxjnET1dDaG NiKEViRatW0dg54WA+E++8X/sthkRoO9nY+Qh4DWJqqjimK44yrSXGYpmrETu9XeA2un QycUFFjxPTauV8jaSm/quAslr/wAQP9KGfs52ZrgV/kSnEd3UoT7WSFSFRKYEcpFTWGq Y9nEydXeltmn/WLlqqdN2jFQ5XQyi7xLfIDfrJlBwRH4bHdR1Th5IhwfYQmJXiGZpCXg vd4QJVRglTtU0R5N64m+EWxgjQLATNGdsxhFoSa7bkVz1q9BUh7xxd016ElKY0yXC88+ NPmg== X-Gm-Message-State: ACgBeo3YViSTWbJwodOE5OqF5aCsRJM/+Az1SIPfCH/81C8ceynMJteY 6qaVkcfKK2F8xr9zduc47Sf0vGL0 X-Google-Smtp-Source: AA6agR4Z2UgesLmKMpe+IUPeGHwE4dsgtmDYMXUsbfC0td4/V/POc47VWQoLj3lqe7XOdopgygF0Mg== X-Received: by 2002:a63:804a:0:b0:42b:8b81:72c9 with SMTP id j71-20020a63804a000000b0042b8b8172c9mr36124883pgd.355.1662300652770; Sun, 04 Sep 2022 07:10:52 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:cf98:b0:200:36a4:89f9 with SMTP id i24-20020a17090acf9800b0020036a489f9ls1328143pju.3.-pod-canary-gmail; Sun, 04 Sep 2022 07:10:52 -0700 (PDT) X-Received: by 2002:a17:902:70c8:b0:175:368b:1255 with SMTP id l8-20020a17090270c800b00175368b1255mr24433279plt.83.1662300651873; Sun, 04 Sep 2022 07:10:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662300651; cv=none; d=google.com; s=arc-20160816; b=0MxUJVzw2Zr9SmlNiIxBdaELoFIe9Uf/8SRsX+Rqn/RkPfWe5UdoNknkKUp453ywFC Trm9lkFGhAseIwrskE6Zppzcxd539xDNFwoDLHMxqqVUm7qC55W/13NZJlNl8btLdwKa pwooCAWpPPchjB4yidCSFgHwKGDIgXrlsZ+JWz361mZf0yRzzgADLTIwg9EkT5WFJn/A /a44iRYpaC1LV5dXamPSHpehAzU0NMjvh8tBJ3xvf6lBQ3pUwvQqF9wTtKKL3jDPXhjC Snl1xdhVE7dFV1VId9vRgyESAeSMnPejzwy9T3MIPOqyCct3RnukryZC10XZnjk2dGtq ewLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=NvLw5KU+55jz8ItVCImcVo81PfvmbTqj67db51rQx28=; b=VvuKOjMoACWrZqEt702zKIEBeUEZ9LVW1luV2bloaktcUbYo6QHY4ajlJ6Eg1okpNr cqMX4iBoN2v6lUTVcvQbVw4hADjJYIxvA0pB4+psPCNxSkM5NWWkNjV7aHmY3bJ2TVK7 yCvwgSFVbCnI5Xn19Cl8mOz1Y79IU79PystlcGUzy9VmGF0aLPhDKcODwGLcFaoGpcYp ySE7DdHi9hQP7Pgi7voPEWk8Dd3ZCvV9RpHjehd2+XfamAHzJkwr3j31pE8b636BIF9L +aP98Yd9GtUtzH8IgqQELR8RigLnbb+wQWBUTfuKt/MzzbLpnHVMw3Yg+5CgOnkbIswd yfHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=mA5YuvaE; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id g13-20020aa796ad000000b0052d548fe27csor3572172pfk.3.2022.09.04.07.10.51 for (Google Transport Security); Sun, 04 Sep 2022 07:10:51 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a63:5a50:0:b0:429:8580:fc61 with SMTP id k16-20020a635a50000000b004298580fc61mr39578533pgm.215.1662300651563; Sun, 04 Sep 2022 07:10:51 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.pdxnet.pdxeng.ch (host-79-31-31-9.retail.telecomitalia.it. [79.31.31.9]) by smtp.gmail.com with ESMTPSA id z9-20020a17090a170900b001fe136b4930sm8606760pjd.50.2022.09.04.07.10.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Sep 2022 07:10:50 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Michael Trimarchi , Dario Binacchi , stable@vger.kernel.org, Fabio Estevam , NXP Linux Team , Pengutronix Kernel Team , Sascha Hauer , Shawn Guo , Vinod Koul , dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [RESEND PATCH v5 2/2] dmaengine: mxs: fix section mismatch Date: Sun, 4 Sep 2022 16:10:20 +0200 Message-Id: <20220904141020.2947725-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220904141020.2947725-1-dario.binacchi@amarulasolutions.com> References: <20220904141020.2947725-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=mA5YuvaE; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The patch was suggested by the following modpost warning: WARNING: modpost: vmlinux.o(.data+0xa3900): Section mismatch in reference from the variable mxs_dma_driver to the function .init.text:mxs_dma_probe() The variable mxs_dma_driver references the function __init mxs_dma_probe() If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable: *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console Co-developed-by: Michael Trimarchi Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi Cc: stable@vger.kernel.org --- (no changes since v1) drivers/dma/mxs-dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/mxs-dma.c b/drivers/dma/mxs-dma.c index 18f8154b859b..a01953e06048 100644 --- a/drivers/dma/mxs-dma.c +++ b/drivers/dma/mxs-dma.c @@ -834,7 +834,7 @@ static int __init mxs_dma_probe(struct platform_device *pdev) return 0; } -static struct platform_driver mxs_dma_driver = { +static struct platform_driver mxs_dma_driver __initdata = { .driver = { .name = "mxs-dma", .of_match_table = mxs_dma_dt_ids,