[PATCH] staging: lustre: ldlm: Fix extern variable declaration

2016-09-23 Thread Imre Deak
From: Imre Deak Move the extern declaration to a header file common to all users of the variable. This fixes the following sparse warning: symbol 'ldlm_cancel_unused_locks_before_replay' was not declared. Should it be static? Signed-off-by: Imre Deak --- drivers/staging/lustre/l

[PATCH] staging: gdm724x: gdm_lte: Constify gdm_netdev_ops

2016-09-11 Thread Imre Deak
Fix the following checkpatch.pl warning: WARNING: struct net_device_ops should normally be const +static struct net_device_ops gdm_netdev_ops = { Signed-off-by: Imre Deak --- drivers/staging/gdm724x/gdm_lte.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging