]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/commitdiff
fiq_debugger: fix type mismatch in argument
authorBo Yan <byan@nvidia.com>
Wed, 29 Oct 2014 17:31:19 +0000 (10:31 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 19 Mar 2015 03:19:02 +0000 (20:19 -0700)
The second argument of function pointer "fiq" in fiq_glue_handler
is declared as  "void *", but function, fiq_debugger_fiq, which is
assigned to that function pointer later on, has a different function
signature. Fix the function pointer declaration to make them
consistent.

Change-Id: I246fa1ef9a609c810ab562e45814803c85185968
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/591322
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
include/linux/fiq_glue.h

index 6f1726634a763f9fe38543b3a07d2b9b0d44f461..2b616779824a2800c6d74232e14ca6fd518292ef 100644 (file)
@@ -16,7 +16,8 @@
 #define _LINUX_FIQ_GLUE_H
 
 struct fiq_glue_handler {
-       void (*fiq)(struct fiq_glue_handler *h, void *regs, void *svc_sp);
+       void (*fiq)(struct fiq_glue_handler *h, const struct pt_regs *regs,
+                       void *svc_sp);
        void (*resume)(struct fiq_glue_handler *h);
 };
 typedef void (*fiq_return_handler_t)(void);