Commit 1566ac0b authored by Tobenna P. Igwe's avatar Tobenna P. Igwe Committed by Greg Kroah-Hartman

staging: unisys: uislib: Fixed missing blank line coding style issue

Fixed coding style issue "Missing a blank line after declarations"
detected by the 'checkpatch.pl' script.
Signed-off-by: default avatarTobenna P. Igwe <ptigwe@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 11c4eba1
...@@ -118,6 +118,7 @@ uisctrl_register_req_handler_ex(uuid_le switchTypeGuid, ...@@ -118,6 +118,7 @@ uisctrl_register_req_handler_ex(uuid_le switchTypeGuid,
{ {
ReqHandlerInfo_t *pReqHandlerInfo; ReqHandlerInfo_t *pReqHandlerInfo;
int rc = 0; /* assume failure */ int rc = 0; /* assume failure */
LOGINF("type=%pUL, controlfunc=0x%p.\n", LOGINF("type=%pUL, controlfunc=0x%p.\n",
&switchTypeGuid, controlfunc); &switchTypeGuid, controlfunc);
if (!controlfunc) { if (!controlfunc) {
...@@ -162,6 +163,7 @@ int ...@@ -162,6 +163,7 @@ int
uisctrl_unregister_req_handler_ex(uuid_le switchTypeGuid) uisctrl_unregister_req_handler_ex(uuid_le switchTypeGuid)
{ {
int rc = 0; /* assume failure */ int rc = 0; /* assume failure */
LOGINF("type=%pUL.\n", &switchTypeGuid); LOGINF("type=%pUL.\n", &switchTypeGuid);
if (ReqHandlerDel(switchTypeGuid) < 0) { if (ReqHandlerDel(switchTypeGuid) < 0) {
LOGERR("failed to remove %pUL from server list\n", LOGERR("failed to remove %pUL from server list\n",
...@@ -250,6 +252,7 @@ uisutil_copy_fragsinfo_from_skb(unsigned char *calling_ctx, void *skb_in, ...@@ -250,6 +252,7 @@ uisutil_copy_fragsinfo_from_skb(unsigned char *calling_ctx, void *skb_in,
if (skb_shinfo(skb)->frag_list) { if (skb_shinfo(skb)->frag_list) {
struct sk_buff *skbinlist; struct sk_buff *skbinlist;
int c; int c;
for (skbinlist = skb_shinfo(skb)->frag_list; skbinlist; for (skbinlist = skb_shinfo(skb)->frag_list; skbinlist;
skbinlist = skbinlist->next) { skbinlist = skbinlist->next) {
...@@ -307,6 +310,7 @@ ReqHandlerFind(uuid_le switchTypeGuid) ...@@ -307,6 +310,7 @@ ReqHandlerFind(uuid_le switchTypeGuid)
{ {
struct list_head *lelt, *tmp; struct list_head *lelt, *tmp;
ReqHandlerInfo_t *entry = NULL; ReqHandlerInfo_t *entry = NULL;
spin_lock(&ReqHandlerInfo_list_lock); spin_lock(&ReqHandlerInfo_list_lock);
list_for_each_safe(lelt, tmp, &ReqHandlerInfo_list) { list_for_each_safe(lelt, tmp, &ReqHandlerInfo_list) {
entry = list_entry(lelt, ReqHandlerInfo_t, list_link); entry = list_entry(lelt, ReqHandlerInfo_t, list_link);
...@@ -325,6 +329,7 @@ ReqHandlerDel(uuid_le switchTypeGuid) ...@@ -325,6 +329,7 @@ ReqHandlerDel(uuid_le switchTypeGuid)
struct list_head *lelt, *tmp; struct list_head *lelt, *tmp;
ReqHandlerInfo_t *entry = NULL; ReqHandlerInfo_t *entry = NULL;
int rc = -1; int rc = -1;
spin_lock(&ReqHandlerInfo_list_lock); spin_lock(&ReqHandlerInfo_list_lock);
list_for_each_safe(lelt, tmp, &ReqHandlerInfo_list) { list_for_each_safe(lelt, tmp, &ReqHandlerInfo_list) {
entry = list_entry(lelt, ReqHandlerInfo_t, list_link); entry = list_entry(lelt, ReqHandlerInfo_t, list_link);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment