Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3252744lqp; Tue, 26 Mar 2024 04:18:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX8HrVv8d15gw0MdUOaV7EQcQLjCMdHeU1KXpCMjFL3uUgc+shP3hifRmb0mmqmnGIjyDt0cBRPUkUfbzooMChHV5sg8XbFwMv+xP0YPQ== X-Google-Smtp-Source: AGHT+IFn+Aa4saEIDlaz7vs53vQz4FF0RAZfaXyDJ4i2e6RWYoMPxB83oECOhpez+NCxqR7fdhoq X-Received: by 2002:a05:620a:3720:b0:78a:599f:73eb with SMTP id de32-20020a05620a372000b0078a599f73ebmr1451023qkb.32.1711451934027; Tue, 26 Mar 2024 04:18:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711451934; cv=pass; d=google.com; s=arc-20160816; b=NRh4yTwikFMqwuvhBZtzG/Rp0YGG4pszucIvqMhwTtQU7h4YY4XBBembh8hLRXHDFr gtGfsNTDqJ4EV3Mo+BQO+FsbqiP6iIsEfp5qNYlNVLtW94du9e+bKFOyzzHXtsSDzwm2 P8Bkpb8xvwKUvZ6hpxGqpst1X5sU9T7erqsyxzuFOWbsrXgQQxyAP3Sv8jczWKc6pXe9 gSFf2kO8q6una3CoiBpxEhPhmoo7FPGrlLkU5nxF6uy8JcFLGmpjbzROTAKSpO234mnd Qyw3CxUE7/CAljRoAdyhAP0Rm26qLeogCk7BzPLeJj7UedKTLg/DTsYMRFtt8Yhb/Vzh kNZw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=c3DT0yLem2b3enR7udipH6xBBSV9/V0+ZqfgXpeBGP8=; fh=77wH8nWC/tMCXuSjqvOW7gMig/viqbAU/hmC8TmGWdQ=; b=Fhp0APf3+L7H2HK+J6Tl6hiWzj7crArHMtzAbBlqqg79zgAhPKCOsixsI85N3Z+CEt BTBexOgfGGWfAHq6+nOMVmzbat0XpSBL0aX+1sGKJu9vfaAFq0hYuq4XNEBnTqLROCIX fufm/0W8NyHv8MGZLRl2+13viuG1fHJLx8AKQ98SlHG9+w+Y4YBn2E+Z7leW6mWza9tS /7BB8yhQqc/0jMCH3orqXphyYefdPM/u13dKGgqMk8dS0KZ9wxIQSFMgmYecIQS65clb 9/qsR+QCrVqgmEE5LWJECqjAioQ7uprjRbd1VUPpQMsATFbYmPrIevICJtORK6z8G5Cr 3QNg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cnahrbcw; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-118864-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118864-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id xz13-20020a05620a5e0d00b0078a49e0d95esi6121596qkn.665.2024.03.26.04.18.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 04:18:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-118864-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cnahrbcw; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-118864-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118864-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id A5C091C3668D for ; Tue, 26 Mar 2024 11:18:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 49B3A4E1AD; Tue, 26 Mar 2024 11:18:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="cnahrbcw" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6E843D52F; Tue, 26 Mar 2024 11:18:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711451926; cv=none; b=f5nfFR8bLlPYzQDryCvpedd7uZ+1WjrL3dddDXlR+8bd5VQ3TyX+2F/gxA7XwDrHlHWWviu8B/sDjsGD8em0mA6tjhb0ggfsvis46tYmg4Xk/1xm9WUU/ppSKfqhRLOHlmUdX6Xue8bUPG4kDOsE221S04F7/GxjboisD8VpfeU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711451926; c=relaxed/simple; bh=c3DT0yLem2b3enR7udipH6xBBSV9/V0+ZqfgXpeBGP8=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=lOsJ1LUfSTeHRRD+l9b6sSnD7hDfOLxXrKgwK64vSPI4pzXy9fvcIEVqEa5PeMruPaY5uH1fPJkNVn+2+gJTQA++cRaULGXqKQhw5+y5lipBP5yM7eNlG3CnjqpCv5+xuJg/cYiZX8Vrh1Ww1ouG9VnXW1VVyT0KtlggPsohYBw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=cnahrbcw; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E7DC2C43390; Tue, 26 Mar 2024 11:18:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711451925; bh=c3DT0yLem2b3enR7udipH6xBBSV9/V0+ZqfgXpeBGP8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=cnahrbcw6XINevHPRqe90R2bmhq/HqiYP/nHdQxaHKSr8oAWLJ6s4aw9GJiwtqYDU MyJmLAFZEySQStNw9kMO/lzr72mIV6bxJyHtK+RWPHbC6juj1D0o9si9woKMlIlD1M PT1kAATHUK0QRT/1oVnafIXIYCIDEywvMkljlFWdvMJgVSJHSksPyy4hZbGT/Izcto BOZjkGh6JFVhRvNX5XMZ7XwZ0FGEM5XnO1roa3c2YbjGjsXz7x1QzMA/0+TrAuX5jo 7/p+hqGFCXtvTdSFE2sq+vQqiLsTx56gkLzPmqfbgg4WgJjLrKrCLqo15TsHQdz5Iw UaIQQkiUJApFg== Received: by mail-oo1-f47.google.com with SMTP id 006d021491bc7-5a47a3786dbso1590316eaf.0; Tue, 26 Mar 2024 04:18:45 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCU4kHPEK5onhgQ00rMgCYty7CLodlUutDL8w8wmzCbxDN1tsY5eh+phYrpDYN+SWdoibwMcDhBbhdG32MmKwxfMPphOcjAqqbq2t8eZo2wfAQrMg/dmwWXxdogpAUoBJE7zSENbTOpQng== X-Gm-Message-State: AOJu0YxAQCMWJiIphFpfEgeaNzPrVBR8g3At520QLHYZxFIPrQatKdMe io862AFjkWb1Uu2Xqj/1cr5MWUUTYUMM4J7oaT5E8ETJcANe+buUUasthi2qcINMyhrXE7FGdi4 4pcWMMERK1ZuXiVYZs4lH5r9sImM= X-Received: by 2002:a05:6870:65a0:b0:229:ee6d:77da with SMTP id fp32-20020a05687065a000b00229ee6d77damr9425596oab.2.1711451925292; Tue, 26 Mar 2024 04:18:45 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240320180302.143707-1-arnd@kernel.org> <65fb3fee96ec7_aa222949b@dwillia2-mobl3.amr.corp.intel.com.notmuch> In-Reply-To: From: "Rafael J. Wysocki" Date: Tue, 26 Mar 2024 12:18:33 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] acpi: EINJ: mark remove callback as non-__exit To: Dan Williams , Arnd Bergmann Cc: Jonathan Cameron , Ben Cheatham , Arnd Bergmann , Len Brown , James Morse , Tony Luck , Borislav Petkov , Avadhut Naik , Shuai Xue , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Mar 20, 2024 at 9:00=E2=80=AFPM Rafael J. Wysocki wrote: > > On Wed, Mar 20, 2024 at 8:58=E2=80=AFPM Dan Williams wrote: > > > > Arnd Bergmann wrote: > > > From: Arnd Bergmann > > > > > > The remove callback of a device is called whenever it is unbound, > > > which may happen during runtime e.g. through sysfs, so this is not > > > allowed to be dropped from the binary: > > > > > > WARNING: modpost: vmlinux: section mismatch in reference: einj_driver= +0x8 (section: .data) -> einj_remove (section: .exit.text) > > > ERROR: modpost: Section mismatches detected. > > > > > > Remove that annotation. > > > > Looks good, not sure why the build robots missed this while this was > > sitting in -next. Yes, this was a side effect of reusing the former > > einj_exit() as the device remove callback. > > > > Reviewed-by: Dan Williams > > > > Rafael, can you pick this up? > > I will, thanks! Applied now, thanks!