summaryrefslogtreecommitdiff
path: root/Kbuild
diff options
context:
space:
mode:
authorStephen Boyd <swboyd@chromium.org>2018-05-19 01:47:50 +0300
committerAndy Gross <andy.gross@linaro.org>2018-09-24 07:28:00 +0300
commit65a272642ce13aab911f68279c8994cde3282b0a (patch)
tree61a562da2afd976d44d71533f1cd09be8881261a /Kbuild
parent5b394b2ddf0347bef56e50c69a58773c94343ff3 (diff)
downloadlinux-65a272642ce13aab911f68279c8994cde3282b0a.tar.xz
soc: qcom: geni: Make version macros simpler
This macro doesn't work, because it hides a local variable inside of the macro to hold the version and that variable name is called 'ver' and 'version' sometimes. Let's change this to be more explicit. Introduce three macros for the major, minor, and step of the version, and require callers to pass the version in to get the part of the version out. This way we don't hide local variables inside macros and things are less evil overall. Cc: Karthikeyan Ramasubramanian <kramasub@codeaurora.org> Cc: Sagar Dharia <sdharia@codeaurora.org> Cc: Girish Mahadevan <girishm@codeaurora.org> Signed-off-by: Stephen Boyd <swboyd@chromium.org> Reviewed-by: Douglas Anderson <dianders@chromium.org> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Andy Gross <andy.gross@linaro.org>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions