- 1. [PATCH] xfs: Use memset to initialize structure member. (score: 1)
- Author: santosh nayak <santoshprasadnayak@xxxxxxxxx>
- Date: Fri, 24 Feb 2012 12:38:42 +0530
- Sparse is giving following warning: fs/xfs/xfs_bmap.c:4826:41: warning: Using plain integer as NULL pointer. To avoid this warning, use memset to initialize the structure member. Signed-off-by: Santo
- /archives/xfs-masters/2012-02/msg00044.html (9,172 bytes)
- 2. Re: [PATCH] xfs: Use memset to initialize structure member. (score: 1)
- Author: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
- Date: Fri, 24 Feb 2012 10:53:54 +0300
- You could just do: struct xfs_bmalloca bma = {}; But honestly, I'd just leave this one as is. The xfs people are grumpy sorts and it's best to not send them these kinds of patches that don't address
- /archives/xfs-masters/2012-02/msg00045.html (8,178 bytes)
- 3. Re: [PATCH] xfs: Use memset to initialize structure member. (score: 1)
- Author: Ben Myers <bpm@xxxxxxx>
- Date: Fri, 24 Feb 2012 10:05:05 -0600
- Santosh, This aggregate initializer seems cleaner than memset. Do you mind resending the patch with Dan's suggestion? Thanks for your contribution. ;) -Ben
- /archives/xfs-masters/2012-02/msg00047.html (8,534 bytes)
This search system is powered by
Namazu