• R/O
  • HTTP
  • SSH
  • HTTPS

linux-2.4.36: Commit

2.4.36-stable kernel tree


Commit MetaInfo

Revisionf09dec18e4927b996b9459decff0a61743dd2aac (tree)
Zeit2007-02-25 16:41:30
AutorMariusz Kozlowski <m.kozlowski@tuxl...>
CommiterWilly Tarreau

Log Message

[PATCH] fs ufs macro parenthesis fix

Hello,

This patch fixes parenthesis stuff in ubh_get_addr16() macro code.

Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>

fs/ufs/util.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Ändern Zusammenfassung

Diff

--- a/fs/ufs/util.h
+++ b/fs/ufs/util.h
@@ -273,7 +273,7 @@ extern void _ubh_memcpyubh_(struct ufs_sb_private_info *, struct ufs_buffer_head
273273
274274 #define ubh_get_addr16(ubh,begin) \
275275 (((u16*)((ubh)->bh[(begin) >> (uspi->s_fshift-1)]->b_data)) + \
276- ((begin) & (uspi->fsize>>1) - 1)))
276+ ((begin) & ((uspi->fsize>>1) - 1)))
277277
278278 #define ubh_get_addr32(ubh,begin) \
279279 (((u32*)((ubh)->bh[(begin) >> (uspi->s_fshift-2)]->b_data)) + \
Show on old repository browser