summaryrefslogtreecommitdiff
path: root/curve_test.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2014-09-08 16:19:08 +0200
committerTobias Klauser <tklauser@distanz.ch>2014-09-08 16:19:08 +0200
commit35edaad835f4f5685e7510b0a6c574c1f138c79c (patch)
treef1440a6e94a1cd98c4d454e2312d9adb5a75d8c2 /curve_test.c
parent01056309418e2ef06b23da03f129d7490aa13d34 (diff)
flowtop: Use integer conversion to determine PID proc entries
Try to convert the directory entry name to an unsigned integer with strtoul() instead of using strspn() to determine if a proc entry is a PID. If it is a valid PID (i.e. strtoul returned a value != 0), we can directly use it to pass into walk_process() and there set flow_entry->proc_num. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'curve_test.c')
0 files changed, 0 insertions, 0 deletions
pear to be a practical need to manage regulators on ACPI systems, using ad-hoc properties to describe regulators to the kernel presents a number of problems (especially should ACPI gain first class support for such things), and there are ongoing discussions as to how to manage this. Until there is a rough consensus, revert commit 13bed58ce8748d43, which hasn't been in a released kernel yet as discussed in [1] and the surrounding thread. [1] http://lkml.kernel.org/r/20170125184949.x2wkoo7kbaaajkjk@sirena.org.uk Signed-off-by: Mark Rutland <mark.rutland@arm.com> Cc: Liam Girdwood <lgirdwood@gmail.com> Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Cc: Lu Baolu <baolu.lu@linux.intel.com> Cc: Mark Brown <broonie@kernel.org> Cc: Rafael J. Wysocki <rafael@kernel.org> Cc: linux-kernel@vger.kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/usb/host/uhci-pci.c')