Staging: lustre: osc: Space prohibited between function name and open parenthesis
authorShraddha Barke <shraddha.6596@gmail.com>
Fri, 4 Sep 2015 06:38:49 +0000 (12:08 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Sep 2015 01:24:49 +0000 (18:24 -0700)
This patch fixes the checkpatch.pl warning:

WARNING: space prohibited between function name and open parenthesis '('

Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/osc/osc_request.c

index cf2739ccbc0483afa7294ee9af9dbc0570ae8a6b..114c5508a0a09804076f91b5d13de346aa3030c2 100644 (file)
@@ -433,7 +433,7 @@ int osc_setattr_async_base(struct obd_export *exp, struct obd_info *oinfo,
                req->rq_interpret_reply =
                        (ptlrpc_interpterer_t)osc_setattr_interpret;
 
-               CLASSERT (sizeof(*sa) <= sizeof(req->rq_async_args));
+               CLASSERT(sizeof(*sa) <= sizeof(req->rq_async_args));
                sa = ptlrpc_req_async_args(req);
                sa->sa_oa = oinfo->oi_oa;
                sa->sa_upcall = upcall;
@@ -575,7 +575,7 @@ int osc_punch_base(struct obd_export *exp, struct obd_info *oinfo,
        ptlrpc_request_set_replen(req);
 
        req->rq_interpret_reply = (ptlrpc_interpterer_t)osc_setattr_interpret;
-       CLASSERT (sizeof(*sa) <= sizeof(req->rq_async_args));
+       CLASSERT(sizeof(*sa) <= sizeof(req->rq_async_args));
        sa = ptlrpc_req_async_args(req);
        sa->sa_oa = oinfo->oi_oa;
        sa->sa_upcall = upcall;
@@ -600,7 +600,7 @@ static int osc_sync_interpret(const struct lu_env *env,
 
        body = req_capsule_server_get(&req->rq_pill, &RMF_OST_BODY);
        if (body == NULL) {
-               CERROR ("can't unpack ost_body\n");
+               CERROR("can't unpack ost_body\n");
                rc = -EPROTO;
                goto out;
        }
@@ -1100,7 +1100,7 @@ static void handle_short_read(int nob_read, u32 page_count,
 
        /* skip bytes read OK */
        while (nob_read > 0) {
-               LASSERT (page_count > 0);
+               LASSERT(page_count > 0);
 
                if (pga[i]->count > nob_read) {
                        /* EOF inside this page */
@@ -1571,7 +1571,7 @@ static int osc_brw_fini_request(struct ptlrpc_request *req, int rc)
        }
 
        if (rc != req->rq_bulk->bd_nob_transferred) {
-               CERROR ("Unexpected rc %d (%d transferred)\n",
+               CERROR("Unexpected rc %d (%d transferred)\n",
                        rc, req->rq_bulk->bd_nob_transferred);
                return -EPROTO;
        }