[PATCH] net: ibm: ibmvnic: constify vio_device_id

David Miller davem at davemloft.net
Fri Aug 18 03:18:09 AEST 2017


From: Arvind Yadav <arvind.yadav.cs at gmail.com>
Date: Thu, 17 Aug 2017 18:52:54 +0530

> vio_device_id are not supposed to change at runtime. All functions
> working with vio_device_id provided by <asm/vio.h> work with
> const vio_device_id. So mark the non-const structs as const.
> 
> Signed-off-by: Arvind Yadav <arvind.yadav.cs at gmail.com>

Applied.


More information about the Linuxppc-dev mailing list