All of lore.kernel.org
 help / color / mirror / Atom feed
From: Doug Ledford <dledford@redhat.com>
To: Zwane Mwaikambo <zwane@linuxpower.ca>, Dale Amon <amon@vnl.com>,
	linux-kernel@vger.kernel.org, Frank Davis <fdavis@si.rr.com>
Subject: Re: 2.5.26 : drivers/scsi/BusLogic.c
Date: Thu, 18 Jul 2002 21:19:36 -0400	[thread overview]
Message-ID: <20020718211936.C28235@redhat.com> (raw)
In-Reply-To: <20020718210340.A28235@redhat.com>; from dledford@redhat.com on Thu, Jul 18, 2002 at 09:03:40PM -0400

[-- Attachment #1: Type: text/plain, Size: 304 bytes --]

There was a bug in the patch I sent through last.  This patch should be 
applied on top of the last one to solve a memory leak on unloading of the 
module.



-- 
  Doug Ledford <dledford@redhat.com>     919-754-3700 x44233
         Red Hat, Inc. 
         1801 Varsity Dr.
         Raleigh, NC 27606
  

[-- Attachment #2: BusLogic-2.patch --]
[-- Type: text/plain, Size: 930 bytes --]

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#	           ChangeSet	1.740   -> 1.741  
#	drivers/scsi/BusLogic.c	1.7     -> 1.8    
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/07/18	dledford@perf50.perf.redhat.com	1.741
# BusLogic.c:
#   DMA Mapping API update, part 2
# --------------------------------------------
#
diff -Nru a/drivers/scsi/BusLogic.c b/drivers/scsi/BusLogic.c
--- a/drivers/scsi/BusLogic.c	Thu Jul 18 21:18:46 2002
+++ b/drivers/scsi/BusLogic.c	Thu Jul 18 21:18:46 2002
@@ -300,6 +300,10 @@
 	  Last_CCB = CCB;
 	}
     }
+  if (Last_CCB)
+    pci_free_consistent(HostAdapter->PCI_Device,
+			Last_CCB->AllocationGroupSize, Last_CCB,
+		 	Last_CCB->AllocationGroupHead);
 }
 
 

  reply	other threads:[~2002-07-19  1:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-18 15:45 2.5.26 : drivers/scsi/BusLogic.c Dale Amon
2002-07-18 16:16 ` Zwane Mwaikambo
2002-07-19  1:03   ` Doug Ledford
2002-07-19  1:19     ` Doug Ledford [this message]
2002-07-19  7:18       ` Michael G. Janicki
2002-07-19  8:41     ` Zwane Mwaikambo
  -- strict thread matches above, loose matches on Subject: below --
2002-07-18 17:00 James Bottomley
2002-07-18 23:24 ` Doug Ledford
2002-07-19 14:30   ` stoffel
2002-07-20 15:14   ` Dale Amon
2002-07-25 14:32   ` Dale Amon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020718211936.C28235@redhat.com \
    --to=dledford@redhat.com \
    --cc=amon@vnl.com \
    --cc=fdavis@si.rr.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zwane@linuxpower.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.