Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lustre-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
debian-packages
lustre-release
Commits
934facec
Commit
934facec
authored
17 years ago
by
Liang Zhen
Browse files
Options
Downloads
Patches
Plain Diff
Remove semicolon after MACRO do {...} while (0)
parent
c435b48f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lnet/include/libcfs/kp30.h
+3
-3
3 additions, 3 deletions
lnet/include/libcfs/kp30.h
with
3 additions
and
3 deletions
lnet/include/libcfs/kp30.h
+
3
−
3
View file @
934facec
...
...
@@ -218,11 +218,11 @@ do { \
do { \
(ptr) = malloc(size); \
memset(ptr, 0, size); \
} while (0)
;
} while (0)
# else
# define LIBCFS_ALLOC(ptr, size) do { (ptr) = calloc(1,size); } while (0)
;
# define LIBCFS_ALLOC(ptr, size) do { (ptr) = calloc(1,size); } while (0)
# endif
# define LIBCFS_FREE(a, b) do { free(a); } while (0)
;
# define LIBCFS_FREE(a, b) do { free(a); } while (0)
void
libcfs_debug_dumplog
(
void
);
int
libcfs_debug_init
(
unsigned
long
bufsize
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment