The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Takashi Sakamoto <o-takashi@sakamocchi.jp>
To: linux1394-devel@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/2] firewire: core: use macro for magic numbers related to bus manager work
Date: Sun, 14 Sep 2025 20:08:58 +0900	[thread overview]
Message-ID: <20250914110858.GA802269@workstation.local> (raw)
In-Reply-To: <20250913105737.778038-1-o-takashi@sakamocchi.jp>

On Sat, Sep 13, 2025 at 07:57:35PM +0900, Takashi Sakamoto wrote:
> Hi,
> 
> Some magic numbers are used for bus manager work. This patchset adds
> some macros to replace the magic numbers.
> 
> * 0x3f: BUS_MANAGER_ID_NOT_REGISTERED
> * 0: GAP_COUNT_MISMATCHED
> 
> Takashi Sakamoto (2):
>   firewire: core: use macro expression for gap count mismatch
>   firewire: core: use macro expression for not-registered state of
>     BUS_MANAGER_ID
> 
>  drivers/firewire/core-card.c     | 14 +++++++++-----
>  drivers/firewire/core-topology.c |  2 +-
>  drivers/firewire/core.h          |  6 ++++++
>  3 files changed, 16 insertions(+), 6 deletions(-)

Applied to for-next branch.


Regards

Takashi Sakamoto

      parent reply	other threads:[~2025-09-14 11:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-13 10:57 [PATCH 0/2] firewire: core: use macro for magic numbers related to bus manager work Takashi Sakamoto
2025-09-13 10:57 ` [PATCH 1/2] firewire: core: use macro expression for gap count mismatch Takashi Sakamoto
2025-09-13 10:57 ` [PATCH 2/2] firewire: core: use macro expression for not-registered state of BUS_MANAGER_ID Takashi Sakamoto
2025-09-14 11:08 ` Takashi Sakamoto [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250914110858.GA802269@workstation.local \
    --to=o-takashi@sakamocchi.jp \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux1394-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox