aboutsummaryrefslogtreecommitdiff
path: root/drivers/rtc/class.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2007-08-16 15:38:08 +1000
committerTim Shimmin <[email protected]>2007-09-05 14:49:30 +1000
commitee5c80239d5f152d99f69165afbd115518353563 (patch)
tree2ea198960e12fe010b18ce9b52645c7865ec1082 /drivers/rtc/class.c
parent34521c5e4971d01f6ef650fdee59e07be6c2c5e3 (diff)
[XFS] fix ASSERT and ASSERT_ALWAYS
- remove the != 0 inside the unlikely in ASSERT_ALWAYS because sparse now complains about comparisons between pointers and 0 - add a standalone ASSERT implementation because defining it to ASSERT_ALWAYS means the string is expanded before the token passing stringification. This way we get the actual content of the assertion in the assfail message and don't overflow sparse's stringification buffer leading to sparse error messages. SGI-PV: 968555 SGI-Modid: xfs-linux-melb:xfs-kern:29310a Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: David Chinner <[email protected]> Signed-off-by: Tim Shimmin <[email protected]>
Diffstat (limited to 'drivers/rtc/class.c')
0 files changed, 0 insertions, 0 deletions