Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp528921pxb; Wed, 14 Apr 2021 23:46:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxDiYRIvuRDuUjKtUnFdTzbWX7rKxosgo0eraudRYyCMqI6C0T+Gd5oKo9gdG9ZqBNTDUWd X-Received: by 2002:a63:4758:: with SMTP id w24mr2169748pgk.33.1618469211241; Wed, 14 Apr 2021 23:46:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618469211; cv=none; d=google.com; s=arc-20160816; b=0+lZAdx4jF4ffxFRpXOB1711yhJwzKOwqAZfFNAGMmJ8RrCdOLBW0gCxTJbyz/pC3m y3zGDPgkxfPUicjAkbFaVTRT6Sxz/wjLS3l6Xkb2vMJI4v9Qg1PG6EpmY3zDooEahvEu RuECCNXB7p5AzZNzH/Lvd45JPmiX4Dd+30TXC/17Dr+Bw3i59boIRcRzZVWCFn5Gn/dP 6ODNSQEmBVUQENnKnX2aRVgxiKp4FlPdkakfVLMvKy0sWs67PXYkXl1pvaBTUAQliJkf iDJo9tv3PcXAcs68tEJiHJJX4i7k+SLh6Mk5Ct2M7MwWNCNQ4MDW6tmPHmiFOPKdpp9+ Rhlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=ISz3TyCn2/uIV44d4r1X/5cuqYAQkTLj0NPgFtRUo2I=; b=N585tKNOAOoLqA0xbRIS49J9RKAyHq2PWxS4BKZ3r/DpnokRfqiY+9M9WYmu4sGDi8 jGpQsrZNl27c0usvuWwFNxtfu9HEo5BLMKuLXbIFdYe1B+Jg1UFLzK/P6XNfBNYRj1Sm 57Y71+pFEm8hwLMtfS8SdDCpqyx2P2B/w+CaOBrW53wCiCCn0tIe9V2irZqZyasGoUeI +6NVXmbxonz7GBdtucwl6thj0IgZ2vMoaHnKM1QFDz94PqgBO1S0I7pR8iFwl3rsXqjn zeAJ3PIZFXSr531mpAkCHrFvZxlqTmuwhCd9N7clEU5McgcV9DXWkzGfyGZKHOGwkTpI +Y6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZkNXqgXt; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t13si2188032pfh.89.2021.04.14.23.46.38; Wed, 14 Apr 2021 23:46:51 -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; dkim=pass header.i=@linaro.org header.s=google header.b=ZkNXqgXt; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230377AbhDOGqG (ORCPT + 99 others); Thu, 15 Apr 2021 02:46:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229503AbhDOGqF (ORCPT ); Thu, 15 Apr 2021 02:46:05 -0400 Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9CDF6C061574 for ; Wed, 14 Apr 2021 23:45:41 -0700 (PDT) Received: by mail-pl1-x62e.google.com with SMTP id h20so11516578plr.4 for ; Wed, 14 Apr 2021 23:45:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=ISz3TyCn2/uIV44d4r1X/5cuqYAQkTLj0NPgFtRUo2I=; b=ZkNXqgXt17/0WJ4uQEF9j6e/5EMQTJWO4jWtpcFp26A0tT3EGv9X7opfYTgaLaA7kN GJo6U3f0Id4pHUfxCIEXDZQP9NxPYLneOAYwpovFXcIw+UHB3CUIPAlaFgQvRrsoze4N ccHbzbI0j2UaRVNnRvCrTmbeD40PEy2ObsDc1shrBjwtRnh/FUIt994nEOcHAbNpb24H /c/2k2xvA4c7eg2hLT7ltJbJyeOpM+Hk0rRwk4Bcoek5J7x+OYH7nWDK6CuiqbckOU3p vBKsiufpBAHBwBdj9QsrdaYeX3QvoifBnoAY+dLWoVW+bUCn5aAFsi2E/CBvg9cq9ABq aaWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=ISz3TyCn2/uIV44d4r1X/5cuqYAQkTLj0NPgFtRUo2I=; b=LduuPkkGTgzkzQNwT6em+JyT35MNiiPsVwFQ4bKEmeCfAddYOWci9hdgHX9OrdbNFM ueO6kzViqa/owgoPECdulYUFSssrWrGEw9XZEuSM+JFmJtK45roIMvBRH75NRKbu+9Y0 B835VauOv3LQPcYVp445K8uFKFQ6ZO9xpKZf7/YoEMbrjna0naGTTiFhlTeGppouP/HL TnIbksF5FLGYnxE4JAFNwVtTDsxgOH63liCL2Qp1p5kQdAz29XsV9MXy5yGA9TwIC4Es CMBoyhVy9qif6Dh3uR7yQ0bVw2u1kHpesLRpgnAB767DSxSSR5ocKczi/srj7XI0lfzt /12A== X-Gm-Message-State: AOAM5313syNVBr75F5DQZBltSlrwglZNS7c1YcopsZI9EX5K6KdD3sfe LjptEj6ArJvuGkxDlpeaTwdw+A== X-Received: by 2002:a17:90a:5910:: with SMTP id k16mr2266235pji.207.1618469141190; Wed, 14 Apr 2021 23:45:41 -0700 (PDT) Received: from localhost ([136.185.154.93]) by smtp.gmail.com with ESMTPSA id p3sm1184591pfq.136.2021.04.14.23.45.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Apr 2021 23:45:40 -0700 (PDT) Date: Thu, 15 Apr 2021 12:15:38 +0530 From: Viresh Kumar To: Arnd Bergmann Cc: Jie Deng , 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 , Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= , Bjorn Andersson , yu1.wang@intel.com, shuo.a.liu@intel.com, Stefan Hajnoczi , Paolo Bonzini Subject: Re: [PATCH v10] i2c: virtio: add a virtio i2c frontend driver Message-ID: <20210415064538.a4vf7egk6l3u6zfz@vireshk-i7> References: <226a8d5663b7bb6f5d06ede7701eedb18d1bafa1.1616493817.git.jie.deng@intel.com> <20210323072704.rgoelmq62fl2wjjf@vireshk-i7> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716-391-311a52 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -- viresh