xfs
[Top] [All Lists]

PARTIAL TAKE 968555 - sparse fixes for 2.6.23

To: sgi.bugs.xfs@xxxxxxxxxxxx
Subject: PARTIAL TAKE 968555 - sparse fixes for 2.6.23
From: dgc@xxxxxxx (David Chinner)
Date: Thu, 2 Aug 2007 17:40:18 +1000 (EST)
Cc: xfs@xxxxxxxxxxx
Sender: xfs-bounce@xxxxxxxxxxx
Fix sparse NULL vs 0 warnings

Sparse now warns about comparing pointers to 0, so change all instance
where that happens to NULL instead.


Signed-off-by: Christoph Hellwig <hch@xxxxxx>


Date:  Thu Aug  2 17:39:43 AEST 2007
Workarea:  chook.melbourne.sgi.com:/build/dgc/isms/2.6.x-xfs
Inspected by:  hch@xxxxxx

The following file(s) were checked into:
  longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb


Modid:  xfs-linux-melb:xfs-kern:29308a
fs/xfs/xfs_log.c - 1.333 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_log.c.diff?r1=text&tr1=1.333&r2=text&tr2=1.332&f=h
        - Fix sparse NULL vs 0 warnings

fs/xfs/xfs_log_recover.c - 1.320 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_log_recover.c.diff?r1=text&tr1=1.320&r2=text&tr2=1.319&f=h
        - Fix sparse NULL vs 0 warnings



<Prev in Thread] Current Thread [Next in Thread>