[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170123.160050.47891500917690442.davem@davemloft.net>
Date:   Mon, 23 Jan 2017 16:00:50 -0500 (EST)
From:   David Miller <davem@...emloft.net>
To:     bhumirks@...il.com
Cc:     julia.lawall@...6.fr, michal.simek@...inx.com,
        soren.brinkmann@...inx.com, netdev@...r.kernel.org,
        linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] net: xilinx: constify net_device_ops structure
From: Bhumika Goyal <bhumirks@...il.com>
Date: Sat, 21 Jan 2017 12:28:58 +0530
> Declare net_device_ops structure as const as it is only stored in
> the netdev_ops field of a net_device structure. This field is of type
> const, so net_device_ops structures having same properties can be made
> const too.
> Done using Coccinelle:
 ...
> Signed-off-by: Bhumika Goyal <bhumirks@...il.com>
Applied.
Powered by blists - more mailing lists
 
