From owner-svn-src-all@freebsd.org Wed May 9 20:05:39 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C4EA2FCA57D for ; Wed, 9 May 2018 20:05:39 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: from mail-yb0-x22d.google.com (mail-yb0-x22d.google.com [IPv6:2607:f8b0:4002:c09::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 59EED7F04B for ; Wed, 9 May 2018 20:05:39 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: by mail-yb0-x22d.google.com with SMTP id o80-v6so11444116ybc.7 for ; Wed, 09 May 2018 13:05:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=vcs+ihY+Qt0eB5wvX87g5s/aqvGpbT5mEV3lp6RzxGo=; b=IWAej0qPUxw/mtWIQz9AShOJehOYQVQt7rQ+Q9G7sD9GZpjD43uiD9z4AxSDhHfvRu mDF6LSe7//2KsfXKJfPA166fKn2r22xXsLPtJ/8w+NF1KtNUnPOgNcsg9L6Xvc6oUW/L SPZBe4rsQpMbL1JpwCP3MpUAadgUdT+9OQ5uXVIyzZuxsGFAlaG/72VBGLZJ3Te5VLcL FaFMwXQF9zi40iuzZGZV3v/wu49zsOdqfDM1FNippVEudW84s8X/0bkKlCWTAgMHPZ48 9XZG93h7Rn3TYuhUEPJzNODPET0h2TpqnIkWtTLleRJuNZiRbUdv8u12hoYu8UbvIIv0 4oEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=vcs+ihY+Qt0eB5wvX87g5s/aqvGpbT5mEV3lp6RzxGo=; b=MWZCfO2DFPIVOlsYoB0NwR90Q1+XfwOPIAY5K9c7hZpLECxyt7cHgaJLBrHg1YyozG XBAmYTGoSLo7oleGy0QYK/a30L0NiDChdYMeMOmtPKn8Dt/yQGKqZUpw+T9CTQeFw5Dz 6UeFBtkMd/58hwsI3dPKToehMMKpDYd+4sJRlZGGDUdz6LWSunu4f8UupqinDjtWnrty CEQbPXW+A3/4m4aOOk77YJ1SZofJoxa5+fvyoiCcT3xBxMCXgkKyd+BsXG9MdmD0x0vO XyRp6YQyxpzt0JlAQeoMr+mZCq4AjFBetrw68kU0f69gkHsY9RZV3GdP0NDNY+9t5Qit elqA== X-Gm-Message-State: ALKqPwf02TCMtN3JReSNiHlrWbCGctEJcQdJc2LJsFNu5AXQ6n15BosU 9D7B8vxTSg9mdLmzurQYzqPD3XqLxaPVPk0/+F36PA== X-Google-Smtp-Source: AB8JxZpdd0xUnsgKHnAKD65tCFniAKXm4AlkVL9lGLzIG38SDLuB8gv1cVFRUKu3B2PWRQs1enKyP5isra5DSneE+1A= X-Received: by 2002:a25:2e04:: with SMTP id u4-v6mr7767550ybu.199.1525896338549; Wed, 09 May 2018 13:05:38 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a25:3894:0:0:0:0:0 with HTTP; Wed, 9 May 2018 13:05:38 -0700 (PDT) In-Reply-To: <201805091411.w49EBaa6073113@repo.freebsd.org> References: <201805091411.w49EBaa6073113@repo.freebsd.org> From: Oliver Pinter Date: Wed, 9 May 2018 22:05:38 +0200 Message-ID: Subject: Re: svn commit: r333409 - in head/sys: netinet sys To: Warner Losh Cc: "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 May 2018 20:05:40 -0000 On Wednesday, May 9, 2018, Warner Losh wrote: > Author: imp > Date: Wed May 9 14:11:35 2018 > New Revision: 333409 > URL: https://svnweb.freebsd.org/changeset/base/333409 > > Log: > Minor style nits > > Use full copyright year. > Remove 'All Rights Reserved' from new file (rights holder OK'd) > Minor #ifdef motion and #endif tagging > Remove __FBSDID macro from comments > > Sponsored by: Netflix > OK'd by: rrs@ > > Modified: > head/sys/netinet/tcp_hpts.c > head/sys/netinet/tcp_hpts.h > head/sys/sys/kern_prefetch.h > > Modified: head/sys/netinet/tcp_hpts.c > ============================================================ > ================== > --- head/sys/netinet/tcp_hpts.c Wed May 9 13:53:10 2018 (r333408) > +++ head/sys/netinet/tcp_hpts.c Wed May 9 14:11:35 2018 (r333409) > @@ -1,6 +1,5 @@ > /*- > - * Copyright (c) 2016-8 > - * Netflix Inc. All rights reserved. > + * Copyright (c) 2016-2018 Netflix Inc. > * > * Redistribution and use in source and binary forms, with or without > * modification, are permitted provided that the following conditions > > Modified: head/sys/netinet/tcp_hpts.h > ============================================================ > ================== > --- head/sys/netinet/tcp_hpts.h Wed May 9 13:53:10 2018 (r333408) > +++ head/sys/netinet/tcp_hpts.h Wed May 9 14:11:35 2018 (r333409) > @@ -1,8 +1,5 @@ > -#ifndef __tcp_hpts_h__ > -#define __tcp_hpts_h__ > /*- > - * Copyright (c) 2016-8 > - * Netflix Inc. All rights reserved. > + * Copyright (c) 2016-18 Netflix Inc. Hi! Could you please use full year here, same as in the other parts of this patch? > * > * Redistribution and use in source and binary forms, with or without > * modification, are permitted provided that the following conditions > @@ -25,9 +22,12 @@ > * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF > * SUCH DAMAGE. > * > - * __FBSDID("$FreeBSD$") > + * $FreeBSD$ > */ > > +#ifndef __tcp_hpts_h__ > +#define __tcp_hpts_h__ > + > /* > * The hpts uses a 102400 wheel. The wheel > * defines the time in 10 usec increments (102400 x 10). > @@ -300,5 +300,5 @@ tcp_get_usecs(struct timeval *tv) > return (tcp_tv_to_usectick(tv)); > } > > -#endif > -#endif > +#endif /* _KERNEL */ > +#endif /* __tcp_hpts_h__ */ > > Modified: head/sys/sys/kern_prefetch.h > ============================================================ > ================== > --- head/sys/sys/kern_prefetch.h Wed May 9 13:53:10 2018 > (r333408) > +++ head/sys/sys/kern_prefetch.h Wed May 9 14:11:35 2018 > (r333409) > @@ -1,7 +1,5 @@ > -#ifndef __kern_prefetch_h__ > /*- > - * Copyright (c) 2016-8 > - * Netflix Inc. All rights reserved. > + * Copyright (c) 2016-2018 Netflix Inc. > * > * Redistribution and use in source and binary forms, with or without > * modification, are permitted provided that the following conditions > @@ -24,8 +22,9 @@ > * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF > * SUCH DAMAGE. > * > - * __FBSDID("$FreeBSD$") > + * $FreeBSD$ > */ > +#ifndef __kern_prefetch_h__ > #define __kern_prefetch_h__ > #ifdef _KERNEL > > @@ -39,5 +38,5 @@ kern_prefetch(const volatile void *addr, void* before) > #endif > } > > -#endif > -#endif > +#endif /* _KERNEL */ > +#endif /* __kern_prefetch_h__ */ > _______________________________________________ > svn-src-head@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/svn-src-head > To unsubscribe, send any mail to "svn-src-head-unsubscribe@freebsd.org" >