Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp38928lqp; Wed, 20 Mar 2024 13:01:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVbdDWnsSfGxMZutQms4+g+RjaDgUpCMc/IzgytsfNvBWMDlcVg6LMnf0NgKfNeXODsSr/4de5W3OhZR3wcPwTYRxxhipRBQWfylRCaXQ== X-Google-Smtp-Source: AGHT+IG9mc4E1z/xKxuZ5Ey99tBC9GorqnklggglCjUeGXjWFrWLBujKsGuVKTzRUIOxcgjRQiFg X-Received: by 2002:a17:903:2b0c:b0:1dd:60ca:3d5f with SMTP id mc12-20020a1709032b0c00b001dd60ca3d5fmr3938609plb.7.1710964876179; Wed, 20 Mar 2024 13:01:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710964876; cv=pass; d=google.com; s=arc-20160816; b=zmj1hLwKScUUL8M/QTRUO7YCdYEuaDGX03wFyyOpuO7/aWYTcRfhYgELK6pSluglCZ N8wEkJSfSXUW/fold1qKrdFNIVCYi2pFlvk4sso/eSrPU/5hfixTL1gWLunsYUVIsP1b Q+O2s5S3CEj5LHAHvbSVAzwsBJzv+Irr1gd95lxXOb6mAJVx/WPuTuoPneBpIGakfsnU cwUZOi1nKpV/14wmPQUK1Jl1LtVU/txMbI31KZMDxxhd6GnQBgRKNG09qzkkuC4brH9d yRybftxW7xiwW4t8QIv2YxPKO6W5ScEm5EXZhtlgutFKRC5ijkhcWjZB8ttODnCWdUbP tVQw== 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; bh=PEJK4d4YdMXR0AsXMOStldl4zFxOtfPf3D5VxkkFrQI=; fh=oYzjA2QCgQDmEpoIt1UEA+llKt86d7ld8WY6O++6rY8=; b=ZXtD/1cBpCUpnP3hmMs4Q1faeh1af0e/GRndtpKDIQeFyeadEnihBw6kK+pApktEMQ v6lka+jVieKe+5vwr6BO0gUDMqHdsER/b/RaXqiJOvnvPrxPw/HQcQRDKi4zOg8p7Ydl G1vNGhZGSvBYL/GMKC4/SixeOlKZ8ghTEfDstB1ahEar5VPb18sj6qLTx1GgFzLZ3ncC yVhYljuXFOuyNkEaVe0t4MDhiGd5xZs5YPy2FT7/B5nQE0jw3nR4hKq1qlBi2gBX5vYV ZjJbEHx+tEd+qGCOCh6OaP+vbKMUFc9aPt0Xq/eNSYwj8WQucKq+CFi+xqhqhYL4odv+ CnsQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-109374-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-109374-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d2-20020a170902cec200b001e02dff570esi6360965plg.202.2024.03.20.13.01.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Mar 2024 13:01:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-109374-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-109374-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-109374-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 4D7E028505D for ; Wed, 20 Mar 2024 20:01:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 848A385929; Wed, 20 Mar 2024 20:01:09 +0000 (UTC) Received: from mail-ot1-f51.google.com (mail-ot1-f51.google.com [209.85.210.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A9DD269DF4; Wed, 20 Mar 2024 20:01:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710964869; cv=none; b=qVaegnLhw78zT/vM9g+UZ1VEEseOWrXV9cjJQWusvP/5PM/56BdZZc6/Ysxl39HJAh4vCRHi1355WnECH9jTxj/tmZyutCVaOJPmILJYfBHbL21SrWaPm1Uol18lCB4TTsuLwJX6UzLaFmCp7Jr+2jspyfGeboQ4eKvtkz5PNbA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710964869; c=relaxed/simple; bh=PEJK4d4YdMXR0AsXMOStldl4zFxOtfPf3D5VxkkFrQI=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=px2Y7l3100tnOXhSiucwD7ZiWlRYjT3x3CIoDtyMw2MLObPQp3bMiWo7hyJkRGJ961XQVXB4XhSRRHduleAPoU235PlUDyn636SK7jhZ70owKM9nemnSQI+e3I4RyiypuHoTK9N48LGKORC2XxtQB0sZJwkIFa1wJaEzr6aTISA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.210.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ot1-f51.google.com with SMTP id 46e09a7af769-6e681fad78cso23122a34.0; Wed, 20 Mar 2024 13:01:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710964867; x=1711569667; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PEJK4d4YdMXR0AsXMOStldl4zFxOtfPf3D5VxkkFrQI=; b=p3ljatDvBRhQtYEnVvvHyLQZvWYsUnESO+DHzzNVPU8AWvLxnw90lHsbdynD/Ib7x4 EJoGJTwsQTMplwOwrGtGTX3w3PWE1UMZxS+53dg5VEpye/TiFqwc6xFJxCDfuYufsmbM mitzIaadTmVY9rG0ueySRo9W5Xo0nxj4YBRx6Gr7vMb7CTPybXDlGCklVJxEE6MEIoYs JniCN+sjmoflUHloMPJDs2qn+nIQ7SU9Peou2Xiu5kavGnnAu+MQDdRIF3sxOBmb9Jyq MmOs4fiXyZ30nuj5zlwnVGWjysADzRr63vDaJM1kmU+gQnLGfg+WdjrjBK41bOknqHXz d/oQ== X-Forwarded-Encrypted: i=1; AJvYcCXDZsPKyP5WEWBDZMC4wZvQAyErUM4Belwl7EQNDoY77yme6YLYB6mPKQJLNY0u/5Rj3H8E/n+oPt+UdVUDkn01ODBDwv81H45yy40kGEW1zQx/WETco3eCZaFEl7alVl935FNwnzbs+g== X-Gm-Message-State: AOJu0YyG806hAMhvSfNGuvJKzX7BqfZxbskncmVAfd+eAQrnWovtO6Mf HkeiCoK9zZRuJav6BGvdnq2u+i+qF/roI8/IofvbragnIlXgo4UEytXREfveC2n+drZNKlMdDFi MFsQkAQweMOomDwDI5w72O6cKSDI= X-Received: by 2002:a05:6871:580b:b0:220:cdfe:cdde with SMTP id oj11-20020a056871580b00b00220cdfecddemr6367101oac.1.1710964866655; Wed, 20 Mar 2024 13:01:06 -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: <65fb3fee96ec7_aa222949b@dwillia2-mobl3.amr.corp.intel.com.notmuch> From: "Rafael J. Wysocki" Date: Wed, 20 Mar 2024 21:00:55 +0100 Message-ID: Subject: Re: [PATCH] acpi: EINJ: mark remove callback as non-__exit To: Dan Williams Cc: Arnd Bergmann , "Rafael J. Wysocki" , 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 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+0= x8 (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!