Received: from gnuweeb.org (gnuweeb.org [51.81.211.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5027E8F63 for ; Fri, 23 Dec 2022 15:32:06 +0000 (UTC) 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 Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: 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 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