Re: [PATCH] pinctrl: pinmux: add function selector to pinmux-functions

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

 



On Sat, Jan 23, 2021 at 10:44 PM Drew Fustini <drew@xxxxxxxxxxxxxxx> wrote:


> Patch note:
> This may seem trivial but I found myself coming up with series of pipes
> in the shell just so I could see the function selector in line with the
> function names. At first, I thought I could just pipe to 'cat -n' but
> that counts at offset 1 instead of 0.

SO advises [1] to use `nl -v0` instead.

> The only downside I can see to
> this patch would be if someone is depending on the existing format but
> I don't believe that is a concern for debugfs, right?

Debugfs is not an ABI.

[1]: https://superuser.com/a/1433656/415970

-- 
With Best Regards,
Andy Shevchenko



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

  Powered by Linux