archive mirror
 help / color / mirror / Atom feed
From: Takashi Iwai <>
To: Rikard Falkeborn <>
Cc: Takashi Iwai <>, aroslav Kysela <>,,
Subject: Re: [PATCH] ALSA: aloop: Constify ops structs
Date: Sat, 21 Nov 2020 09:31:05 +0100	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On Sat, 21 Nov 2020 00:10:46 +0100,
Rikard Falkeborn wrote:
> The only usage of the ops field in the loopback_cable struct is to call
> its members, the field it self is never changed. Make it a pointer to
> const. This allows us to constify two static loopback_ops structs to
> allow the compiler to put them in read-only memory.
> Signed-off-by: Rikard Falkeborn <>

Thanks, applied.


      reply	other threads:[~2020-11-21  8:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-20 23:10 Rikard Falkeborn
2020-11-21  8:31 ` Takashi Iwai [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:

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

  git send-email \ \ \ \ \ \ \ \
    --subject='Re: [PATCH] ALSA: aloop: Constify ops structs' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).