Message ID | 20230616122040.1035518-1-juerg.haefliger@canonical.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1311101vqr; Fri, 16 Jun 2023 05:40:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7Tm1NHL/63rFIqJxKD+cxra3qWU5F7/Fhf+aePybtq53opP3xM/q00xetszd18jgEvKgPP X-Received: by 2002:a92:d781:0:b0:340:4e87:9947 with SMTP id d1-20020a92d781000000b003404e879947mr2480652iln.9.1686919203130; Fri, 16 Jun 2023 05:40:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686919203; cv=none; d=google.com; s=arc-20160816; b=utmoiI1+nWB6KETPe4vi2fbJqv71FGzw2j6Rnmb31ewMMQlglI267s2Y2QCYxsFbu/ 0KG1Stn10s0KIP8f8nSgQv0Bzg8VBa/qhj2aAnQIb/iKYuL4H6Vx23fYD4KRERenLMZ3 oukUR9ktz84WbhsCG7J5hhCzaTNLtN+E7gP9sjLp7iu27cNNUNC22hrwrNzC1D7lAfhD nN7WWNNu36ipuwl/277iaZGCQd89kikcKo9CFiag0bM6xySH2gFtUgaE+FbQf+IoUNhq rs0o0R6bIlq6N5mutbvgQOhtrdtR1oS2H6hFY1fEqADhGDrK+EQO1zBHOy9sVBXnZtLx 3nmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=cVfb5EujAP+BjjN+ylN+9xCg5MYHg4RgqoLucWwVyAo=; b=OWv5wY04EBDe7bsvfj00VBye/6A13fG/2HGz/q3h/4zPTW6YuzIo37KziAoa1g1dyO kqC3RI+B+qb5bGjdylixVFlVsqn23MiRzEfneFtXZJJHeNOCAwELLW+0DM8Y52IKOBub duUYK7gKFAkttoxFU+isjLbR6e5nmsMn0xd6pm5e2j/2q3RyEl8iovfpBYwGdExpZ1HV rh5L8HwJRSMpKIWJ7SO9lHF1mB2sjmb4Coc5G2ij52NU46V/Ctt81p5qwK5PyTo7gi4V nrbl6xw3vKrPynqO8d/nJ0P/Mo/VzgEjNuCqLuS1iWcdAXbxL9Rqh7waXwFxbU+wFd1J hjng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=rwiOKoW5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i10-20020a639d0a000000b005440e9ee0b2si11534563pgd.569.2023.06.16.05.39.50; Fri, 16 Jun 2023 05:40:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=rwiOKoW5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344052AbjFPMUr (ORCPT <rfc822;maxin.john@gmail.com> + 99 others); Fri, 16 Jun 2023 08:20:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234497AbjFPMUp (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 16 Jun 2023 08:20:45 -0400 Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5095710EC for <linux-kernel@vger.kernel.org>; Fri, 16 Jun 2023 05:20:44 -0700 (PDT) Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id EB0043F120 for <linux-kernel@vger.kernel.org>; Fri, 16 Jun 2023 12:20:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1686918042; bh=cVfb5EujAP+BjjN+ylN+9xCg5MYHg4RgqoLucWwVyAo=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=rwiOKoW5DkiZdjhFuVVpJk9sSqd+VYu2W7TwvvJJAWnVTPuiGYUomsyw/OARu9hjz y9HiyZMDUdU53EevL+IxHMkk50ZSnE3jgSgOl1NNOoY3BB0rIRBC+85wggHGeyvSJ8 2C3HoifCyfHHhcmyYOq68yWXkteSg92OrB4OA3SAqiYZdk6P+5gfFXijTvdWOeyOxz 7Ru005+FwVWMS6NBD2zNO1ToHPyZIW6raxnlAUzyIMF9a2LluRua5sat5uyrvooDRZ YUyXf0c2GzglRhmLSWgxsSGliIhuDe0go5zf6hFWM9VrU7qymK0zhOgDO3R6UipCIB wSgXxSSG6fPrg== Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-3f8fa2ef407so1494245e9.1 for <linux-kernel@vger.kernel.org>; Fri, 16 Jun 2023 05:20:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686918042; x=1689510042; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=cVfb5EujAP+BjjN+ylN+9xCg5MYHg4RgqoLucWwVyAo=; b=LZEfbpG1EKK2tKmDzTjYulN2sEoFhQrOjjvSVoPZlqZzNAcnJoniR+CjD3JY+eXQVx 6qkUeWltNQPfVXEWEojsK75iMA0AoAt6IoUDl3OX9y/TnZvfeWjPI03tCqbvVomWPJsu SyOEjgzt+mZThrJtj3Rhh/qFQQtLCjjKDGwejt0NaaSiGGXXTED1YqkuxTSpAqYNlwv2 sANpOUEhQJlRAi2amYlU+W1YOlqENRoqEBjw22gsXTQnkDXemo9HGLwZv2fK1iBjaeYC BVTFUm193zirBi9M6T75JBZMt0vbPQsVrMu6cKhPmta46S3hLniei59aWxF0GYN9Ns45 Z1yA== X-Gm-Message-State: AC+VfDzCqwcs6LDNtPTtD3h3vvcJhRv1a0yfYAqW/xJ+MlwcqnZPm6xB JiOa2wmlzd8lomRP7YTifSvmpXqMutR703E6x7v1+hFziZbkIBUEZhYLE7L4XaJpYLdmCLtGxit FKCFyEc3B14jD4kaRZnM3cUuXOfiqsu0A21eEeHM1Jg== X-Received: by 2002:adf:f30f:0:b0:309:3a1e:fc54 with SMTP id i15-20020adff30f000000b003093a1efc54mr986689wro.7.1686918042718; Fri, 16 Jun 2023 05:20:42 -0700 (PDT) X-Received: by 2002:adf:f30f:0:b0:309:3a1e:fc54 with SMTP id i15-20020adff30f000000b003093a1efc54mr986682wro.7.1686918042460; Fri, 16 Jun 2023 05:20:42 -0700 (PDT) Received: from localhost ([194.191.244.86]) by smtp.gmail.com with ESMTPSA id i1-20020adfefc1000000b0030647449730sm23807695wrp.74.2023.06.16.05.20.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Jun 2023 05:20:42 -0700 (PDT) From: Juerg Haefliger <juerg.haefliger@canonical.com> To: jk@ozlabs.org, joel@jms.id.au, alistair@popple.id.au, eajames@linux.ibm.com, linux-fsi@lists.ozlabs.org Cc: linux-kernel@vger.kernel.org, Juerg Haefliger <juerg.haefliger@canonical.com> Subject: [PATCH] fsi: master-ast-cf: Add MODULE_FIRMWARE macro Date: Fri, 16 Jun 2023 14:20:40 +0200 Message-Id: <20230616122040.1035518-1-juerg.haefliger@canonical.com> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768862990431443289?= X-GMAIL-MSGID: =?utf-8?q?1768862990431443289?= |
Series |
fsi: master-ast-cf: Add MODULE_FIRMWARE macro
|
|
Commit Message
Juerg Haefliger
June 16, 2023, 12:20 p.m. UTC
The module loads firmware so add a MODULE_FIRMWARE macro to provide that
information via modinfo.
Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com>
---
drivers/fsi/fsi-master-ast-cf.c | 2 ++
1 file changed, 2 insertions(+)
Comments
On Fri, Jun 16, 2023 at 02:20:40PM +0200, Juerg Haefliger wrote: > The module loads firmware so add a MODULE_FIRMWARE macro to provide that > information via modinfo. > > Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com> > --- > drivers/fsi/fsi-master-ast-cf.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/fsi/fsi-master-ast-cf.c b/drivers/fsi/fsi-master-ast-cf.c > index 5f608ef8b53c..1316bfd121fe 100644 > --- a/drivers/fsi/fsi-master-ast-cf.c > +++ b/drivers/fsi/fsi-master-ast-cf.c > @@ -1441,3 +1441,5 @@ static struct platform_driver fsi_master_acf = { > > module_platform_driver(fsi_master_acf); > MODULE_LICENSE("GPL"); > + > +MODULE_FIRMWARE(FW_FILE_NAME); No need for the extra blank line, right? And what commit id does this fix? thanks, greg k-h
On Wed, 28 Jun 2023 08:47:12 +0200 Greg KH <gregkh@linuxfoundation.org> wrote: > On Fri, Jun 16, 2023 at 02:20:40PM +0200, Juerg Haefliger wrote: > > The module loads firmware so add a MODULE_FIRMWARE macro to provide that > > information via modinfo. > > > > Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com> > > --- > > drivers/fsi/fsi-master-ast-cf.c | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/drivers/fsi/fsi-master-ast-cf.c b/drivers/fsi/fsi-master-ast-cf.c > > index 5f608ef8b53c..1316bfd121fe 100644 > > --- a/drivers/fsi/fsi-master-ast-cf.c > > +++ b/drivers/fsi/fsi-master-ast-cf.c > > @@ -1441,3 +1441,5 @@ static struct platform_driver fsi_master_acf = { > > > > module_platform_driver(fsi_master_acf); > > MODULE_LICENSE("GPL"); > > + > > +MODULE_FIRMWARE(FW_FILE_NAME); > > No need for the extra blank line, right? Guess not. > And what commit id does this fix? 6a794a27daca ("fsi: master-ast-cf: Add new FSI master using Aspeed ColdFire") Want me to send a v2? ...Juerg > thanks, > > greg k-h
On Wed, Jun 28, 2023 at 09:29:46AM +0200, Juerg Haefliger wrote: > On Wed, 28 Jun 2023 08:47:12 +0200 > Greg KH <gregkh@linuxfoundation.org> wrote: > > > On Fri, Jun 16, 2023 at 02:20:40PM +0200, Juerg Haefliger wrote: > > > The module loads firmware so add a MODULE_FIRMWARE macro to provide that > > > information via modinfo. > > > > > > Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com> > > > --- > > > drivers/fsi/fsi-master-ast-cf.c | 2 ++ > > > 1 file changed, 2 insertions(+) > > > > > > diff --git a/drivers/fsi/fsi-master-ast-cf.c b/drivers/fsi/fsi-master-ast-cf.c > > > index 5f608ef8b53c..1316bfd121fe 100644 > > > --- a/drivers/fsi/fsi-master-ast-cf.c > > > +++ b/drivers/fsi/fsi-master-ast-cf.c > > > @@ -1441,3 +1441,5 @@ static struct platform_driver fsi_master_acf = { > > > > > > module_platform_driver(fsi_master_acf); > > > MODULE_LICENSE("GPL"); > > > + > > > +MODULE_FIRMWARE(FW_FILE_NAME); > > > > No need for the extra blank line, right? > > Guess not. > > > > And what commit id does this fix? > > 6a794a27daca ("fsi: master-ast-cf: Add new FSI master using Aspeed ColdFire") > > Want me to send a v2? Please do and properly add the fixes line and the cc: stable line so that it will get backported correctly. thanks, greg k-h
diff --git a/drivers/fsi/fsi-master-ast-cf.c b/drivers/fsi/fsi-master-ast-cf.c index 5f608ef8b53c..1316bfd121fe 100644 --- a/drivers/fsi/fsi-master-ast-cf.c +++ b/drivers/fsi/fsi-master-ast-cf.c @@ -1441,3 +1441,5 @@ static struct platform_driver fsi_master_acf = { module_platform_driver(fsi_master_acf); MODULE_LICENSE("GPL"); + +MODULE_FIRMWARE(FW_FILE_NAME);