ConnMan network manager
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Grant Erickson <gerickson@nuovations.com>
Cc: connman@lists.linux.dev
Subject: Re: [PATCH] ipconfig: Const-qualify 'ipconfig' parameters.
Date: Wed, 29 Nov 2023 13:54:05 +0100	[thread overview]
Message-ID: <3DD38F2F-4E52-458E-893D-E60E9CA94960@holtmann.org> (raw)
In-Reply-To: <20231128185136.1171884-1-gerickson@nuovations.com>

Hi Grant,

> Const-qualify the ipconfig arguments of '__connman_ipconfig_get_gateway'
> and '__connman_ipconfig_gateway_{add,remove}' to make it clear to the
> compiler, static analyzers, and human readers that the functions have
> no ipconfig mutation side effects.
> ---
> src/connman.h  | 6 +++---
> src/ipconfig.c | 6 +++---
> 2 files changed, 6 insertions(+), 6 deletions(-)

patch has been applied.

Regards

Marcel


      reply	other threads:[~2023-11-29 12:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-28 18:51 [PATCH] ipconfig: Const-qualify 'ipconfig' parameters Grant Erickson
2023-11-29 12:54 ` 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=3DD38F2F-4E52-458E-893D-E60E9CA94960@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).