From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jiro SEKIBA Subject: [PATCH 0/2] nilfs2: eliminate sparse warnings Date: Fri, 8 Oct 2010 22:37:26 +0900 Message-ID: <1286545048-21582-1-git-send-email-jir@unicus.jp> Return-path: Sender: linux-nilfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: konishi.ryusuke-Zyj7fXuS5i5L9jVzuh4AOg@public.gmane.org, ryusuke-sG5X7nlA6pw@public.gmane.org, Jiro SEKIBA Hi, these are trivial fixup to eliminate sparse warnings when compiling with C=1. First patch changes a variable and a function used only in a file static. Second patch adds sparse annotations to stop warning for imbalance context for lock variable. fs/nilfs2/dat.c | 3 ++- fs/nilfs2/segment.c | 11 +++++++++++ fs/nilfs2/super.c | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html