From: Govindarajulu Varadarajan Date: Mon, 30 Dec 2013 12:57:33 +0000 (+0530) Subject: fix semicolon in if statement X-Git-Tag: upstream/0.20140120.123719~77 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6b5c737b3e61ea1f8e03876e730afdd5d7b9c448;p=platform%2Fcore%2Fsystem%2Fkdbus-bus.git fix semicolon in if statement Signed-off-by: Govindarajulu Varadarajan --- diff --git a/endpoint.c b/endpoint.c index 8637ff4..ea7d95d 100644 --- a/endpoint.c +++ b/endpoint.c @@ -182,7 +182,7 @@ int kdbus_ep_new(struct kdbus_bus *bus, struct kdbus_ns *ns, const char *name, /* register minor in our endpoint map */ ret = idr_alloc(&ns->idr, e, 1, 0, GFP_KERNEL); if (ret < 0) { - if (ret == -ENOSPC); + if (ret == -ENOSPC) ret = -EEXIST; mutex_unlock(&ns->lock); goto exit;