Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1707376

Re: [PATCH] net: dsa: make dsa_switch_ops const

From Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Newsgroups linux.kernel
Subject Re: [PATCH] net: dsa: make dsa_switch_ops const
Date 2017-08-09 16:40 +0200
Message-ID <ucAjo-bt-1@gated-at.bofh.it> (permalink)
References <ucrpM-2hs-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Bhumika Goyal <bhumirks@gmail.com> writes:

> Make these structures const as they are only stored in the ops field of
> a dsa_switch structure, which is const.
> Done using Coccinelle.
>
> Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>

Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] net: dsa: make dsa_switch_ops const Bhumika Goyal <bhumirks@gmail.com> - 2017-08-09 07:10 +0200
  Re: [PATCH] net: dsa: make dsa_switch_ops const Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2017-08-09 16:40 +0200
  Re: [PATCH] net: dsa: make dsa_switch_ops const David Miller <davem@davemloft.net> - 2017-08-10 07:50 +0200

csiph-web