Author: kib
Date: Sun Jan  1 11:09:51 2017
New Revision: 311006
URL: https://svnweb.freebsd.org/changeset/base/311006

Log:
  MFC r310552:
  Some style.

Modified:
  stable/11/sys/kern/kern_event.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/kern/kern_event.c
==============================================================================
--- stable/11/sys/kern/kern_event.c     Sun Jan  1 10:37:10 2017        
(r311005)
+++ stable/11/sys/kern/kern_event.c     Sun Jan  1 11:09:51 2017        
(r311006)
@@ -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-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to