Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp3420226ybh; Mon, 16 Mar 2020 23:16:05 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuh34MMJWPyA/EotVpXvvI504kuSnAWOFdxwolhul0X99sIo7cMu1vtXc7vFTBzfEMFJdeU X-Received: by 2002:aca:534d:: with SMTP id h74mr2219028oib.173.1584425765579; Mon, 16 Mar 2020 23:16:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584425765; cv=none; d=google.com; s=arc-20160816; b=z6QiXPndf7o0C+56AwtvVoNPYVNFflpqYb9lgt2M46WNB4rl3AxrUKsdVzhm1fPZTH wzf8b6S5VCtGPjntBYsiMz32xraOAoQ6KF8a1nI7QPSblMMDQuS+/2lRdPQaOkKDTe6c OeCQLNmOu+1UWyHfqCj5e3iCCLrtpc8TgnpBRrUhB0zyNFvIYUAIGfAKP3fp6YIyHZrh tq4vlznPF1nvfMF0mbNTKuGqPAKRLxWwe5p9NVSC5iQE/HYBcvvt2YNCSfVRKid1fY+h sjpKtN6WRnbXVYgEtSq2Zr6W4LSkYiTl/uYxBG0L0OGx5wQTqfxiMJ/uJBNkLraBVdeJ +4Xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=vOZIH8F64Sc67v6hbXriJW6HY6fOk7Q348T3idirB4M=; b=mT4EoFagvRVGQrGFgPOEfYci7kpwdMPSJztjaxyGY7q243zPoBUkYE5m47rBrbDtMp tOQE6j8HO/pmATuhdyMN2CKpKvhC3YNzJ23D5fGjk//xCvdVaICGkf+U4obEATCQAENb vfgU39KrVaMgJOkw1fgwNIDbcoUJsrHzGxDHxfqbsadGMzfDigc9Sd+cS11NDROuTkVJ U/RJ9u1Rsisl6ycSAOpe8O3YwiCLUttyrWcPVFf8oFIVRVLFKzNhd8STlVJvAnoyFm3a WPVIVBEwO4Kfl1/Jw4Qz5cw+O1vhSVpkVLCw2O8198jyh0PxwIauHyU2njRLHc4eLbk7 N/1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=YyhSSbWQ; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 18si1195033oin.182.2020.03.16.23.15.39; Mon, 16 Mar 2020 23:16:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=YyhSSbWQ; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725870AbgCQGPh (ORCPT + 99 others); Tue, 17 Mar 2020 02:15:37 -0400 Received: from mail-wm1-f50.google.com ([209.85.128.50]:52215 "EHLO mail-wm1-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725730AbgCQGPh (ORCPT ); Tue, 17 Mar 2020 02:15:37 -0400 Received: by mail-wm1-f50.google.com with SMTP id a132so20092925wme.1 for ; Mon, 16 Mar 2020 23:15:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id; bh=vOZIH8F64Sc67v6hbXriJW6HY6fOk7Q348T3idirB4M=; b=YyhSSbWQBWDhXSE1PRpQe0l/+QCff5YLfGrRYiwyHSWTP9uzdyypVAuIaL3qq+d/8g EwGiMWAQY8JCvMsT2WRTUojwHYvcRIJ/24WnscisMMIg1RJyqq9TbNjZ4I04D/fyuDv9 hIm9SQ/K9BxOvGftfllOejo78+TeiFAXl5vyU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=vOZIH8F64Sc67v6hbXriJW6HY6fOk7Q348T3idirB4M=; b=HXBP125+T75zDdSwwbVN9cXu6GyJnfUnTA5hz2FNBHEBx3U88CCYF63WFS0FU62ppH 5u6DneQjtaAJwU7DoyGpd/jLfzeIVFNQ6PssWkwoQxzBuf8Qnmk2hIQ6KIeujwD6j82I Dgjqfof4SCK97P+HxKGKiirEOGGkASYaBVl6zFHW+nzCvp6p7ZgQsjFUsxRa+2CQvtUG 8D5NTeSkntLOW/r8gZku71vUy2d9cAvx4LWbu9ZsOPaIOBCjeOgxukKPsiY0K6wVA+ZB u6KhUnwXcOxUPyk0r2sQwhBzCHl0lZr8H87ZJ+N1My537H5f3fVxhmQitwd0k6Hdte/Q 6OoA== X-Gm-Message-State: ANhLgQ3dBtW1hcE8Cxdox8GSi/F6ie3dh0japufpw0ayxWDLiNI64cmb lUMz4Qo+8IBs5ZEy4ik+/02mhQ== X-Received: by 2002:a1c:ba85:: with SMTP id k127mr3091197wmf.63.1584425734805; Mon, 16 Mar 2020 23:15:34 -0700 (PDT) Received: from rayagonda.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id o5sm2658096wmb.8.2020.03.16.23.15.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Mar 2020 23:15:34 -0700 (PDT) From: Rayagonda Kokatanur To: Dan Williams , Herbert Xu , "David S . Miller" , Allison Randal , Kate Stewart , Thomas Gleixner , Greg Kroah-Hartman , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Rayagonda Kokatanur Subject: [PATCH v1 0/2] Remove BUG_ON() and fix -ve array indexing Date: Tue, 17 Mar 2020 11:45:20 +0530 Message-Id: <20200317061522.12685-1-rayagonda.kokatanur@broadcom.com> X-Mailer: git-send-email 2.17.1 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org This patch series contains following changes, 1. Avoid use of BUG_ON to prevent kernel crash and return error instead. 2. Fix possible negative array indexing Rayagonda Kokatanur (2): async_tx: return error instead of BUG_ON async_tx: fix possible negative array indexing crypto/async_tx/async_raid6_recov.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) -- 2.17.1