From 3d336c5b832093b297a5a91be7ede3469cd9096b Mon Sep 17 00:00:00 2001 From: Nishant Chaprana Date: Tue, 16 Aug 2016 12:41:42 +0530 Subject: [PATCH] Fix coding rule issues. This patch fixes coding rule issues generated by checkpatchinit_tizen.sh. ./plugin/wpasupplicant/ctrl_iface_dbus/wfd-plugin-wpasupplicant.c:161: ERROR: [SPC_M_KWD] space required before the open parenthesis '(' ./plugin/wpasupplicant/ctrl_iface_dbus/wfd-plugin-wpasupplicant.c:1644: ERROR: [SPC_M_OPR] space required after that ',' (ctx:VxV) Change-Id: Id88f1edd29bca4256d858d4ea7e7b8db04e90eb1 Signed-off-by: Nishant Chaprana --- plugin/wpasupplicant/ctrl_iface_dbus/wfd-plugin-wpasupplicant.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/wpasupplicant/ctrl_iface_dbus/wfd-plugin-wpasupplicant.c b/plugin/wpasupplicant/ctrl_iface_dbus/wfd-plugin-wpasupplicant.c index cc9fdaf..2508f6e 100644 --- a/plugin/wpasupplicant/ctrl_iface_dbus/wfd-plugin-wpasupplicant.c +++ b/plugin/wpasupplicant/ctrl_iface_dbus/wfd-plugin-wpasupplicant.c @@ -158,7 +158,7 @@ static ws_dbus_plugin_data_s *g_pd; do {\ if (g_pd->callback)\ g_pd->callback(user_data, event);\ - } while(0) + } while (0) static int is_peer_joined_notified = 0; static int is_peer_disconnected_notified = 0; @@ -1641,7 +1641,7 @@ static void _ws_process_device_found_properties(GDBusConnection *connection, g_strlcpy(peer_path, path, DBUS_OBJECT_PATH_MAX); WDP_LOGD("Retrive Added path [%s]", peer_path); - loc = strrchr(peer_path,'/'); + loc = strrchr(peer_path, '/'); if (loc != NULL) __ws_mac_compact_to_normal(loc + 1, peer_dev); __ws_txt_to_mac(peer_dev, event.dev_addr); -- 2.7.4