Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1605309pxk; Tue, 1 Sep 2020 03:06:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzk2EqPQXMqjffGyAcC6axwznecpWUJxNaufvm47q9d9QR6lXVh1VVb13dbHeAyL0O997Up X-Received: by 2002:a17:906:4dc7:: with SMTP id f7mr816860ejw.261.1598954772180; Tue, 01 Sep 2020 03:06:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598954772; cv=none; d=google.com; s=arc-20160816; b=teK2bqmLKoMchqH50p/N8WROGh2nefa22eoCwAf/xEeXfT7W0jUVYRVVgrtB23JNr+ sTMOf8HfH0l5L3s8a9HE9FFOzkQ8zCF3NWXVwneKTueQv0Ir045lklE6s/mOjS+mFzIm J5QA8FRIqyO1eLqYfZf5GZYk6Hes9T7yzNn39MoxBzIzHsh4yJfNGReC6HkuvcAYxv/T X34CKVBHkTks+SWlfGtf684X/hiS2IAepEZvLuhLnjtKvJdp0HF1Jx9d4jiktbTpRzaQ 1B+KrklNDp12UnJmMzFrALRjbugXr++lzIHxdJ+rPW3Q8oUGBqCdGk3FuDiJ5u9Hw/mb 0Zvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=uAA3vppKz35+iasup+iTPe2COzoTe++NhtknlN0MtRU=; b=pJ50G7ghE/NQ5mp7uHO3OGhLBLxTap4e6SKbqnB84N+lR1s49ETIZwE4B/Y/FQsBzk QVgc1x9Wvwa1QW8QiHojCBNcNZzhN1xLxVeTUhEGv61L3malzpDOuLtY6OqXpV2y95V8 H1PqwuhL4PQ1Wr0ONnf4qC5Y11vDuLxwcdm9Jnuri/ruKKbI5QF1tsObw+zjsQRihx04 cGYUUgngfCiVHpZpmj3FTNlbbpU/3oInong5U/f5EZOiEzJHqT65DvvvU8vRCY4jFh4V CynCSp9HcxIdKuH5qh/99dnUNSdqpfSOifNhhJMaqkk/mkG+3b74ZliSbcopgEvFIMLs wHnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pat1YOLr; 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 t21si342441edi.507.2020.09.01.03.05.46; Tue, 01 Sep 2020 03:06:12 -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=pat1YOLr; 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 S1726078AbgIAKE4 (ORCPT + 99 others); Tue, 1 Sep 2020 06:04:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725848AbgIAKEy (ORCPT ); Tue, 1 Sep 2020 06:04:54 -0400 Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A599C061244 for ; Tue, 1 Sep 2020 03:04:53 -0700 (PDT) Received: by mail-lj1-x241.google.com with SMTP id e11so783382ljn.6 for ; Tue, 01 Sep 2020 03:04:53 -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; bh=uAA3vppKz35+iasup+iTPe2COzoTe++NhtknlN0MtRU=; b=pat1YOLrY1lkERA0Ub/Qf+YQaTpUjdzjz8pLR5aYIhmJEiT4Tl0786IT8sqhce0Giz XFQLM8QBHAh8Gmg+/bJd7pLfnufGUuYRutbTsT+DCmTy2ucSs/rlILHvGt0VOzztqtEm k7P2KW9cTAlfScwsDLCl0wbezuGVvKE7zMCco1q42ikNxgDbUj5A6sZEmyXxdLVGBQTC /m1CYU2/Tu3IfNgEt7XFWqBKmyR+uXIgLWACjqE+1+3BKVNpjkGZTYvFumqT6mJnZ41b HQhKPRTPyD6JubiRzSk0rjEQ0oEn0vOLa/uHxU0ehin4LLe9TbjABDJgBZavh01VrpyG AUdA== 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; bh=uAA3vppKz35+iasup+iTPe2COzoTe++NhtknlN0MtRU=; b=eeEBy12F/EGqC69P/5MlIEc5fGYiFCI6NVipKylbLuqFfBK+6EtL7BtAgQVyRsoTIS +IY+NONgNQ8J1LHYKWDA9KBbtquT11i9MdmfVAAoN+8qhpuZLCjr0E0eHlAHPK42RW42 SP2pVCgjuabmKcoys3OcvndsCwiznvYueoUQ5yP9vVGL4jxqJC86hBZnPKJFVC5c2XRe QWsutrhpnao/QSx+ounakQXw+H1f6zo/5cPzREilXi9q44geXOZ4aq7msO+6ampXEb5j BHUfY202VjvGHpwuDBk4OeIdtO9ZMMAFx+CugSI4+tDi4aY5ozFDubU5GsvC2yv3ik8f EUBA== X-Gm-Message-State: AOAM530VwTIZhRwUNU0DrbSSWhUkoyG3Tdu+wqe9wjDH8MhTOiC95LmE tC+N0Ffqlx1uIJEtLkV6Ig2FtcGxs3l4lw== X-Received: by 2002:a2e:8593:: with SMTP id b19mr185956lji.290.1598954691797; Tue, 01 Sep 2020 03:04:51 -0700 (PDT) Received: from jade (h-249-223.A175.priv.bahnhof.se. [98.128.249.223]) by smtp.gmail.com with ESMTPSA id n8sm173775ljj.69.2020.09.01.03.04.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Sep 2020 03:04:51 -0700 (PDT) Date: Tue, 1 Sep 2020 12:04:49 +0200 From: Jens Wiklander To: Jorge Ramirez-Ortiz Cc: rdunlap@infradead.org, sumit.garg@linaro.org, tee-dev@lists.linaro.org, linux-kernel@vger.kernel.org, ricardo@foundries.io Subject: Re: [PATCHv2] drivers: optee: fix i2c build issue Message-ID: <20200901100449.GA3255765@jade> References: <20200831161102.14735-1-jorge@foundries.io> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200831161102.14735-1-jorge@foundries.io> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 31, 2020 at 06:11:02PM +0200, Jorge Ramirez-Ortiz wrote: > When the optee driver is compiled into the kernel while the i2c core > is configured as a module, the i2c symbols are not available. > > This commit addresses the situation by disabling the i2c support for > this use case while allowing it in all other scenarios: > > i2c=y, optee=y > i2c=m, optee=m > i2c=y, optee=m > i2c=m, optee=y (not supported) > > Reported-by: kernel test robot > Signed-off-by: Jorge Ramirez-Ortiz > --- > v2: uses IS_REACHABLE instead of macro combination > > This patch applies on top of > https://git.linaro.org/people/jens.wiklander/linux-tee.git/tag/?h=optee-i2c-for-v5.10 > > drivers/tee/optee/rpc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Thanks for the prompt fix, I'm picking this up. Cheers, Jens