Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp265041lqh; Thu, 28 Mar 2024 00:54:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXqOvdx5d22+z2cLsb77MbHv1BXKhJmdyr/jCH+yMvdkWNOEgSL8udwDjB3Ux5iRLOh70cKHUeif0Y2kh22Ty3scsrG9RwsVOzxePcepQ== X-Google-Smtp-Source: AGHT+IF4CQe5bye8YjoeeVYDkTwlTbjPM3rBkw3YhN5glAYWJdAdBOgJf0yArfmPY4kYRo731gaB X-Received: by 2002:a05:6a00:4fd1:b0:6e7:3223:4556 with SMTP id le17-20020a056a004fd100b006e732234556mr2234057pfb.32.1711612464519; Thu, 28 Mar 2024 00:54:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711612464; cv=pass; d=google.com; s=arc-20160816; b=nnXR3OGaJzqumP23B3/e0vsrNTdGDYYYP1j6y9VFOgCOiJKWyfCO++r9PZzJlCmBca zo9EEyPl1LOJ1VqXwy1tA2SR26uijFpxaMZCN4IC3FK2Add9sxa0U/WpahzKOySq0LYC YK+e+hbS8zB0wc9OBru5XaHK6/BJBJj0yivmoGsBZze2eIUGh1UzMz7YHU8f4AwARbsg prE99lSgBrFSnw+cpCY+buvbVnZ0lJ9sIPpjNNZ+mOreTHyGzgVNj77lqaJRiEtL5ZgE wPXcFxPtinnY3RFlRlfMQGl2nY5Xs/jjiiwOV8nJwoLGB/fxymWdGNj7ATUW2xfHXFXX zKoQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=2WIu5epjAJHOEWnR5hcLu+XP8J82cuP3g6jjZF3M8iI=; fh=Y3z7GzaMgaJmzOx/DWycDN58osAlz1wNbXCU4ryhqQc=; b=SjBUE9xuWVBvN1ZMTtMZDJYdPpBUiMjxNe0z6nC2zQzKLx97kTlT8klKFhCC3dGXGv KJj8QZtwwP9w5PZwPL63HW1t10lPPtnWF/8JV8+BENUlOcl2e2Bi7z/vH2VcPnYBP3fO RkCG2FNOJFW5B40tBBZ60qIAQTrAiUfA5MvuHyTObRHyE+SYsJzgjW4wwOzVVzR85Nvk ySFl95lhTQPHM1GQz0Aqsf2Ku380nivIUPvyKTE8WKsvYIirdd1kZ7Wi1fRFl+cBAkaS zuq8QKYM6PM+07TkLrxcTSFaH4VtXP18SHolUCNLgjT3ry909Re71PHfJB2MP++hgy6q z6mA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bSQ2IEQM; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-crypto+bounces-2982-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-crypto+bounces-2982-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id x52-20020a056a000bf400b006e8f7f4dd60si937191pfu.253.2024.03.28.00.54.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 00:54:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto+bounces-2982-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; dkim=pass header.i=@linaro.org header.s=google header.b=bSQ2IEQM; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-crypto+bounces-2982-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-crypto+bounces-2982-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 C3499289074 for ; Thu, 28 Mar 2024 07:53:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CC92E54BEA; Thu, 28 Mar 2024 07:52:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="bSQ2IEQM" X-Original-To: linux-crypto@vger.kernel.org Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (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 A2ED153E05 for ; Thu, 28 Mar 2024 07:51:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711612321; cv=none; b=ZqzF+yiQ7TXrxAkT/P2Od0HQnIqFGRzDIZyvGIzjBgCoJk7r+Dn5lkeNDzwRbVtHohd00Et/ZYZQtKo+cLX96Q45TTu9ra28heq4bLdKjjY7IBkpbR3RX6EHdjAD+vTTXNnxPXNGpag7/aPZvbDwMvgvMnGreYGbdaNZvM4cSXs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711612321; c=relaxed/simple; bh=Oi4D9lTrBK5LxMVsvn+m+xvSmAC6nHrSQxGDBSqviBg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=E+XAgWjhYoukV8hhsbsN9gBD9PVdW4Q7/Ng1PnLYdVTdT7IJBXzoSAUQkG67yptxPMgM9seq6lu+9FLsanfnxdbXBEf6sazUgVxouZf3Rp0KSxJ7DVp3srMUqKucOPE8gcMlK53BDZbr6SHH/NjCDiCzKAZZN2eHVfdGBh60aO0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=bSQ2IEQM; arc=none smtp.client-ip=209.85.128.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-415482308f8so689525e9.1 for ; Thu, 28 Mar 2024 00:51:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711612318; x=1712217118; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=2WIu5epjAJHOEWnR5hcLu+XP8J82cuP3g6jjZF3M8iI=; b=bSQ2IEQMn8xpszHJwx/k5kzPvGQr1aJ7xVN5DDD3Q2yUVDq2H279NO9BAhSXDUmVub FW7i3yzc23EQkUbIb1OsW5oo/OfJsa/jtIRd+6QmGlUXsWDFlX1fbO9MUJUmuE1pMoBr Hl8o05NVG5NPAQPAi4yJGW9msXrdun3cxgOdJKHGqrtQhm269hv59GHXgiUdGqmkSLFA kB4mwv9Mh+RExoRZEAN2vfcD6pQIW4IuzvhcOoR0aYRMXbW9y51Qua1KT0JdNv8JEuos r5uwYO6CQcmjY3puG/6Wk1Ea3j7OD2DjXhaZqBLEdEXR0v/s3JMEkBaE09R5y5RhPS+P PeFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711612318; x=1712217118; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=2WIu5epjAJHOEWnR5hcLu+XP8J82cuP3g6jjZF3M8iI=; b=s7kaQMS6DmkmxY3SzlgabOzh6z8uN8bGYmqt4shXilQrprCmguI/MiR+S24a58OkrJ 3libqbRVFoP2EBTxH1C1xv93VmpJ0JYm1FGam3KatIzjyioawDvIPKEisOe5yrfs9pFe v++5ogX3fqYfZmNMTsabIsJc0iTZwTxu6UZwTEUWa8NfD257qZ90u6r03Twhz0GGdiws KcrSw1p0OuleRN+I1XbtTHJhU3E0LMbgNrqbcqamxfhjc+eS6DnS7qQLO7v0qXZtJHP7 8pLa1zwEjTVagWmf3AqCLlxiDOguRwExuyGiAbkKEnHcXkKnmTISfgcwCmkEfGwibkEB iSKQ== X-Forwarded-Encrypted: i=1; AJvYcCXclpvszXzEeO+yqGVwjfGbqjBxvVn2oX/5nOVIU1D+5drR5qRR0/mkB+n2vzPUFWE7D/XR3WMFudqb7uxaMHJW6u3JwKoygz9+IzGj X-Gm-Message-State: AOJu0YxR7MrNaH87ImvlX+VOLYvGnB4Wv28rgCqkRoMXGzu+JdbT9lmG CZiDg0EyRQnF1N8M2ERM+zpfvY94Ay47kighWNHgIkJa8td66H7Zz9qsU3UqgMs= X-Received: by 2002:a05:600c:3c9f:b0:414:6211:14a7 with SMTP id bg31-20020a05600c3c9f00b00414621114a7mr1475302wmb.14.1711612318113; Thu, 28 Mar 2024 00:51:58 -0700 (PDT) Received: from [192.168.1.20] ([178.197.219.148]) by smtp.gmail.com with ESMTPSA id bg34-20020a05600c3ca200b004148cd4d484sm4594451wmb.9.2024.03.28.00.51.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 28 Mar 2024 00:51:57 -0700 (PDT) Message-ID: Date: Thu, 28 Mar 2024 08:51:55 +0100 Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 01/19] amba: store owner from modules with amba_driver_register() To: Andi Shyti Cc: Russell King , Suzuki K Poulose , Mike Leach , James Clark , Alexander Shishkin , Maxime Coquelin , Alexandre Torgue , Linus Walleij , Olivia Mackall , Herbert Xu , Vinod Koul , Dmitry Torokhov , Miquel Raynal , Michal Simek , Eric Auger , Alex Williamson , linux-kernel@vger.kernel.org, coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-i2c@vger.kernel.org, linux-crypto@vger.kernel.org, dmaengine@vger.kernel.org, linux-input@vger.kernel.org, kvm@vger.kernel.org References: <20240326-module-owner-amba-v1-0-4517b091385b@linaro.org> <20240326-module-owner-amba-v1-1-4517b091385b@linaro.org> <6p4cdmbhrezm7fqbe3kgrkblqgrhaq4fgiw5x4n5dnptii7kjp@vmbj2pkjglp7> Content-Language: en-US From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDR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PmptPE9Rb9yCTAbSUlzgjiyyjuXhcwM qf3lzsm02y7Ooq+ERVKiJzlvLd9tSe4jRx6Z6LMXhB21fa5DGs/tHAcUF35hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <6p4cdmbhrezm7fqbe3kgrkblqgrhaq4fgiw5x4n5dnptii7kjp@vmbj2pkjglp7> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 27/03/2024 21:33, Andi Shyti wrote: > Hi Krzysztof, > > ... > >> /** >> - * amba_driver_register - register an AMBA device driver >> + * __amba_driver_register - register an AMBA device driver >> * @drv: amba device driver structure >> + * @owner: owning module/driver >> * >> * Register an AMBA device driver with the Linux device model >> * core. If devices pre-exist, the drivers probe function will >> * be called. >> */ >> -int amba_driver_register(struct amba_driver *drv) >> +int __amba_driver_register(struct amba_driver *drv, > > ... > >> +/* >> + * use a macro to avoid include chaining to get THIS_MODULE >> + */ > > Should the documentation be moved here? Well... I don't see any > documentation linking this file yet, but in case it comes we want > documented amba_driver_register() rather than > __amba_driver_register(). > That's just a wrapper, not API... why would we care to have kerneldoc for it? Best regards, Krzysztof