Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp810638rwj; Fri, 23 Dec 2022 08:19:27 -0800 (PST) X-Google-Smtp-Source: AMrXdXvw+u7qmT38gRUZ3/u6nldqcmh6n82QmUtfSGXsv7pNPJbHuEmQ2noAsSBZyd0NaIRBiCgN X-Received: by 2002:a05:6a20:1b04:b0:b2:5cf9:79d8 with SMTP id ch4-20020a056a201b0400b000b25cf979d8mr11277112pzb.53.1671812367478; Fri, 23 Dec 2022 08:19:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671812367; cv=none; d=google.com; s=arc-20160816; b=is9QyTbbZkY8r3CbUTHsY49YUq5NTSBiVxbz23bbfIM6CbOWCQMaMato10RHMz+hDD EMDwZqN4tIstLAftHjnLUx8uZ/rAppw4SAg0G2gM2u0PEPsS5siH7XCjCTc5p7CnF+/d Y+S+aEj8IvUd+OhmSucBOG3DAX2NIFPtCXnwZtCmtap91ICnrQ/4ML0AMTa6qVRJ4ULc hHnUlEzf2dP/3AZO/xRDz9JSv+kBWpjSxGXaRVLNgEGbCIt7xhmw0DWAK9/y2Q7LJJvd n7gxeBQBlcGRzyk8LClsrDET/SEufXBItpjId2ZY28siTPlG8ayHuR+oTdGxcnEXR1F2 JJ6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:subject :from:references:cc:to:content-language:user-agent:mime-version:date :message-id:dkim-signature; bh=Qkhm0mQ76X7mBQYW7xT21ZorCQlwgd9Ukd2sbDFSMEk=; b=A0kueTdUliUmX4qcyY0rkY0rk249IjZGcFvDRQekxubtEr7H6AnPJeoTEmrIhvDPiV Y7trHPVrGCIT3Lak3MQXVl2K2GU7gF2sRMyDY0Wmb4LlZ8uUjSvSu/lPttBmL0gjhS3w BY8VnFdHbNZh7YTIZeKIjPXt16dn6jhbCJnroWupCzptEH9Gf0za+ZFx/D5EZhlRpSqr MP1Ic8DgLwknfWr+z2nqqIaELmabpDV9Hun9de0J3g5UQk243WQ4Gd0qQvpSGGGkHTFg OlrCCzbc4WRndkri/X6bK8Rc2TcbHmC6QX5m9fuMPnFev1Ur5sPRS/TDoc7aTQvsSjlW 92aA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gnuweeb.org header.s=default header.b=Tc86R6Gd; 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=gnuweeb.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t203-20020a635fd4000000b00477ba9ec461si3883554pgb.879.2022.12.23.08.19.18; Fri, 23 Dec 2022 08:19:27 -0800 (PST) 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=@gnuweeb.org header.s=default header.b=Tc86R6Gd; 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=gnuweeb.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236502AbiLWPcI (ORCPT + 65 others); Fri, 23 Dec 2022 10:32:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231423AbiLWPcH (ORCPT ); Fri, 23 Dec 2022 10:32:07 -0500 Received: from gnuweeb.org (gnuweeb.org [51.81.211.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BB92F2 for ; Fri, 23 Dec 2022 07:32:04 -0800 (PST) Received: from [10.7.7.5] (unknown [182.253.183.184]) by gnuweeb.org (Postfix) with ESMTPSA id 763BD7E24C; Fri, 23 Dec 2022 15:32:01 +0000 (UTC) X-GW-Data: lPqxHiMPbJw1wb7CM9QUryAGzr0yq5atzVDdxTR0iA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1671809524; bh=uo/xsVnttb2jWkDE2U/ni1nHRBdoNN4e9lSz511tlT0=; h=Date:To:Cc:References:From:Subject:In-Reply-To:From; b=Tc86R6GdkvF4nuPGhsXBNccpcC1mtUiG1cUS3eWvgaFYsl70o1jvR0Btum7kzg45o SSCqxjxraGVHYtN2wJZtvKV+3x5h7oA+8CppdFUu6DA7JMWZJz9/sQyJUltWQ8A+wi Y9E5rzR/kK1b/2IXahsT2KKuwh5BREvh9xtnSDObJ4OwHC5LELOSDcnj/W5Q5aKFLe gaZxfVtprGr/zHIOpfgZT23sIupXm0k20lm554hNwXqaCc3SoMZ7eOsm7IYa5+yK7v k+fb+N0E8y4BR3sTivT5obuWoaV/q1kJSPhh9Ra5MDCySSx18Metqsmbql9XMnZZnG 0i0csUsY6ELhg== Message-ID: <7f61b046-c6f2-1dd6-98e9-e5b49b3c7dde@gnuweeb.org> Date: Fri, 23 Dec 2022 22:31:57 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Content-Language: en-US To: Greg Kroah-Hartman Cc: "Rafael J. Wysocki" , Linux Kernel Mailing List , Nathan Chancellor , Nick Desaulniers , Tom Rix , LLVM Mailing List References: <20221223145137.3786601-1-ammar.faizi@intel.com> From: Ammar Faizi Subject: Re: [PATCH v1] driver core: Silence 'unused-but-set variable' warning In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_PASS, 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 12/23/22 10:02 PM, Greg Kroah-Hartman wrote: > Ick, no, that's horrid and is NOT ok for kernel code, sorry. > > Please fix the compiler, this is not a "fix" in any sense of the word > and is not going to work at all for kernel code. Agree. Sorry for the noise. It turned out I messed up my clang compiler flags. I forgot to do a "git reset --hard" before recompiling. This has nothing todo with the upstream kernel. -- Ammar Faizi