From: Marcel Holtmann <marcel@holtmann.org>
To: Grant Erickson <gerickson@nuovations.com>
Cc: connman@lists.linux.dev
Subject: Re: [PATCH] Const-qualify 'connman_ipconfig_get_index'.
Date: Tue, 7 Nov 2023 16:12:15 +0100 [thread overview]
Message-ID: <C92DC1D9-B532-45FE-8941-2798ADA74072@holtmann.org> (raw)
In-Reply-To: <486CCD85-633C-4362-9EF0-D429B88792E9@nuovations.com>
Hi Grant,
> Const-qualify the network service argument to make it clear to the
> compiler, static analyzers, and human readers that the function is
> strictly a getter with no network mutation side effects.
>
> ---
> src/connman.h | 2 +-
> src/ipconfig.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
patch has been applied.
Regards
Marcel
prev parent reply other threads:[~2023-11-07 15:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-19 20:59 [PATCH] Const-qualify 'connman_ipconfig_get_index' Grant Erickson
2023-11-07 15:12 ` Marcel Holtmann [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=C92DC1D9-B532-45FE-8941-2798ADA74072@holtmann.org \
--to=marcel@holtmann.org \
--cc=connman@lists.linux.dev \
--cc=gerickson@nuovations.com \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).