commit | 9b28c5aea3a37dc6382a61fb65c97a9db6eeeac0 | [log] [tgz] |
---|---|---|
author | Eric Anholt <eric@anholt.net> | Thu Nov 15 17:48:53 2018 -0800 |
committer | Eric Anholt <eric@anholt.net> | Mon Nov 19 20:36:02 2018 -0800 |
tree | 286b904a1b0ed8be699b2e1ad66fe8d513ce50f1 | |
parent | e642f480b816f21448fc616f6122df5e8a6070fa [diff] |
Avoid hardcoded strlens in drmParseSubsystemType(). Having people count characters is error-prone, when we could just have a computer do it. Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>