@@ -121,7 +121,6 @@
return -EINVAL;
if (args->lstio_dbg_namep) {
-
if (copy_from_user(name, args->lstio_dbg_namep,
args->lstio_dbg_nmlen))
return -EFAULT;
@@ -727,7 +726,8 @@ static int lst_test_add_ioctl(struct lstio_test_args *args)
goto out;
}
- memset(&console_session.ses_trans_stat, 0, sizeof(struct lstcon_trans_stat));
+ memset(&console_session.ses_trans_stat,
+ 0, sizeof(struct lstcon_trans_stat));
switch (opc) {
case LSTIO_SESSION_NEW:
@@ -105,7 +105,7 @@ enum {
nscheds = cfs_cpt_number(lnet_cpt_table());
lst_test_wq = kvmalloc_array(nscheds, sizeof(lst_test_wq[0]),
- GFP_KERNEL | __GFP_ZERO);
+ GFP_KERNEL | __GFP_ZERO);
if (!lst_test_wq) {
rc = -ENOMEM;
goto error;