Skip to content
Commit d2554f50 authored by Maxin B. John's avatar Maxin B. John Committed by Greg Kroah-Hartman
Browse files

firmware: google: fix gsmi.c build warning



Use min_t() macro instead of min() to fix a build warning:

  CC      drivers/firmware/google/gsmi.o
drivers/firmware/google/gsmi.c: In function ‘gsmi_get_variable’:
drivers/firmware/google/gsmi.c:348: warning: comparison of distinct
pointer types lacks a cast

Signed-off-by: default avatarMaxin B. John <maxin.john@gmail.com>
Acked-By: default avatarMike Waychison <mikew@google.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 5a3072be
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment