[KDGDB] Fix GCC8 build
authorSylvain Deverre <deverre.sylv@gmail.com>
Fri, 1 May 2020 14:37:13 +0000 (16:37 +0200)
committerSylvain Deverre <deverre.sylv@gmail.com>
Fri, 1 May 2020 14:37:13 +0000 (16:37 +0200)
drivers/base/kdgdb/gdb_input.c

index e729beb..3b898c4 100644 (file)
@@ -22,7 +22,7 @@ UINT_PTR gdb_dbg_tid;
 
 static inline
 KDSTATUS
-LOOP_IF_SUCCESS(x)
+LOOP_IF_SUCCESS(int x)
 {
     return (x == KdPacketReceived) ? (KDSTATUS)-1 : x;
 }