Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751848AbdHRLcw (ORCPT ); Fri, 18 Aug 2017 07:32:52 -0400 Received: from ozlabs.org ([103.22.144.67]:38883 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750810AbdHRLcs (ORCPT ); Fri, 18 Aug 2017 07:32:48 -0400 From: Michael Ellerman To: Jason Gunthorpe , Arvind Yadav Cc: tpmdd@selhorst.net, linux-kernel@vger.kernel.org, jarkko.sakkinen@linux.intel.com, tpmdd-devel@lists.sourceforge.net, ashleydlai@gmail.com, peterhuewe@gmx.de, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH] tpm: vtpm: constify vio_device_id In-Reply-To: <20170817191642.GF24735@obsidianresearch.com> References: <20170817191642.GF24735@obsidianresearch.com> User-Agent: Notmuch/0.21 (https://notmuchmail.org) Date: Fri, 18 Aug 2017 21:32:46 +1000 Message-ID: <87ziaxp0v5.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 576 Lines: 18 Jason Gunthorpe 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 work with >> const vio_device_id. So mark the non-const structs as const. >> >> Signed-off-by: Arvind Yadav > > Reviewed-by: Jason Gunthorpe Thanks Jason. >> drivers/char/tpm/tpm_ibmvtpm.c | 2 +- Who merges changes for this driver? I assume it's Jarkko? cheers