From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 511E3C43334 for ; Thu, 30 Jun 2022 11:26:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233462AbiF3L0i (ORCPT ); Thu, 30 Jun 2022 07:26:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232953AbiF3L0i (ORCPT ); Thu, 30 Jun 2022 07:26:38 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5D2D4507B for ; Thu, 30 Jun 2022 04:26:37 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 8C435B82A2D for ; Thu, 30 Jun 2022 11:26:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E55D8C3411E; Thu, 30 Jun 2022 11:26:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1656588395; bh=4LR3kERKhBJjCuTNAMyf6YQeWDoIch6xgumEFksPYH4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Z7o4G9sdMZ6wAp6oh8xbjht/LrVMqik+CNAHNM4uIxPxS+dw7KHnWpplt0UqDWnjz o/uRMAMFfAGfY2VqwN3lZBeXB5NNibvKSGqDgIAyGZdtxp/Q9tZaokN4UDhCbMI53Z 1HHgS5X+EcXZ2bUgYgOnaeZ9X+txal+4BgJ7JIZc= Date: Thu, 30 Jun 2022 13:26:32 +0200 From: Greg Kroah-Hartman To: Nathan Chancellor Cc: Sasha Levin , Nick Desaulniers , Kees Cook , stable@vger.kernel.org, llvm@lists.linux.dev Subject: Re: Apply 1e70212e031528918066a631c9fdccda93a1ffaa to 5.18 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Mon, Jun 27, 2022 at 10:57:47AM -0700, Nathan Chancellor wrote: > Hi Greg and Sasha, > > Please apply commit 1e70212e0315 ("hinic: Replace memcpy() with direct > assignment") to 5.18. It fixes a warning visible when building arm64 and > x86_64 allmodconfig with clang 14 and newer (and possibly other > architectures but I didn't check). This will allow CONFIG_WERROR to > remain enabled when building arm64 and x86_64 kernels with clang on 5.15 > and 5.18 (other architectures and newer versions are getting there). > > This change shouldn't be problematic in older kernels but the warning it > fixes won't be visible without the new FORTIFY_SOURCE changes that > landed in 5.18, so I wouldn't worry about backporting it further. Now queued up, thanks. greg k-h