Re: [PATCH 4/5] dma: tegra: reduce channel name field size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 22/11/2018 09:26, Jon Hunter wrote:
On Wed, Nov 21, 2018 at 4:15 PM Ben Dooks <ben.dooks@xxxxxxxxxxxxxxx> wrote:

The name field is used for "apbdma.%d" which is rarely going to be
more than 10 bytes, so reduce the size from 30 to 12. This is only
being used by the interrupt registration, so is not critical to the
operation of the driver either.

Do you mean 'never' above instead of 'rarely'? The max number of
channels is never more than 2 digits and so the change is fine with
me. So for the change ...

I've never seen a system with more than 64 channels in it, but it didn't
seem worth trying to get it below 12 anyway.


--
Ben Dooks				http://www.codethink.co.uk/
Senior Engineer				Codethink - Providing Genius

https://www.codethink.co.uk/privacy.html



[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux