Staging: pohmelfs: fix spaces and TAB coding style issue in net.c
This is a patch to the net.c file that fixed up a TAB and spaces Errors found by the checkpatch.pl tools, like ERROR: switch and case should be at the same indent and spaces required around that '=' (ctx:VxV) Signed-off-by: Ruslan Pisarev <ruslan@rpisarev.org.ua> Acked-by: Evgeniy Polyakov <zbr@ioremap.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
e8afd402cc
commit
c1989b36df
@@ -713,8 +713,8 @@ static int pohmelfs_crypto_cap_response(struct netfs_state *st)
|
|||||||
|
|
||||||
dprintk("%s: cipher '%s': %s, hash: '%s': %s.\n",
|
dprintk("%s: cipher '%s': %s, hash: '%s': %s.\n",
|
||||||
__func__,
|
__func__,
|
||||||
psb->cipher_string, (cap->cipher_strlen)?"SUPPORTED":"NOT SUPPORTED",
|
psb->cipher_string, (cap->cipher_strlen) ? "SUPPORTED" : "NOT SUPPORTED",
|
||||||
psb->hash_string, (cap->hash_strlen)?"SUPPORTED":"NOT SUPPORTED");
|
psb->hash_string, (cap->hash_strlen) ? "SUPPORTED" : "NOT SUPPORTED");
|
||||||
|
|
||||||
if (!cap->hash_strlen) {
|
if (!cap->hash_strlen) {
|
||||||
if (psb->hash_strlen && psb->crypto_fail_unsupported)
|
if (psb->hash_strlen && psb->crypto_fail_unsupported)
|
||||||
@@ -774,7 +774,7 @@ static int pohmelfs_getxattr_response(struct netfs_state *st)
|
|||||||
m = pohmelfs_mcache_search(psb, cmd->id);
|
m = pohmelfs_mcache_search(psb, cmd->id);
|
||||||
|
|
||||||
dprintk("%s: id: %llu, gen: %llu, err: %d.\n",
|
dprintk("%s: id: %llu, gen: %llu, err: %d.\n",
|
||||||
__func__, cmd->id, (m)?m->gen:0, error);
|
__func__, cmd->id, (m) ? m->gen : 0, error);
|
||||||
|
|
||||||
if (!m) {
|
if (!m) {
|
||||||
printk("%s: failed to find getxattr cache entry: id: %llu.\n", __func__, cmd->id);
|
printk("%s: failed to find getxattr cache entry: id: %llu.\n", __func__, cmd->id);
|
||||||
@@ -824,7 +824,7 @@ int pohmelfs_data_lock_response(struct netfs_state *st)
|
|||||||
m = pohmelfs_mcache_search(psb, id);
|
m = pohmelfs_mcache_search(psb, id);
|
||||||
|
|
||||||
dprintk("%s: id: %llu, gen: %llu, err: %d.\n",
|
dprintk("%s: id: %llu, gen: %llu, err: %d.\n",
|
||||||
__func__, cmd->id, (m)?m->gen:0, err);
|
__func__, cmd->id, (m) ? m->gen : 0, err);
|
||||||
|
|
||||||
if (!m) {
|
if (!m) {
|
||||||
pohmelfs_data_recv(st, st->data, cmd->size);
|
pohmelfs_data_recv(st, st->data, cmd->size);
|
||||||
@@ -915,7 +915,7 @@ static int pohmelfs_recv(void *data)
|
|||||||
unsigned char *hash = e->data;
|
unsigned char *hash = e->data;
|
||||||
|
|
||||||
dprintk("%s: received hash: ", __func__);
|
dprintk("%s: received hash: ", __func__);
|
||||||
for (i=0; i<cmd->csize; ++i)
|
for (i = 0; i < cmd->csize; ++i)
|
||||||
printk("%02x ", hash[i]);
|
printk("%02x ", hash[i]);
|
||||||
|
|
||||||
printk("\n");
|
printk("\n");
|
||||||
|
Reference in New Issue
Block a user