Index: uspace/lib/usbhid/include/usb/hid/usages/kbdgen.h
===================================================================
--- uspace/lib/usbhid/include/usb/hid/usages/kbdgen.h	(revision 7c3fb9bd77e4d2f6c10517a052e567f176fa91ee)
+++ uspace/lib/usbhid/include/usb/hid/usages/kbdgen.h	(revision a4eb3ba2b6a831a2a639dfe74c4deb2ca435b91c)
@@ -32,5 +32,5 @@
 /** @file
  * @brief USB HID key codes.
- * @details
+ *
  * This is not a typical header as by default it is equal to empty file.
  * However, by cleverly defining the USB_HIDUT_KBD_KEY you can use it
@@ -39,10 +39,11 @@
  * For example, this creates enum for known keys:
  * @code
-#define USB_HIDUT_KBD_KEY(name, usage_id, l, lc, l1, l2) \
-	USB_KBD_KEY_##name = usage_id,
-typedef enum {
-	#include <usb/hidutkbd.h>
-} usb_key_code_t;
- @endcode
+ * #define USB_HIDUT_KBD_KEY(name, usage_id, l, lc, l1, l2) \
+ *     USB_KBD_KEY_##name = usage_id,
+ *
+ * typedef enum {
+ *         #include <usb/hidutkbd.h>
+ * } usb_key_code_t;
+ * @endcode
  *
  * Maybe, it might be better that you would place such enums into separate
Index: uspace/lib/usbhid/src/hidpath.c
===================================================================
--- uspace/lib/usbhid/src/hidpath.c	(revision 7c3fb9bd77e4d2f6c10517a052e567f176fa91ee)
+++ uspace/lib/usbhid/src/hidpath.c	(revision a4eb3ba2b6a831a2a639dfe74c4deb2ca435b91c)
@@ -213,6 +213,8 @@
 
 	switch (flags) {
-	/* Path is somewhere in report_path */
 	case USB_HID_PATH_COMPARE_ANYWHERE:
+		/*
+		 * Path is somewhere in report_path
+		 */
 		if (path->depth != 1) {
 			return 1;
@@ -239,8 +241,9 @@
 
 		return 1;
-		break;
-
-	/* The paths must be identical */
+
 	case USB_HID_PATH_COMPARE_STRICT:
+		/*
+		 * The paths must be identical
+		 */
 		if (report_path->depth != path->depth) {
 			return 1;
@@ -248,6 +251,8 @@
 		/* Fallthrough */
 
-	/* Path is prefix of the report_path */
 	case USB_HID_PATH_COMPARE_BEGIN:
+		/*
+		 * Path is prefix of the report_path
+		 */
 		report_link = report_path->items.head.next;
 		path_link = path->items.head.next;
@@ -283,6 +288,8 @@
 		break;
 
-	/* Path is suffix of report_path */
 	case USB_HID_PATH_COMPARE_END:
+		/*
+		 * Path is suffix of report_path
+		 */
 		report_link = report_path->items.head.prev;
 		path_link = path->items.head.prev;
