Remove any extra spacing as reported by checkpatch.
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
return 0;
if (pattern == LST_BRW_CHECK_SIMPLE) {
- data = *((__u64 *) addr);
+ data = *((__u64 *)addr);
if (data != magic)
goto bad_data;
addr += PAGE_CACHE_SIZE - BRW_MSIZE;
- data = *((__u64 *) addr);
+ data = *((__u64 *)addr);
if (data != magic)
goto bad_data;
if (pattern == LST_BRW_CHECK_FULL) {
for (i = 0; i < PAGE_CACHE_SIZE / BRW_MSIZE; i++) {
- data = *(((__u64 *) addr) + i);
+ data = *(((__u64 *)addr) + i);
if (data != magic)
goto bad_data;
}
grp->grp_ref = 1;
if (name) {
- if (strlen(name) > sizeof(grp->grp_name)-1) {
+ if (strlen(name) > sizeof(grp->grp_name) - 1) {
LIBCFS_FREE(grp, offsetof(lstcon_group_t,
grp_ndl_hash[LST_NODE_HASHSIZE]));
return -E2BIG;
lstcon_group_t *grp;
int rc;
- rc = lstcon_group_find(name, &grp) ? 0: -EEXIST;
+ rc = lstcon_group_find(name, &grp) ? 0 : -EEXIST;
if (rc) {
/* find a group with same name */
lstcon_group_decref(grp);
console_session.ses_timeout = (timeout <= 0) ?
LST_CONSOLE_TIMEOUT : timeout;
- if (strlen(name) > sizeof(console_session.ses_name)-1)
+ if (strlen(name) > sizeof(console_session.ses_name) - 1)
return -E2BIG;
strncpy(console_session.ses_name, name,
sizeof(console_session.ses_name));
srpc_client_rpc_t *
sfw_create_rpc(lnet_process_id_t peer, int service,
unsigned features, int nbulkiov, int bulklen,
- void (*done) (srpc_client_rpc_t *), void *priv);
+ void (*done)(srpc_client_rpc_t *), void *priv);
int sfw_create_test_rpc(sfw_test_unit_t *tsu,
lnet_process_id_t peer, unsigned features,
int nblk, int blklen, srpc_client_rpc_t **rpc);
struct stt_timer {
struct list_head stt_list;
time64_t stt_expires;
- void (*stt_func) (void *);
+ void (*stt_func)(void *);
void *stt_data;
};