Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp4318804ybl; Mon, 26 Aug 2019 08:41:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqwADgJzh+N6wIYLel3Gh6nVi/yTWQ4wS+t9+OjzntRZlBUJB8U98FYZtEmLHxRdQvdIN8zT X-Received: by 2002:a17:902:ac86:: with SMTP id h6mr19847530plr.79.1566834085288; Mon, 26 Aug 2019 08:41:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566834085; cv=none; d=google.com; s=arc-20160816; b=bxmEC9miVPZY9M9ymqOrTu3g8JF8p2pSZqygHhC8mFSgHJuOW5KOn56sqIg6/m1HLW bucQGp6eoZKoZvQ2QywqK+FEHhRoiSYlKkZg9UkQwG13RW9FwqO+MQCZBZK4zb7DN1fg vGpwHJKDVOoKUl2rZ0Qf63Cz6a8oR8iGC0iBS0QNoK2moQ6qi6kXMuF4jjGxZzPd6UGC 2ogtXBG7X3HMGuJIR/vAU6734OQwZd4gJjjDMZVuN1Cfjix7XI1uy4S6yOhvugWiIY2W J553q8+IZbAZ4YuIEsOy3ECGEPYW+ZzttJ4Ym1gi/+BK1gFpNT8v2r//6RmbCAe1XHjP iPyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=QMc8BlFNPwhPMkitaQqYoQoxo4FLyEe7KvlKmz3CRSU=; b=faLXDf3sTeOozE1lm1xRzEErXuQMjNTUndVFyrpyisa5KY56I0CzUnYYdqtmE2+ZuJ vMbOEP8tCSQwgX1EWxa8yJsj9kycJ4HChr02equJIH9KkUR7mXT4bRRJQ01amYkbQN6I G1y1Kl8StIF4gLgci2Iaf5rYzrmGDout39S9jBIZjwgZgJC8otWuevANSG4Dkf5u6VDG 3k//Ov8XNOJmEHAYo0BwL69UldiO/mI3qvOeRlCi+HqWLP+Vt2E6ALhKoE0sY+dUyexT 9SXjxqUjoVZW2ZymwQB2prvovCSkt60zGdm4VWOD7nFDvH2yOs71VsXoxHD7j0PofZBA uAfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IK4bcaUH; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q13si9889805pjb.13.2019.08.26.08.41.10; Mon, 26 Aug 2019 08:41:25 -0700 (PDT) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IK4bcaUH; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730976AbfHZPPd (ORCPT + 99 others); Mon, 26 Aug 2019 11:15:33 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:46229 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728732AbfHZPPc (ORCPT ); Mon, 26 Aug 2019 11:15:32 -0400 Received: by mail-wr1-f68.google.com with SMTP id z1so15696650wru.13 for ; Mon, 26 Aug 2019 08:15:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=QMc8BlFNPwhPMkitaQqYoQoxo4FLyEe7KvlKmz3CRSU=; b=IK4bcaUHJxVr5f3+1q9aB477uA6/aGYXg37x+81Y2Ak4Z8NyC7YCHsbt6yXQmMRud5 i4zPn0V+BRuBq86WtDn8g+Nvs5B+H1wZtQDFornWtxRuA31nQoT1DOrnv/drN8BFcsrk FJoOjzqrHy//7LYX7NIAs3k8sOf0efOfawx/9mEy/CwbSfKSFFHIeGw93iKJcxVme968 COPsmMb+yLY8CD3R/L9DErB31NsaryHOwpsQdq1+0ZpUxSNGLp4w2WO9aHSHVgkte3Wo LrqsEcJF9vLUcY7Mm+T5E8Lfc0B6iFC6+HrF+aAl+rNhFwcfarXz3JDzGZxpna9ZKkWd okAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=QMc8BlFNPwhPMkitaQqYoQoxo4FLyEe7KvlKmz3CRSU=; b=TMguOMr6hTMqym2lRTgktRrFylbdn0NQufESPKiHKSW91AWyD1FvkyGlvWow3GUkid rW8952Oapy1GjFoIgcjBU5L3HMPSz8bN8M/yxkyUIp++4wSW8WU6IsuwNHwZdfJ4RI+X rc1l3r19NiUcNOoCAporFjTnIjUWqtI1GGzIupHmr8YMi/odeZnoguFhvJnUYQfae+ok EzaqvvW4hHfpcRstbrfIizxTHQm5xHLWD18Kn4fnOEjeFy+iKj291/SlQM7TnL29N33R t+zOuMmqoXf7U0EUZkd4SjlDBgM3aC7i/tDLOlbtuIM4t90pUQ+pf2JjU3Rv2ambLDIC devQ== X-Gm-Message-State: APjAAAWjxJsu4rVE+0t7nlAXZ1NGNaQWzrgPXcV+Y07Ai6hxJV9eSqEZ Zoa/3Fffn0vek7Y3QoBUt4E= X-Received: by 2002:a5d:4205:: with SMTP id n5mr22982928wrq.52.1566832530322; Mon, 26 Aug 2019 08:15:30 -0700 (PDT) Received: from archlinux-threadripper ([2a01:4f8:222:2f1b::2]) by smtp.gmail.com with ESMTPSA id s64sm25344990wmf.16.2019.08.26.08.15.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Aug 2019 08:15:29 -0700 (PDT) Date: Mon, 26 Aug 2019 08:15:28 -0700 From: Nathan Chancellor To: Ilie Halip Cc: clang-built-linux@googlegroups.com, Sascha Hauer , Shawn Guo , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] bus: imx-weim: remove __init from 2 functions Message-ID: <20190826151528.GA91444@archlinux-threadripper> References: <20190826095828.8948-1-ilie.halip@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190826095828.8948-1-ilie.halip@gmail.com> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 26, 2019 at 12:58:28PM +0300, Ilie Halip wrote: > A previous commit removed __init from weim_probe(), but this attribute is > still present for other functions called from it. Thus, these warnings > are triggered: > WARNING: Section mismatch in reference from the function weim_probe() to the function .init.text:imx_weim_gpr_setup() > WARNING: Section mismatch in reference from the function weim_probe() to the function .init.text:weim_timing_setup() > > Remove the __init attribute from these functions as well, since they > don't seem to be used anywhere else. > > Signed-off-by: Ilie Halip > Reported-by: "kernelci.org bot" > Cc: Sascha Hauer > Cc: Shawn Guo > Cc: clang-built-linux@googlegroups.com > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-kernel@vger.kernel.org Reviewed-by: Nathan Chancellor