From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fhigh-b8-smtp.messagingengine.com (fhigh-b8-smtp.messagingengine.com [202.12.124.159]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4D354320CB6 for ; Fri, 26 Dec 2025 13:12:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.159 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766754774; cv=none; b=iCbq2oK30A1O+IA4mqiY1XaQR+3FUURWmoiKxU4qgGQLfhkf1WjS03w6P6aXUkeB4Ykw3h+H6W8q1it1qZh1cmxc6iFWEj50BWxXvsQogHPt7oHQ46dKCdDvH9TqaX3JD/B2DyLhUxQKVjZla5JkZcS/tYchhz0lS7dUVgCdrSM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766754774; c=relaxed/simple; bh=f9G5cd+DnTAtpxgNB7bVp3tC1pm7IzOBEmt8hs4GHL8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Ya94M0AioIq8ZGsacI6cFvM1TpwfGMdYxxkPSm/ifgPd/tRj/cEtBlrwUCyDEQeipIhfE0hJCpt14FLjI8ohPvPmppKzpVSeZSPFBepiUbx2Q6Rf3FN/uL2WSFlsQ6BO2vM5K2iYgP7LgJbctEvm0farvBEPfi7A7lAA8yakc9g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sakamocchi.jp; spf=pass smtp.mailfrom=sakamocchi.jp; dkim=pass (2048-bit key) header.d=sakamocchi.jp header.i=@sakamocchi.jp header.b=K4A5x3t/; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=imQmz6vF; arc=none smtp.client-ip=202.12.124.159 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sakamocchi.jp Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sakamocchi.jp Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sakamocchi.jp header.i=@sakamocchi.jp header.b="K4A5x3t/"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="imQmz6vF" Received: from phl-compute-03.internal (phl-compute-03.internal [10.202.2.43]) by mailfhigh.stl.internal (Postfix) with ESMTP id 4335E7A006A; Fri, 26 Dec 2025 08:12:49 -0500 (EST) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-03.internal (MEProxy); Fri, 26 Dec 2025 08:12:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakamocchi.jp; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm1; t=1766754769; x=1766841169; bh=Oq7hNBJavDd7H1kbBqAHdc8emxTbM5vn CPrdYut2e0s=; b=K4A5x3t/naqDVkiFlPjAPyf5KDwKiJMMJBAgYVBh+gpfrtc6 wNUmFyQmUaUP4Aru9TyJu8EYuDjW0W9N6cSV1OZRezCjTZvwiiuHWYT/4YK0Gg67 o+/4TVM5K/Z5sMTVTPU58v8LwO6QU2a9DfrCJFH2bhDEE0wPefgYmAlwP/mDsNBP zFZSWP/cYAMUlVoGlKhZkBhoRM22DpXStHYxRLAxfrDL5jrqvlmjUBrhSeEc3Jx/ KaRZCtitKlg+nVARvytvUD93NM0Oy36GG0mpoCpMtHeZN6f24tnakKIbV5fq51dL hPldRoQ7L+uffajUsYZQ5wudl6gf4dgGR8M6qw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1766754769; x= 1766841169; bh=Oq7hNBJavDd7H1kbBqAHdc8emxTbM5vnCPrdYut2e0s=; b=i mQmz6vFnD1IqZ1+qm2tXZ/ous1SRwuBArD0EV914tFYHWz2fy0zf7PUZtay1epf7 SODs9wuPNcIgY8hfnFd3n6EZZevMoX3QQm6gsHsRzmsZ1bTYGO6m7k+dvDG5BpmE hvHz3J1JXAyJg6zkw3ATGtBZwpVvuJP6qYYEHxkAOin6r3+oUIxkPADLxoWiEH+d 3brUC7r9hyO3SzXCq2OpcJp4+c3Pd758xwSTpKLBvMsO8R8+yEcuCaQRqu8S9KgW nFgPsRPIqk0n0T+SaqhkM/pSDKiRslcENpr9MXHW4Pg3sUrxFTp+nXF0oH+YmFVu CCrGt5I+rZ6ss91nIRtxQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdeikeehhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpeffhffvvefukfhfgggtugfgjgesthekredttddtudenucfhrhhomhepvfgrkhgrshhh ihcuufgrkhgrmhhothhouceoohdqthgrkhgrshhhihesshgrkhgrmhhotggthhhirdhjph eqnecuggftrfgrthhtvghrnhepgeejteekhfejteeiffelleffhefgieffkefhleeujeff keeiuedvieegfeffieelnecuffhomhgrihhnpehkvghrnhgvlhdrohhrghenucevlhhush htvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehoqdhtrghkrghshhhi sehsrghkrghmohgttghhihdrjhhppdhnsggprhgtphhtthhopeegpdhmohguvgepshhmth hpohhuthdprhgtphhtthhopehfohhurhhivghrrdhthhhomhgrshesghhmrghilhdrtgho mhdprhgtphhtthhopegthhhrihhsthhophhhvgdrjhgrihhllhgvthesfigrnhgrughooh drfhhrpdhrtghpthhtoheplhhinhhugidufeelgedquggvvhgvlheslhhishhtshdrshho uhhrtggvfhhorhhgvgdrnhgvthdprhgtphhtthhopehlihhnuhigqdhkvghrnhgvlhesvh hgvghrrdhkvghrnhgvlhdrohhrgh X-ME-Proxy: Feedback-ID: ie8e14432:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 26 Dec 2025 08:12:47 -0500 (EST) Date: Fri, 26 Dec 2025 22:12:45 +0900 From: Takashi Sakamoto To: Thomas Fourier , Christophe JAILLET Cc: linux1394-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: Re: [PATCH] firewire: nosy: Fix dma_free_coherent() size Message-ID: <20251226131245.GA92232@workstation.local> Mail-Followup-To: Thomas Fourier , Christophe JAILLET , linux1394-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org References: <20251216165420.38355-2-fourier.thomas@gmail.com> <7ffdcfff-0f2f-4563-9051-d398f3c5c6a7@wanadoo.fr> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <7ffdcfff-0f2f-4563-9051-d398f3c5c6a7@wanadoo.fr> Hi, On Tue, Dec 16, 2025 at 06:47:30PM +0100, Christophe JAILLET wrote: > Le 16/12/2025 à 17:54, Thomas Fourier a écrit : > > It looks like the buffer allocated and mapped in add_card() is done > > with size RCV_BUFFER_SIZE which is 16 KB and 4KB. > > > > Fixes: 286468210d83 ("firewire: new driver: nosy - IEEE 1394 traffic sniffer") > > Signed-off-by: Thomas Fourier > > Reviewed-by: Christophe JAILLET > > And for the records, see [1]. > > CJ > > [1]: https://lore.kernel.org/lkml/20200625191554.941614-1-christophe.jaillet@wanadoo.fr/ > > > --- > > drivers/firewire/nosy.c | 10 +++++----- > > 1 file changed, 5 insertions(+), 5 deletions(-) Applied to for-linus branch[1], with my handy modification for the place of the macro, using 'Co-developed-by' tags with all of you. I'll send it to mainline in this weekend so that it will be included in v6.19-rc3. [1] https://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394.git/log/?h=for-linus Thanks Takashi Sakamoto