Author: kib
Date: Sun Dec 25 19:38:07 2016
New Revision: 310552
URL: https://svnweb.freebsd.org/changeset/base/310552

Log:
  Some style.
  
  Reviewed by:  markj
  Sponsored by: The FreeBSD Foundation
  MFC after:    1 week
  X-Differential revision:      https://reviews.freebsd.org/D8901

Modified:
  head/sys/kern/kern_event.c

Modified: head/sys/kern/kern_event.c
==============================================================================
--- head/sys/kern/kern_event.c  Sun Dec 25 17:54:23 2016        (r310551)
+++ head/sys/kern/kern_event.c  Sun Dec 25 19:38:07 2016        (r310552)
@@ -591,7 +591,7 @@ timer2sbintime(intptr_t data, int flags)
        case NOTE_SECONDS:
 #ifdef __LP64__
                if (data > (SBT_MAX / SBT_1S))
-                       return SBT_MAX;
+                       return (SBT_MAX);
 #endif
                return ((sbintime_t)data << 32);
        case NOTE_MSECONDS: /* FALLTHROUGH */
@@ -600,7 +600,7 @@ timer2sbintime(intptr_t data, int flags)
                        int64_t secs = data / 1000;
 #ifdef __LP64__
                        if (secs > (SBT_MAX / SBT_1S))
-                               return SBT_MAX;
+                               return (SBT_MAX);
 #endif
                        return (secs << 32 | MS_TO_SBT(data % 1000));
                }
@@ -610,7 +610,7 @@ timer2sbintime(intptr_t data, int flags)
                        int64_t secs = data / 1000000;
 #ifdef __LP64__
                        if (secs > (SBT_MAX / SBT_1S))
-                               return SBT_MAX;
+                               return (SBT_MAX);
 #endif
                        return (secs << 32 | US_TO_SBT(data % 1000000));
                }
@@ -620,11 +620,11 @@ timer2sbintime(intptr_t data, int flags)
                        int64_t secs = data / 1000000000;
 #ifdef __LP64__
                        if (secs > (SBT_MAX / SBT_1S))
-                               return SBT_MAX;
+                               return (SBT_MAX);
 #endif
                        return (secs << 32 | US_TO_SBT(data % 1000000000));
                }
-               return NS_TO_SBT(data);
+               return (NS_TO_SBT(data));
        default:
                break;
        }
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to