Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp965468pxb; Thu, 21 Apr 2022 14:45:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxz+NHJ25Ab8fALZLpeDcL0ZGRVOtsGSmumWmnUIU/ljNzkNPRejW7v7uAgtWXeGIC5GupQ X-Received: by 2002:a17:907:60d4:b0:6e8:7121:3c80 with SMTP id hv20-20020a17090760d400b006e871213c80mr1362875ejc.352.1650577536459; Thu, 21 Apr 2022 14:45:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650577536; cv=none; d=google.com; s=arc-20160816; b=e0KYsVaVEppKpA6jWnR/9Z8n2BxTaCJoez9F9KtU5PAZ2KSHTBSbrezso6OWrC1H2U W6DAlRbyoa6x9cQj8HqfAC864RymtkTtBHOKQZe4Gq4BqJj36TkipTesHXugWUfGgQYD 3Sm2PRIOY90D8msALMHoBC5ENI2eO1jhuxM+i4ZtD0Ezp9AnRvZ243TGJIN7deKiWB6D 7GV5kvry6RhsVD7+RtCsMV/6x5CBBTMsRQC6kefiCEQ1JIa1yu9Zl8vYqEKD6B/TebNk t7zY0Aetyd6fZcHVUYHSQm3yRLvp2yo8VYkFtPbRknpIuPGKWeEMOPvCxqIgltdrzzwL tGHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=e1hyArb/5whGQ4faeg6YhO5mzcFT0LHHgxgGSNRPGMg=; b=Cjk0ktr//wQoFe45F0gqLcrd/Vm8SpLxPdVakvRFbiScq9v+RzJ1zi4X2mqjDRukO2 D4esfgEJKoRTSlWjl+uGr9jcuemJ7Dp5SV6wC727jnfZB0l1T1nia3g0Zoeohc0LMF1x 8FImWYBHjYQCxXngICaaEo1d5WOcCvME6HNNlVJZDSw2eemKvuAzcYMvoInNBe2pMvZD 44cU/H/N1M8TqX4/QOy9J9tOya/pyPE7jk3uRhi0z1od3m8Nzu3iKRCw+cD9TNDqbSLf erCK/rsWrymYgnDUMdM1rP1p5DQGxlMyK47UK22uRYm4P13aJQWf0IsLdk1CMDQyF1tw YRfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=IzXr0U1v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hh23-20020a170906a95700b006e8bd883224si5030284ejb.792.2022.04.21.14.45.11; Thu, 21 Apr 2022 14:45:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=IzXr0U1v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1383204AbiDTX2m (ORCPT + 99 others); Wed, 20 Apr 2022 19:28:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1380110AbiDTX2l (ORCPT ); Wed, 20 Apr 2022 19:28:41 -0400 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E40E2B24B for ; Wed, 20 Apr 2022 16:25:54 -0700 (PDT) Received: by mail-pj1-x1030.google.com with SMTP id mm4-20020a17090b358400b001cb93d8b137so6224847pjb.2 for ; Wed, 20 Apr 2022 16:25:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=e1hyArb/5whGQ4faeg6YhO5mzcFT0LHHgxgGSNRPGMg=; b=IzXr0U1vcfIgbzGgGTh6dzx0nqn8WMMdbN9zCGPRHGsgRNwmqpeKdhuU6wGXF5Eus0 tnX6M+8p1i/EgZPwRUH7d9fyTDOw6+AymUSFKxGYPNNLKlqV+5h4TYcbImd28Zmn5CNk uNU0UwQac8mauwk90fO5L4zkY9PezSZxF5t4k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=e1hyArb/5whGQ4faeg6YhO5mzcFT0LHHgxgGSNRPGMg=; b=z722NrxZa3SRcXAZapoewiaUXN4twrmmclUNxUeu4gw9h6vxXqH3haEQxGhRXfvbPi N4G8gIKV4zHqBjj1ZjoCr4GzKVd9iPZ+Oi7P4aVBqww+6zLq0V1fIbph9Fki66EhUgrC C3LdpA5uuQwivPojYkwhnzMXqOD0LLlBJ+TRGqb/bCS2nJEudeh6PZYN+pffUj0KnBiL EqRAdO5avYLG7o0b98Hje/JHo6k6ZqVtFltLraoFpV2UqY6zed0n3ZY+WnMLuaf45+sL zdUtemxSyWWwy3YSkK1Qy5iZhb0cOl7F4NKcuBM0LGWreB3zS2NxNfxx0b0fBoLw57bw w+bQ== X-Gm-Message-State: AOAM531INMIdNszE+Gzi2HzKsvRC9YyjTVRCzXUbZl2TMH90/L0ZRIJh f1a4Pk1RAlvQ/oYsAZGVZ2Z1tA== X-Received: by 2002:a17:90b:218d:b0:1d0:90f5:4064 with SMTP id ku13-20020a17090b218d00b001d090f54064mr7158993pjb.95.1650497153809; Wed, 20 Apr 2022 16:25:53 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id cp14-20020a17090afb8e00b001cd4989ff55sm266911pjb.28.2022.04.20.16.25.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Apr 2022 16:25:53 -0700 (PDT) Date: Wed, 20 Apr 2022 16:25:52 -0700 From: Kees Cook To: Joao Moreira Cc: linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org, peterz@infradead.org, jpoimboe@redhat.com, andrew.cooper3@citrix.com, samitolvanen@google.com, mark.rutland@arm.com, hjl.tools@gmail.com, alyssa.milburn@linux.intel.com, ndesaulniers@google.com, gabriel.gomes@linux.intel.com, rick.p.edgecombe@intel.com Subject: Re: [RFC PATCH 11/11] driver/int3400_thermal: Fix prototype matching Message-ID: <202204201625.5BBB91ADB8@keescook> References: <20220420004241.2093-1-joao@overdrivepizza.com> <20220420004241.2093-12-joao@overdrivepizza.com> <202204191946.2843CF71@keescook> <06435f0b44681588052d145a17d60316@overdrivepizza.com> <202204201601.8291F550@keescook> <4dd9a9a3a7fb6f9af0fa04b8d2e3d5a2@overdrivepizza.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4dd9a9a3a7fb6f9af0fa04b8d2e3d5a2@overdrivepizza.com> X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 20, 2022 at 04:12:26PM -0700, Joao Moreira wrote: > > > > Ah-ha, thanks. I think this will fix it, but I haven't tested it: > > I tried that, and IIRC, there was an error or warning in the assignment that > happens a bit further in the file. My bad for not having it all properly > tracked. This builds for me without warnings, but maybe there is some weird config I'm missing. -- Kees Cook