[PATCH] tpm: vtpm: constify vio_device_id

Michael Ellerman mpe at ellerman.id.au
Fri Aug 18 21:32:46 AEST 2017


Jason Gunthorpe <jgunthorpe at obsidianresearch.com> writes:

> On Thu, Aug 17, 2017 at 11:04:21PM +0530, Arvind Yadav wrote:
>> 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>
>
> Reviewed-by: Jason Gunthorpe <jgunthorpe at obsidianresearch.com>

Thanks Jason.

>>  drivers/char/tpm/tpm_ibmvtpm.c | 2 +-

Who merges changes for this driver? I assume it's Jarkko?

cheers


More information about the Linuxppc-dev mailing list