Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax Integration (__FUNCTION__ ==> __func__) #333

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions fs/xfs/xfs_log_recover.c
Original file line number Diff line number Diff line change
Expand Up @@ -3617,15 +3617,15 @@ xlog_recover_do_icreate_pass2(
if (length != mp->m_ialloc_blks &&
length != mp->m_ialloc_min_blks) {
xfs_warn(log->l_mp,
"%s: unsupported chunk length", __FUNCTION__);
"%s: unsupported chunk length", __func__);
return -EINVAL;
}

/* verify inode count is consistent with extent length */
if ((count >> mp->m_sb.sb_inopblog) != length) {
xfs_warn(log->l_mp,
"%s: inconsistent inode count and chunk length",
__FUNCTION__);
__func__);
return -EINVAL;
}

Expand Down
2 changes: 1 addition & 1 deletion tools/testing/radix-tree/test.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ void item_full_scan(struct radix_tree_root *root, unsigned long start,
int nfound;
int i;

// printf("%s(0x%08lx, 0x%08lx, %d)\n", __FUNCTION__, start, nr, chunk);
// printf("%s(0x%08lx, 0x%08lx, %d)\n", __func__, start, nr, chunk);

while ((nfound = radix_tree_gang_lookup(root, (void **)items, into,
chunk))) {
Expand Down