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


Groups > linux.kernel > #1714815

Re: [PATCH] tpm: vtpm: constify vio_device_id

From Michael Ellerman <mpe@ellerman.id.au>
Newsgroups linux.kernel
Subject Re: [PATCH] tpm: vtpm: constify vio_device_id
Date 2017-08-18 13:40 +0200
Message-ID <ufNN7-346-1@gated-at.bofh.it> (permalink)
References <ufwVX-82Z-9@gated-at.bofh.it> <ufyuK-KQ-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Jason Gunthorpe <jgunthorpe@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@gmail.com>
>
> Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>

Thanks Jason.

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

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

cheers

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


Thread

[PATCH] tpm: vtpm: constify vio_device_id Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-17 19:40 +0200
  Re: [PATCH] tpm: vtpm: constify vio_device_id Jason Gunthorpe <jgunthorpe@obsidianresearch.com> - 2017-08-17 21:20 +0200
    Re: [PATCH] tpm: vtpm: constify vio_device_id Michael Ellerman <mpe@ellerman.id.au> - 2017-08-18 13:40 +0200
      Re: [PATCH] tpm: vtpm: constify vio_device_id Jason Gunthorpe <jgunthorpe@obsidianresearch.com> - 2017-08-18 22:40 +0200
        Re: [PATCH] tpm: vtpm: constify vio_device_id Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2017-08-19 19:30 +0200
          Re: [PATCH] tpm: vtpm: constify vio_device_id Michael Ellerman <mpe@ellerman.id.au> - 2017-08-23 16:10 +0200

csiph-web