[ovs-git] [openvswitch/ovs] a9e5ac: checkpatch: warn on possible bare return

GitHub noreply at github.com
Mon Aug 6 23:58:19 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: a9e5ac0f975366b433a7d12d06e9e177422a2167
      https://github.com/openvswitch/ovs/commit/a9e5ac0f975366b433a7d12d06e9e177422a2167
  Author: Bala Sankaran <bsankara at redhat.com>
  Date:   2018-08-06 (Mon, 06 Aug 2018)

  Changed paths:
    M utilities/checkpatch.py

  Log Message:
  -----------
  checkpatch: warn on possible bare return

void functions do not need to have a return statement, because
such statements are redundant. Warn the user of such instances.

An interim line check is added to allow gathering additional
context for each line that is being processed.

Signed-off-by: Bala Sankaran <bsankara at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the git mailing list