[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180110081724.GB9810@lst.de>
Date: Wed, 10 Jan 2018 09:17:24 +0100
From: Christoph Hellwig <hch@....de>
To: Joe Perches <joe@...ches.com>
Cc: Christoph Hellwig <hch@....de>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
linux-pci@...r.kernel.org, linux-media@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/3] media/ttusb-budget: remove pci_zalloc_coherent
abuse
On Tue, Jan 09, 2018 at 12:49:26PM -0800, Joe Perches wrote:
> This message doesn't make sense anymore and it might as well
> be deleted.
>
> And it might be better to use kcalloc
>
> ttusb->iso_buffer = kcalloc(FRAMES_PER_ISO_BUF * ISO_BUF_COUNT,
> ISO_FRAME_SIZE, GFP_KERNEL);
Sure.
Powered by blists - more mailing lists