Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3748080pxb; Tue, 26 Jan 2021 03:50:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJx/rtftmuTZ6cOqvDY/HoN0Qqar3YAr2BaKuVCKWQt6doIxLpwba08acPRjVeVNp8gnyBg7 X-Received: by 2002:a17:906:4d8f:: with SMTP id s15mr3216718eju.389.1611661841703; Tue, 26 Jan 2021 03:50:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611661841; cv=none; d=google.com; s=arc-20160816; b=Wic5P6PGmQ6RQtMaD3MQZaPTs2j8XVIobzcBYcn9Or7jZk1fMFOJ/Jpy48PmJkTSRp YxB5eD9hcdLKiLzXyr9hEevGwalBK1hW5JIS/gq2sTHUi3bNDH4NGU1TRjsBrgsyOQV0 kyEWrrYDpsYODAlWnJ3qQlbh+QlQnqgrqM1UuSiinnTnatEo6yFE2UIvVXsX6RoqxW5n YodFkKfuXHu18r+iLB+K+/COSeBfyqga4ROzMOyOKq6rJF5DJTFVvNeTkMmd8KFurgGr GlsxwafRqb2jvKkFbuwsoxYYLIw8u7lNy4ySKB3VqJx4k2sNB/psMtVpypEWk+8bGkaT i1iQ== 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:date:from :dkim-signature; bh=RskLIY79gBLBv+4cE4gzC0Zo5xZ0hs4r15nMpCvAhao=; b=N0f20+Z5VkE2Tb2qXoMUw5RMTDJfbsR5KihSJAGLgwr+Le1gvJDQjrkWctcGca2fR2 oHK75IG/g3JSaE6JeVZhYt4Oep/bg5K/ttRIGrWgjy6FIIVBjphwEJOM9PPPhS6ljoi2 jv4IB//HHO3m8UbDgymLV+f6q9EpKH+93zilnFkR3rV3UMFiZMI/ixy9NGPxQ2yollak tBlKtDvqLbWB7Z8erlaSUL1KxqCxxA0B0M9pTE1xn53JVKtIUIo0+Ly4Wl0OcPb/bdxZ 73bap65j23IzerMIlTRB5hdipyxL2xEf5QqjjkUQorqcDoQ9W6BakhWmvdJRHQtBLKyg 3+uA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foundries.io header.s=google header.b=UTtqI09J; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i18si6905864ejp.271.2021.01.26.03.50.17; Tue, 26 Jan 2021 03:50:41 -0800 (PST) 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=@foundries.io header.s=google header.b=UTtqI09J; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405438AbhAZLr7 (ORCPT + 99 others); Tue, 26 Jan 2021 06:47:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2392197AbhAZLpv (ORCPT ); Tue, 26 Jan 2021 06:45:51 -0500 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C831EC061573 for ; Tue, 26 Jan 2021 03:45:10 -0800 (PST) Received: by mail-wr1-x431.google.com with SMTP id c12so16131296wrc.7 for ; Tue, 26 Jan 2021 03:45:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundries.io; s=google; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=RskLIY79gBLBv+4cE4gzC0Zo5xZ0hs4r15nMpCvAhao=; b=UTtqI09J+zAudSaBIf8nOI0rNLzua1UKqXFFiG5mdAooSFLTdk0MTwJTcnzJ50lySn tpGMmHwpizjX5j/FcnC1CMFYisD+nV9EF3c2hJi4My5zDGuPpprGiJDoDgTgaDB2r8gH 2Fg/ngqf4XH+FS+Y29nWH5C35ahFYoaTAra+lrTjf8fwBZfefmsFPRAztjF3kaQUUIA+ FHECRaVwp6WwhAQJyNR1g8gKVP+v47w3Ft41dD56vK6CGrwP7DUoD3umyvaw4LpX92/9 qWktKg5yiFt7k8gFWVfUMunKu4c49PPTnQYe2F2eUXuj71zNcEOwE3j7uTFGnoMYNGD/ t8ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=RskLIY79gBLBv+4cE4gzC0Zo5xZ0hs4r15nMpCvAhao=; b=L2TMmuMdHALZk88l/pTEbLSLtmg4un69qLeqYmMxw4JohCuQyyadgkDZOsqiRjNGlf M/Fve95o4KKtQEAgpWPPaRI9nPzINv4TW0pTrPzohTf3Ae8jiZHa0KfeNBsUQx256Uno NI34Ioud7AlxWeBFl48JHWI1latZsSMI6qnvBdsvSGKWAAvLXfVtYhHR4o5rPVsagsND wF4NpX64y0co8z3eNQFCn6XCCvguwysZ+GLfSyteE2IWRcw7um2W0cIvgBc0dFuAznTi rYM77KbOtVYPMGB3jmqt1J788RzJl1Y9ff2EmFtNpKbXWcjd9RSL9SJ+i4Z6EzbHDLGl LuMw== X-Gm-Message-State: AOAM532EoYmJsBDF9xUjYLoFDHchhiABVR7VbEVQXlndx2/UzyeDOUEL 79b9MZsfzr+f104tRBd4qpd7wg== X-Received: by 2002:adf:f009:: with SMTP id j9mr5647691wro.35.1611661509587; Tue, 26 Jan 2021 03:45:09 -0800 (PST) Received: from trex (182.red-79-146-86.dynamicip.rima-tde.net. [79.146.86.182]) by smtp.gmail.com with ESMTPSA id n11sm30317062wra.9.2021.01.26.03.45.08 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 26 Jan 2021 03:45:08 -0800 (PST) From: "Jorge Ramirez-Ortiz, Foundries" X-Google-Original-From: "Jorge Ramirez-Ortiz, Foundries" Date: Tue, 26 Jan 2021 12:45:07 +0100 To: Arnd Bergmann Cc: "Jorge Ramirez-Ortiz, Foundries" , Jens Wiklander , Arnd Bergmann , op-tee@lists.trustedfirmware.org, "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] optee: simplify i2c access Message-ID: <20210126114507.GA9282@trex> References: <20210125113758.2430680-1-arnd@kernel.org> <20210126080827.GA26654@trex> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 26/01/21, Arnd Bergmann wrote: > On Tue, Jan 26, 2021 at 9:08 AM Jorge Ramirez-Ortiz, Foundries > wrote: > > > > On 25/01/21, Arnd Bergmann wrote: > > > From: Arnd Bergmann > > > > > > Storing a bogus i2c_client structure on the stack adds overhead and > > > causes a compile-time warning: > > > > > > drivers/tee/optee/rpc.c:493:6: error: stack frame size of 1056 bytes in function 'optee_handle_rpc' [-Werror,-Wframe-larger-than=] > > > void optee_handle_rpc(struct tee_context *ctx, struct optee_rpc_param *param, > > > > > > Change the implementation of handle_rpc_func_cmd_i2c_transfer() to > > > open-code the i2c_transfer() call, which makes it easier to read > > > and avoids the warning. > > > > > > Fixes: c05210ab9757 ("drivers: optee: allow op-tee to access devices on the i2c bus") > > > > does fixing stack-frame compile warnings need a 'fixes' tag? > > The fixes tag only describes which commit introduced the bug, it is irrelevant > what type of bug this is. > > Arnd thanks Arnd. what compiler warnings are defined as kernel bugs? is there a list that you use when tracking these?