[ovs-git] [openvswitch/ovs] d6ec6c: checkpatch: Omit some checks on comment lines.

GitHub noreply at github.com
Thu Jun 1 14:30:01 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: d6ec6c108a9f78f123ba1bbcfcf57365adb87e3c
      https://github.com/openvswitch/ovs/commit/d6ec6c108a9f78f123ba1bbcfcf57365adb87e3c
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2017-06-01 (Thu, 01 Jun 2017)

  Changed paths:
    M utilities/checkpatch.py

  Log Message:
  -----------
  checkpatch: Omit some checks on comment lines.

Comments are more freeform than code, so this patch tries to ignore many
checks on comment lines.  It assumes that any line that begins with "/*"
or "* " is a comment line.  (Without a following space, "*" might be
something like "*x = 1;".)

Suggested-by: Joe Stringer <joe at ovn.org>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Aaron Conole <aconole at redhat.com>




More information about the git mailing list