Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp534099pxb; Wed, 14 Apr 2021 23:58:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwmLfdZ+w0qr8x8KDE6g7PHwMel8emBHSjtPblnizI8oIDjxAIWnI9Vxe6l9cmpOnUeb6K6 X-Received: by 2002:a63:1d41:: with SMTP id d1mr2176353pgm.135.1618469926230; Wed, 14 Apr 2021 23:58:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618469926; cv=none; d=google.com; s=arc-20160816; b=B5VZ3otJb15nnrTnCrzY/bZj9bwRpjNvMyGzgTj8aw6NFj145rr9IQrcGe/Bp6Ovn8 0YqiwUuuF4EC0R2dP0dFxJsVBitXf+WkVHdsxulxqW8nRfhROITD0k07rrOpsKZ05fGA c9SCNH+0FPXZlYRbnguPmB/Hd/Uz1Abb+mNwU60QyXKo8thr5UUcYe+tPwfnw/+Rc6z2 GB80mPEtUtUDcarXNnb7othTKG9prU7oFIbsPDdVmweAxRERYuxK7qWchzZMWWR8x/+q i2xwilhdmwDjUww9EXEFmUPgKVWIohfXusGpnFJUgPYM/RbG6U5Bi7SLkZ5TjYvJEQZ9 1PWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:ironport-sdr:ironport-sdr; bh=zjNv7fHio6WQXuv0exPE+CGKnFdF/8mNVaKWjAv3Ni8=; b=mdr9+G/5217EsirqE49PBwDNLWA2VRSDoTUNQLBagz23CpHVTLMW2h5+2ghsNzL/Vr ocw1hw2dSNc13KxReJdc2QMuk0MoYOlg7PfQ/npOT4wVE8R7gqgps9R8t7jaYQHsmyA2 JJ6UOcVGQclpGIuqsGivlYnrfJ1TQKPEtmxB/jQy+VryotayRqPbsGEcfPqQQ+MTeog1 21AvaARX30vqqFPB164XRamXdiJqjSpRDjoGBqrQZxBt74tt/ZvGV7GPO3NNrzr00Pi6 QCpksbVRMsdHw42ozuU0aTuH9phYyyPNvpT+zOvzs3cqU8cm/6VLnGLrMqL0jJjfi/hj jFdQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gw5si2213040pjb.21.2021.04.14.23.58.33; Wed, 14 Apr 2021 23:58:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231183AbhDOG4u (ORCPT + 99 others); Thu, 15 Apr 2021 02:56:50 -0400 Received: from mga11.intel.com ([192.55.52.93]:61848 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231217AbhDOG4s (ORCPT ); Thu, 15 Apr 2021 02:56:48 -0400 IronPort-SDR: wlPK8LC7MEzJP45FvSXsHhoUjzfjZ4WGktWWr4MNmlOXoYNcxPfZqar9WgbvjQ/r++1UnoNwyK 57ITdyR4AmLw== X-IronPort-AV: E=McAfee;i="6200,9189,9954"; a="191612089" X-IronPort-AV: E=Sophos;i="5.82,223,1613462400"; d="scan'208";a="191612089" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Apr 2021 23:56:25 -0700 IronPort-SDR: IwNtvxqKG63G2Vyzj1z8gOzo293FGZE5KxdLe37XiCPZJxNVvEdCvfuLv0RPGJtDm3JpTVBr92 Rdj06eOGq6Ig== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,223,1613462400"; d="scan'208";a="421596188" Received: from dengjie-mobl1.ccr.corp.intel.com (HELO [10.239.154.55]) ([10.239.154.55]) by orsmga007.jf.intel.com with ESMTP; 14 Apr 2021 23:56:19 -0700 Subject: Re: [PATCH v10] i2c: virtio: add a virtio i2c frontend driver To: Viresh Kumar , Arnd Bergmann Cc: Linux I2C , virtualization@lists.linux-foundation.org, Linux Kernel Mailing List , "Michael S. Tsirkin" , Wolfram Sang , Jason Wang , Wolfram Sang , Andy Shevchenko , conghui.chen@intel.com, kblaiech@mellanox.com, jarkko.nikula@linux.intel.com, Sergey Semin , Mike Rapoport , loic.poulain@linaro.org, Tali Perry , =?UTF-8?Q?Uwe_Kleine-K=c3=b6nig?= , Bjorn Andersson , yu1.wang@intel.com, shuo.a.liu@intel.com, Stefan Hajnoczi , Paolo Bonzini References: <226a8d5663b7bb6f5d06ede7701eedb18d1bafa1.1616493817.git.jie.deng@intel.com> <20210323072704.rgoelmq62fl2wjjf@vireshk-i7> <20210415064538.a4vf7egk6l3u6zfz@vireshk-i7> From: Jie Deng Message-ID: Date: Thu, 15 Apr 2021 14:56:19 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: <20210415064538.a4vf7egk6l3u6zfz@vireshk-i7> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021/4/15 14:45, Viresh Kumar wrote: > On 23-03-21, 10:27, Arnd Bergmann wrote: >> I usually recommend the use of __maybe_unused for the suspend/resume >> callbacks for drivers that use SIMPLE_DEV_PM_OPS() or similar helpers >> that hide the exact conditions under which the functions get called. >> >> In this driver, there is an explicit #ifdef in the reference to the >> functions, so >> it would make sense to use the same #ifdef around the definition. > Jie, > > I was talking about this comment when I said I was expecting a new > version. I think you still need to make this change. I didn't forget this. It is a very small change. I'm not sure if the maintainer Wolfram has any comments so that I can address them together in one version. Thanks.