Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1401287rwb; Thu, 1 Dec 2022 17:13:19 -0800 (PST) X-Google-Smtp-Source: AA0mqf7mQSHIjxGrJ/1jviJARUTbHAn0IqCmy4PyLvN7y4kXiokxdv+SrW4HKi6yDi5FRWRBUVdA X-Received: by 2002:a17:906:8922:b0:7bd:3aaa:466d with SMTP id fr34-20020a170906892200b007bd3aaa466dmr26648161ejc.1.1669943598943; Thu, 01 Dec 2022 17:13:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669943598; cv=none; d=google.com; s=arc-20160816; b=Yx/ptdU27T7rcxeg7JGYgAd7cNQ4IrWvAQ/JgV08Y/QN1sbPtetC1FZWhrWeBapThE AP6/f68LlOq8mKAHPGHDzfhZNll9pL+UZYYPxtKNEGdhn/31Jt23wo7ml1oDfCYvqbUP kVIAn5mc0r9Er5Tst9s6jFbDXzm+Z2ftbY1vPOAsAqEb6EOFF3wN9BUTHnzz94cnvTx+ lf6vciOpsi8C3D4oGMbXq0i9zXlq1uoZejYbp7sMqBZjJqOS4Tqx5P5SQlLnlOOS9lyN UM/u9n3kmolpN59Wo3CWJC2ccZHjzq2C67etP3vBg4oOIqwAqGjkYTp8T+sY45Zwn5mp oHdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=5gZg4mZ+Y6hG3RyPNuo5TnwMGDFqNZx0oxGGFZyG9gs=; b=SiyGsE+1d63zPL8HY0G+c1BmeseRs7QYjL5Vd7S9TnSltmdm8oM/badmugmiOv8Lo+ I4LJ+9VbbUpnC3/C2ohY6i3JNwfKd4kfS6ObcxiW2lF+PhrYosq3cmlHlpTyiGx7PKHA igiz472cEw2gBpFwhqm+JOsE7RKheh0QPxjs/4jy25pIHmlryE6aRzHvn5DlnNM041q6 DZ6uQKbstrD9W6Das9L8HG4tII8pmkAPQCc0it8lwp+2m4jhu4elv72aOhRRq5zt1O3U 97oD9EW1ChDy6ZYVpBazyJh2L3kMfliABfkByBrCL5smv/BNIOhOIA/ZXrfty472xQ+M uZ5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=s02BtCOy; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a30-20020a509ea1000000b0045961c7dde9si5388746edf.63.2022.12.01.17.12.54; Thu, 01 Dec 2022 17:13:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto-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=@linaro.org header.s=google header.b=s02BtCOy; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232192AbiLBA7x (ORCPT + 99 others); Thu, 1 Dec 2022 19:59:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229817AbiLBA7w (ORCPT ); Thu, 1 Dec 2022 19:59:52 -0500 Received: from mail-il1-x12e.google.com (mail-il1-x12e.google.com [IPv6:2607:f8b0:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0ADF2554E7 for ; Thu, 1 Dec 2022 16:59:51 -0800 (PST) Received: by mail-il1-x12e.google.com with SMTP id x13so1508794ilp.8 for ; Thu, 01 Dec 2022 16:59:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=5gZg4mZ+Y6hG3RyPNuo5TnwMGDFqNZx0oxGGFZyG9gs=; b=s02BtCOyTCmiPXAGRGmaTM96neMNIKFFywoAQ7I7mHGhCI9vdng089AXCHfdmREQm0 TNGUp11MIwXhIU4Dm+yR/TPN/GnvRN/JfLRua6ProivCGOpe1jCs/8isu98NmMC5+OWx ynAx9NSlaiuNwyvbSQ6DhjHgVoZcVsOEbuvXwQhgL7yFkX7RnxZzy1KTVTguEOsDxMTX jB55x1l97b8X9jzjsktoR4J2pZUvXymKnAYW1CAyGrJHLO9G4EOhRwfcrgWOI+0VwPcX Vl2PFvOUZd4J+yCdXvypiHAcs1+VvIeLFZEvEz7Q+LSuO9qxTQXiht0rzHJV2dWYRS2e fYsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=5gZg4mZ+Y6hG3RyPNuo5TnwMGDFqNZx0oxGGFZyG9gs=; b=fFM6xFLH4ZeoKzCnT9Zs7rakPtL4DL3fj3wOhFU+tLBNxyjntZMWg/LQjfNW4GiJdE 7f0uGcAn9NxHFpxGskCVTxhGy7qNUBCH5ljRTxo5ITmqOYHdgABIW8/CU3wF/VZjeDbn FE6iHoHfY+tK6ud0CPoiNAC2qZ7w5Xl/OGb4mCo40D7y2aHA5brSRa3nNkqOPunR2MqS hWkvffdAdHlHjMnPZ4Z0RVk5nyGUEjHi2i8B2TCL16fWWi6Z73YowoYfpcHgKAp+QlQq jC5VqoZzdlLwh8H0xpjJVkxvREktfLmMY5bja/ZZfJIY0D8rIXn6m7K4Yi+sNdvGgK2O hBCA== X-Gm-Message-State: ANoB5pm4i+QfW8HARAqvD/iC4lXscwjgUw5U8M0+SFjLUp1oXKxyvWIV uTbkiW6SofVEGlKUePq2RIDuH0nw2GTQqEsALhGSCA== X-Received: by 2002:a05:6e02:216a:b0:303:129a:8157 with SMTP id s10-20020a056e02216a00b00303129a8157mr11125353ilv.38.1669942790467; Thu, 01 Dec 2022 16:59:50 -0800 (PST) MIME-Version: 1.0 References: <20221028210527.never.934-kees@kernel.org> <20221201115244.GC69385@mutt> In-Reply-To: From: Anders Roxell Date: Fri, 2 Dec 2022 01:59:39 +0100 Message-ID: Subject: Re: [PATCH] crypto/caam: Avoid GCC constprop bug warning To: Herbert Xu Cc: Kees Cook , =?UTF-8?Q?Horia_Geant=C4=83?= , Pankaj Gupta , Gaurav Jain , "David S. Miller" , linux-crypto@vger.kernel.org, kernel test robot , linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,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-crypto@vger.kernel.org On Thu, 1 Dec 2022 at 13:10, Herbert Xu wrote: > > On Thu, Dec 01, 2022 at 12:52:44PM +0100, Anders Roxell wrote: > . > > I think that was fixed in sparse release v0.5.1 [1]. The workaround 'if > > (len)' was introduced back in 2011, and the sparse release v0.5.1 was > > done in 2017. So it should probably be safe to remove the 'if (len)' or > > what do you think? > > Could you please send a patch? :) Please ignore my previous email... since its not the 'if (len)' statement that GCC comlains about. Cheers, Anders > > Thanks, > -- > Email: Herbert Xu > Home Page: http://gondor.apana.org.au/~herbert/ > PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt