Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp1910610lqb; Mon, 27 May 2024 01:16:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXdjz7PbUWUM/gfStNHRSlq4+x0kLJ3knBAMe4okFocH6wy8sNrJEHIcT5JogOY4ISFRhWw1JF2w2JBwF9wRIdTCGLOhuGy5uUMIdzyFw== X-Google-Smtp-Source: AGHT+IFwSR30yKxWazjMSS8ctsZh70UOzSUAT5kNPvrXQX3hIiEKRlPTeeE0RBUGFf5Txyl9AlJN X-Received: by 2002:a05:620a:222a:b0:794:bbbb:768b with SMTP id af79cd13be357-794bbbb7973mr342474785a.78.1716797775694; Mon, 27 May 2024 01:16:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716797775; cv=pass; d=google.com; s=arc-20160816; b=QU9dhvF0U7+8b9MetNKsm2DXrg8MhgID5DdDrOlkZFBjZjVE1ShC/SxdRgZqMqLbuq P8+tnqXrq1AoWUQLKDMM16/yiu5qhj11ZaZStUFfeKtDvpBIQa47kGul/cdHSe1FeUqV 7EoXmm9h9zmCz/PI3+cIFn3lNcY3t2amSZ+4K+U7KoJj6kOYeYwWYE7nUvu/zDsW3Ere CGoD1Tr/Ele0W+Uo5zhblSLPoNA7VkCchLXOeiQ3DWEaKn2Q6+RsVm7MfcphWZPaxxyh m7WY17Faou17+g2X0ukwUvhillx6VZ8h+fb245rgNtpdu+PmamDO0h5KBkFiNCwWAdjl Acaw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Ti6BQ0nZTqoUPvV5Y4Ffa4XsuHRMzdkHsHYxPtpQMhU=; fh=IYNSb394wi5ApoCgcmApLtnDq6aVQPfe58BLC6SRT9s=; b=Zn4L3nUSyPxsR//OSAFhGmBG+X18ALqlL3X7xSZ6jv3UJNUQd38ilWEmCioD7JvyT3 9UTosnZf1twC7cNc1SuS4SxA/8VVjJQxiJi12lI1gmpp7Cn5od0JWiLuqXEEGP6tB72/ lM59P1aebftnrKVS3guO86aeHTbWTWcWczNRjfw+MYLzAaItdJVKMCKsnRq94NcED2U7 Hik5A29Yj6agRzMykRtRstYMxv5CSkvZupcRpF+E/GTis5W+O3NRLp3+8qANqTGHajop Rf8WQho0GXHyZjXpDgi2LqZDM+FePwyIJ6O4Ju2bJOi348Zowp9YnvMu2MGBHEe6C8Dv 7N1Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MZcbzZ9u; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-crypto+bounces-4410-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-crypto+bounces-4410-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-794abd1814asi782066985a.276.2024.05.27.01.16.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 01:16:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto+bounces-4410-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MZcbzZ9u; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-crypto+bounces-4410-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-crypto+bounces-4410-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 6CB221C20972 for ; Mon, 27 May 2024 08:16:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3FB3B3F8E2; Mon, 27 May 2024 08:16:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="MZcbzZ9u" X-Original-To: linux-crypto@vger.kernel.org Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com [209.85.208.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6ECF52AF17 for ; Mon, 27 May 2024 08:16:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716797771; cv=none; b=bwYJYTtMyDNul75B5bsKYAG47ZjC21wcPhQYaRXQqdo9g3sZ+APCjwDz7g4lLR7xOMlFITtwLiF/nr2HVaRWEYZz0uEhPcE5DZ6rUNs+NO0WSsBOYexWu7fsGaZIM3V7JrvuRcaxUZTAha0H+Vf3OiwxnTT0O89KvUzXqdrlMds= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716797771; c=relaxed/simple; bh=im+llKHRV6/OLwUXArxx3xlTY46nqAVvEgvK+7QBrq8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=AhyJSmRbedv3OU+IcRbRdjc8AzSJYVzXLTx37OttQv76kKKxZPhv0GXZCWEIRaQthBdMlDUwmKmX2ULku5ux976K1NivPIHz5oW59IOCaYY/PIFykRNtexaMQbAh/ybNsoxXdukZl7kmedg93+0M/TKg3EezENHr3LWQqfj4EAk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=MZcbzZ9u; arc=none smtp.client-ip=209.85.208.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f50.google.com with SMTP id 4fb4d7f45d1cf-578517c7ae9so3459197a12.3 for ; Mon, 27 May 2024 01:16:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716797768; x=1717402568; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=Ti6BQ0nZTqoUPvV5Y4Ffa4XsuHRMzdkHsHYxPtpQMhU=; b=MZcbzZ9uDrTLeiiGl7sQd46M4w61vd2ICl8feR1Z+7bcM/DEihU01MZ2dMtsMf1XPo lGGbCW7PBcObzPMm7xvD/WvBYwDJpf7/yYYqivQV74HsFvgI+DGtH91teVWEZM2XgE3p Z+5wKbqVxokdRMHpBjk8KQgrmtVyGWPKkvWH5zNWMjCenyXeZ0mL8ktkZ6laPaD3pwf0 o7DqIZYlOb30rUzRlrVfhCkMnxDrBdDsT3GNEA9jhakZ4XjyHIFbwvLC3WLmUaeLDa9x RG00fnRdV13MZ9YUPsS3dvAh1sZuTaQT49OZ/u5KenDufEXIOJpBi3NqhJqXBIHYuIyf Q2hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716797768; x=1717402568; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Ti6BQ0nZTqoUPvV5Y4Ffa4XsuHRMzdkHsHYxPtpQMhU=; b=kM63UbIfgV+WEZEBSwdSLmusP90Y99FsBBAOp/yABLd6hNCfH0LaUCpWeaV9G2JehQ mMj/0YcZtUd48GUYiNidbidj1yenbblf4MBRYSP9lAp64QSHKEqN/qvYyByKolaFRRxw s+6MZP0sOLJPfIsUuglrQ7XZ5rB/UnoNEW90WKE+5itrZGOA4UPeW6xIHna+Z8AwbHlK JyrQNLF1ZgSXTdTHEFEaA9n6bDyoUqAIPqNYPXyaczdZYOxKJMZ2k/qy5H4b6U+IDZsm obF4keRP1kinDQ8PsUtLqJm041jd8rXfl+ahRbq40qFpJwJomOd3x63mNT2gD9jothOY P9WA== X-Forwarded-Encrypted: i=1; AJvYcCX9Uq0VI7u9RgejoYm7+zq0pKEXjHIiDSUh9MEHY820OedK+d3vnab03eAiWACxbuM3b51ttgOkamTM13kK7fXxjKQ1pvLPi2R1HmAu X-Gm-Message-State: AOJu0Yx/9FTfsixiGE055yVAFgdQsDF0ylyO1LvGvmxQ2ebY7Y+BA3qf vSC9tF87INblrxh9dZZZUZaakxE8+Qjc8rXQ6bjoWlCXEneOxN6uxWQ/aqMCvJU= X-Received: by 2002:a50:d751:0:b0:579:e283:d2a4 with SMTP id 4fb4d7f45d1cf-579e283d715mr125928a12.36.1716797767681; Mon, 27 May 2024 01:16:07 -0700 (PDT) Received: from localhost ([102.222.70.76]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5786c0dc384sm3234417a12.75.2024.05.27.01.16.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 01:16:07 -0700 (PDT) Date: Mon, 27 May 2024 11:16:03 +0300 From: Dan Carpenter To: Lothar Rubusch Cc: herbert@gondor.apana.org.au, davem@davemloft.net, nicolas.ferre@microchip.com, alexandre.belloni@bootlin.com, claudiu.beznea@tuxon.dev, linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] crypto: atmel-sha204a - fix negated return value Message-ID: <28dfdd52-e72a-4465-af7d-7b10c635b150@moroto.mountain> References: <20240526103128.14703-1-l.rubusch@gmail.com> Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240526103128.14703-1-l.rubusch@gmail.com> On Sun, May 26, 2024 at 10:31:28AM +0000, Lothar Rubusch wrote: > Fix negated variable return value. > > Fixes: e05ce444e9e5 ("crypto: atmel-sha204a - add reading from otp zone") > Reported-by: Dan Carpenter > Closes: https://lore.kernel.org/linux-crypto/34cd4179-090e-479d-b459-8d0d35dd327d@moroto.mountain/ > Signed-off-by: Lothar Rubusch Thanks! Reviewed-by: Dan Carpenter regards, dan carpenter