public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [XFS updates] XFS development tree branch, xfs-coccinelle-cleanups, created. v3.18-rc2-4-gd254aae
@ 2014-12-01  0:30 xfs
  0 siblings, 0 replies; only message in thread
From: xfs @ 2014-12-01  0:30 UTC (permalink / raw)
  To: xfs

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "XFS development tree".

The branch, xfs-coccinelle-cleanups has been created
        at  d254aaec5d1aa2997dad035db340c298eaa8d089 (commit)

- Log -----------------------------------------------------------------
commit d254aaec5d1aa2997dad035db340c298eaa8d089
Author: kbuild test robot <fengguang.wu@intel.com>
Date:   Mon Dec 1 08:42:52 2014 +1100

    xfs: fix simple_return.cocci warning in xfs_bmse_shift_one
    
    fs/xfs/libxfs/xfs_bmap.c:5591:1-6: WARNING: end returns can be simpified
    
     Simplify a trivial if-return sequence.  Possibly combine with a
     preceding function call.
    Generated by: scripts/coccinelle/misc/simple_return.cocci
    
    CC: Brian Foster <bfoster@redhat.com>
    Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>

commit 8300475ebf03a54ec3c56b6b808ccbd9e1bc320d
Author: kbuild test robot <fengguang.wu@intel.com>
Date:   Mon Dec 1 08:25:28 2014 +1100

    xfs: fix simple_return.cocci warning in xfs_file_readdir
    
    fs/xfs/xfs_file.c:919:1-6: WARNING: end returns can be simpified and declaration on line 902 can be dropped
    
     Simplify a trivial if-return sequence.  Possibly combine with a
     preceding function call.
    Generated by: scripts/coccinelle/misc/simple_return.cocci
    
    Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
    Reviewed-by: Dave Chinner <dchinner@redhat.com>
    Signed-off-by: Dave Chinner <david@fromorbit.com>

commit b72091f2fb28fb9e2746010b54d6cc3c27924e6c
Author: kbuild test robot <fengguang.wu@intel.com>
Date:   Mon Dec 1 08:24:58 2014 +1100

    libxfs: fix simple_return.cocci warnings
    
    fs/xfs/libxfs/xfs_ialloc.c:1141:1-6: WARNING: end returns can be simpified
    
     Simplify a trivial if-return sequence.  Possibly combine with a
     preceding function call.
    Generated by: scripts/coccinelle/misc/simple_return.cocci
    
    Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
    Reviewed-by: Dave Chinner <dchinner@redhat.com>
    Signed-off-by: Dave Chinner <david@fromorbit.com>

commit d2a5e3c6fccb25234a594bacb056e0b3974faf49
Author: Markus Elfring <elfring@users.sourceforge.net>
Date:   Mon Dec 1 08:24:20 2014 +1100

    xfs: remove unnecessary null checks
    
    The functions xfs_blkdev_put() and xfs_qm_dqrele() test whether
    their argument is NULL and then return immediately.  Thus the test
    around the call is not needed.
    
    This issue was detected by using the Coccinelle software.
    
    Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
    Reviewed-by: Dave Chinner <dchinner@redhat.com>
    Signed-off-by: Dave Chinner <david@fromorbit.com>

-----------------------------------------------------------------------


hooks/post-receive
-- 
XFS development tree

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-12-01  0:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-01  0:30 [XFS updates] XFS development tree branch, xfs-coccinelle-cleanups, created. v3.18-rc2-4-gd254aae xfs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox