From: David Miller <davem@davemloft.net>
To: ben.dooks@codethink.co.uk
Cc: netdev@vger.kernel.org, linux-kernel@lists.codethink.co.uk,
oneukum@suse.com, linux-usb@vger.kernel.org,
linux-kernel@vger.kernel.org, ben-linux@fluff.org
Subject: Re: [PATCH] net: usbnet: make driver_info const
Date: Tue, 02 Oct 2018 22:23:04 -0700 (PDT) [thread overview]
Message-ID: <20181002.222304.276597319093873023.davem@davemloft.net> (raw)
In-Reply-To: <20181001160243.10428-1-ben.dooks@codethink.co.uk>
From: Ben Dooks <ben.dooks@codethink.co.uk>
Date: Mon, 1 Oct 2018 17:02:43 +0100
> From: Ben Dooks <ben-linux@fluff.org>
>
> The driver_info field that is used for describing each of the usb-net
> drivers using the usbnet.c core all declare their information as const
> and the usbnet.c itself does not try and modify the struct.
>
> It is therefore a good idea to make this const in the usbnet.c structure
> in case anyone tries to modify it.
>
> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
> Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Applied.
prev parent reply other threads:[~2018-10-03 5:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-01 16:02 Ben Dooks
2018-10-03 5:23 ` David Miller [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=20181002.222304.276597319093873023.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=ben-linux@fluff.org \
--cc=ben.dooks@codethink.co.uk \
--cc=linux-kernel@lists.codethink.co.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=oneukum@suse.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
all inboxes | Powered by JetHome®