Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp44999lqs; Thu, 13 Jun 2024 03:24:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUXGkoQ+OBa2E/ZotZzxgEaGS8hBerhMWCg2z0hWJk7I0clidwWe0yXrjvr8dJ3OAztlcHU3lNZhaG6co/yQh0/pKCpxVXh19e1W7OGBA== X-Google-Smtp-Source: AGHT+IE4Cf4hajyg4XRXJ9+h5JS3D1vCaUmNL8GlMdHIynG158/vCht3wsuyoy6c/6JPJfXnK4Pb X-Received: by 2002:a05:6a21:78a9:b0:1b5:6e2a:3f1e with SMTP id adf61e73a8af0-1b8bef98c5fmr3562085637.2.1718274265218; Thu, 13 Jun 2024 03:24:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718274265; cv=pass; d=google.com; s=arc-20160816; b=wcw184GnK3/yNh9qiAXELKmaSl6YiVCk0NT/3aWkNilLr8noSvRUPPMRyyh847855h Ze2B64FAsNeAiJpD38N8QDoaKUiOgVzs4+3LL8O0V9G18DmTTANhqbumsb65q9JBDoT3 QeQ8kxHvR4TX8DF1zsewfaRbSF/U+/CUysfvcZT2SqpJ5Zbvqm5bCfSo8j96QDGoKFXZ JR4V8U1WlfZ471rWbJYgYmlTR5wdXKwg0T5LLORmdR5/BJllt/5k8Ucn61CIWrNKIkDx 70dK/1GjdbXH7+VJy3YFEYPALo3clXtcN5MPVEdHgmjxZETPYJWY3DPe8Ctofuoqpxz9 vaQQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Qvh4N2hLd5jyX0aCo2AUr1nKi+lmB5kCJjC7AbJG5Po=; fh=HbDxCUsF55TEaSwlwvkWjDRhphKHFfneJemqYsyllVQ=; b=HyjmPTdQNXu2BmlXLTc5aUBdM1koCtHNKDvmKkZXjRXIvztAD2iPFdSCFAJJgOC6rW RfeSrWNzgFEvT8EWp6CyrfzMU/MjhQwGw5cuPVdk+zeuMdTcZBrrL30v9maxX60pcfxE Cig+SmK8osCtRareB3EUX0m1Dl6Ou+lqH89beAp3M96ZUx2RGo0C52aJ0Kt75EYhV2eN 48Y/yPRO8Nux6BXkOJ6f6fyHmeskky0vXvz8/vFcT6Tu0+4Bi3M2tvQ0JUOFleDCmYlG nXOILj4TKcGx9mye/PELMkS8B1r00Bsy2Ry8c6UY8y0v9EaGHzef2Zdokq5+KkKJLuH2 qGBQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wjFovTTG; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-212994-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212994-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6fee3108b6dsi982688a12.290.2024.06.13.03.24.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 03:24:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-212994-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wjFovTTG; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-212994-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212994-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id AEDB0B22E09 for ; Thu, 13 Jun 2024 10:02:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7BABE1411E5; Thu, 13 Jun 2024 10:02:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="wjFovTTG" 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 8C9FB13E3E4; Thu, 13 Jun 2024 10:02:49 +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=1718272969; cv=none; b=C4F3Vr2i61kmiGc97oLniheU0lpn8a/9YnGQrZoSeThwjzB77pQh+VZTrTBMD1UxjRHG7SM+HpcLbFGvJV/xPYUd1qxEZ3hln+iYe3YmUUC8voMLBQrrwBhwLQzmz1DFlG6R0pprkqXOarSaOR6Rh4zR6/n63rLLgQsuRsxIV9E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718272969; c=relaxed/simple; bh=dmAgdhlc7Gnm/ltgQqlFO1EFzEj4GRIQgQbICwLzST8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=GqOr3n32TJ/yJjooS4zJ0XQ5Y1ArVlExp0wByOuIfH5kTZ+19SX1Cn9uLsq270rwgw43q4VVm3tkkz5hEJAQ9213DNk/1hjVy7NHbaxBM+KzdXG2+2+u9id1Oy0zNBsqe6SzLNdbktR1EZjAY796RogCKpgfgdOpJpXKU8TrepA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=wjFovTTG; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id BB3FEC2BBFC; Thu, 13 Jun 2024 10:02:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718272969; bh=dmAgdhlc7Gnm/ltgQqlFO1EFzEj4GRIQgQbICwLzST8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=wjFovTTGE/hRHbavqCKGnoyUSGeQb1ZTJt/Q59XK+5haCIQevZ6/10MMsdrA4o1tE jVqPLsckgVY1v7kQscD5dgE6gTB/IhSMCSTUuO3yqWiNg3YKNxUhl/8RzaWZpr0+Gl cR1tc/Ddi4d21UQnhzo/7EtBG+ELHZoyin6CYcPQ= Date: Thu, 13 Jun 2024 12:02:46 +0200 From: Greg Kroah-Hartman To: Bartosz Golaszewski Cc: Linus Walleij , Jonathan Corbet , "Rafael J . Wysocki" , Arnd Bergmann , Andy Shevchenko , linux-gpio@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: Re: [PATCH v8 1/2] drivers: export to_ext_attr() Message-ID: <2024061330-clarinet-favorable-02da@gregkh> References: <20240613092830.15761-1-brgl@bgdev.pl> <20240613092830.15761-2-brgl@bgdev.pl> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240613092830.15761-2-brgl@bgdev.pl> On Thu, Jun 13, 2024 at 11:28:29AM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Make to_ext_attr() available to code that wants to reuse struct > dev_ext_attribute. While at it: make it into a static inline function. Please don't use this, why is it needed? thanks, greg k-h