summaryrefslogtreecommitdiff
path: root/staging/mops_dot1Q.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 /staging/mops_dot1Q.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 'staging/mops_dot1Q.c')
0 files changed, 0 insertions, 0 deletions
add a script to check if Documentation/00-INDEX is sane Docs: change sh -> awk in REPORTING-BUGS Documentation/core-api/device_link: Add initial documentation core-api: remove an unexpected unident ppc/idle: Add documentation for powersave=off Doc: Correct typo, "Introdution" => "Introduction" Documentation/atomic_ops.txt: convert to ReST markup Documentation/local_ops.txt: convert to ReST markup Documentation/assoc_array.txt: convert to ReST markup docs-rst: parse-headers.pl: cleanup the documentation docs-rst: fix media cleandocs target docs-rst: media/Makefile: reorganize the rules docs-rst: media: build SVG from graphviz files docs-rst: replace bayer.png by a SVG image ...
Diffstat (limited to 'include/linux/hwspinlock.h')