Searched hist:"2 ca46ed207d5d4e3c7a183fe11e8a2d02f86e7c6" (Results 1 – 1 of 1) sorted by relevance
/linux/scripts/ |
H A D | ver_linux | diff 2ca46ed207d5d4e3c7a183fe11e8a2d02f86e7c6 Sat Jan 05 18:09:23 CET 2019 Alexander Kapshuk <alexander.kapshuk@gmail.com> ver_linux: Assign constant RE to variable name for clarity
The regular expression that matches the version number of a utility being queried is used as a constant expression in the current implementation. Assigning the RE in question to a variable gives it a meaningful name that clearly expresses the intended use of the expression without having to think about the details of implementation.
Signed-off-by: Alexander Kapshuk <alexander.kapshuk@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|