From patchwork Fri Dec 8 18:44:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Bottomley X-Patchwork-Id: 176003 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp5649099vqy; Fri, 8 Dec 2023 10:44:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IH93cpkA2Fivx3PRgr79639+2YZF6fNhQYjNA+15a/YyoJYcQdP3X1MrJ46grr+WDjeb2K6 X-Received: by 2002:a17:902:e5cd:b0:1cf:cd31:6b85 with SMTP id u13-20020a170902e5cd00b001cfcd316b85mr493298plf.27.1702061075462; Fri, 08 Dec 2023 10:44:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702061075; cv=none; d=google.com; s=arc-20160816; b=nRabppQUXs8WPYQZJI0JFJjS66EuM00MP0dcx5JQzqpTa8KJhBqkr96SrPP0WZTq04 Cav9bfMKs9kfTBldaaIha6x1mhy3NMdpo1gkN3X0QmJZdwC0P+N1y1bOOwX/ngyFDFg2 Jbg4ExKQzMQcYc1Z1uFTMBxFcEy9QA8ASAveibnof2M6xWgw90GuOj+kNi8oSaeOIoVj LdFq0LHzvB0GBAh+Oi1Tk1TrD7jtq5HTpKiFREwo+bmNw/Hn5go37+Bvgnq3R7CwJ9Gd GLptNZuv9ibdzVMQ6pja/JslIUaEVAgI8SojjMqvl4wKd47PsEb0+YP2D4c0hxwjo2xe xDJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:date:cc:to:from:subject:message-id:dkim-signature :dkim-signature; bh=WZM2iVwMAe8eFnkutZr1sgRBej/vjSsNUIGY400ZOec=; fh=bF6hBOtsqZ0IG+YnlrEaFQ/qkylncIJARoC6oO9o4Qw=; b=hz4rKKl5P0suLSQXVgXVKeZYfGj66dKRWcrw5mLojTJklKuNMT9KU8uMMih+/mHZBV 52VLZZXewi+fJY+9+FAxLAs1V/R+s/kpaTaTY01n0iEmdKbnxxrqNX1OwpI/WzG50n15 rX1InUpFv74gFlI5poTZ9p8OQMuQ9Q7ohmMj64rsye1/2q847NFCfCCJU1gdBD97gCbX +2HoSziTEIkZ5NrRJQj4NEK/WjLuGF69rVwNFGjhYHws869t+mb81HcRpDAOQutDtewM VQ4GvQ5/5s3aGzXPEaZcw4NqNU3PSLzPSsUltgzGdA8RbuN0BbBj8BlYjI/fRZb+98e0 t4YQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hansenpartnership.com header.s=20151216 header.b=EhdL9Gsc; dkim=pass header.i=@hansenpartnership.com header.s=20151216 header.b=EhdL9Gsc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hansenpartnership.com Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id h16-20020a170902ac9000b001d0b43fe4ebsi1964988plr.611.2023.12.08.10.44.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 10:44:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@hansenpartnership.com header.s=20151216 header.b=EhdL9Gsc; dkim=pass header.i=@hansenpartnership.com header.s=20151216 header.b=EhdL9Gsc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hansenpartnership.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 2C96F81C9AF0; Fri, 8 Dec 2023 10:44:30 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233847AbjLHSoV (ORCPT + 99 others); Fri, 8 Dec 2023 13:44:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229572AbjLHSoU (ORCPT ); Fri, 8 Dec 2023 13:44:20 -0500 Received: from bedivere.hansenpartnership.com (bedivere.hansenpartnership.com [IPv6:2607:fcd0:100:8a00::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC9E211F; Fri, 8 Dec 2023 10:44:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hansenpartnership.com; s=20151216; t=1702061065; bh=qaCnYPlBMIzaa8Uz/9BoJw942PlrsJdBc0gloYteYG0=; h=Message-ID:Subject:From:To:Date:From; b=EhdL9GscnNzI6KeaYHVCqN7Y6GSEnGsVY6peYKiwYi2LS9GwEAIhXNtmGKzHF8KPd g5M9t0tfpLB+Zpz0zW2jASrBuhelKs3PjWLBPW+/+4ddg+o7ICQtHE4Bc2S6ImvEc0 3emygQYEuiZbcYRWpw1KiS8a8ZlYgP247C85u30g= Received: from localhost (localhost [127.0.0.1]) by bedivere.hansenpartnership.com (Postfix) with ESMTP id 7FCBA1281EF3; Fri, 8 Dec 2023 13:44:25 -0500 (EST) Received: from bedivere.hansenpartnership.com ([127.0.0.1]) by localhost (bedivere.hansenpartnership.com [127.0.0.1]) (amavis, port 10024) with ESMTP id W3mO3yodjRzM; Fri, 8 Dec 2023 13:44:25 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hansenpartnership.com; s=20151216; t=1702061065; bh=qaCnYPlBMIzaa8Uz/9BoJw942PlrsJdBc0gloYteYG0=; h=Message-ID:Subject:From:To:Date:From; b=EhdL9GscnNzI6KeaYHVCqN7Y6GSEnGsVY6peYKiwYi2LS9GwEAIhXNtmGKzHF8KPd g5M9t0tfpLB+Zpz0zW2jASrBuhelKs3PjWLBPW+/+4ddg+o7ICQtHE4Bc2S6ImvEc0 3emygQYEuiZbcYRWpw1KiS8a8ZlYgP247C85u30g= Received: from lingrow.int.hansenpartnership.com (unknown [IPv6:2601:5c4:4302:c21::a774]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) by bedivere.hansenpartnership.com (Postfix) with ESMTPSA id C6FA312817A4; Fri, 8 Dec 2023 13:44:24 -0500 (EST) Message-ID: <04e6cd5c53b77f7cf01df448525709f1eb7b7712.camel@HansenPartnership.com> Subject: [GIT PULL] SCSI fixes for 6.7-rc4 From: James Bottomley To: Andrew Morton , Linus Torvalds Cc: linux-scsi , linux-kernel Date: Fri, 08 Dec 2023 13:44:22 -0500 User-Agent: Evolution 3.42.4 MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Fri, 08 Dec 2023 10:44:30 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784740393742606414 X-GMAIL-MSGID: 1784740393742606414 One tiny fix to the be2iscsi driver fixing a memory leak in an error leg. The patch is available here: git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes The short changelog is: Dinghao Liu (1): scsi: be2iscsi: Fix a memleak in beiscsi_init_wrb_handle() And the diffstat: drivers/scsi/be2iscsi/be_main.c | 1 + 1 file changed, 1 insertion(+) With full diff below. James diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/scsi/be2iscsi/be_main.c index e48f14ad6dfd..06acb5ff609e 100644 --- a/drivers/scsi/be2iscsi/be_main.c +++ b/drivers/scsi/be2iscsi/be_main.c @@ -2710,6 +2710,7 @@ static int beiscsi_init_wrb_handle(struct beiscsi_hba *phba) kfree(pwrb_context->pwrb_handle_base); kfree(pwrb_context->pwrb_handle_basestd); } + kfree(phwi_ctxt->be_wrbq); return -ENOMEM; }