Commit 4750ddb0 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Nathan Scott

[XFS] Fix sparse warnings in ktrace.[ch]

SGI-PV: 943556
SGI-Modid: xfs-linux:xfs-kern:200113a
Signed-off-by: default avatarChristoph Hellwig <hch@sgi.com>
Signed-off-by: default avatarNathan Scott <nathans@sgi.com>
parent 5bde1ba9
...@@ -50,7 +50,7 @@ ktrace_uninit(void) ...@@ -50,7 +50,7 @@ ktrace_uninit(void)
* number of entries. * number of entries.
*/ */
ktrace_t * ktrace_t *
ktrace_alloc(int nentries, int sleep) ktrace_alloc(int nentries, unsigned int __nocast sleep)
{ {
ktrace_t *ktp; ktrace_t *ktp;
ktrace_entry_t *ktep; ktrace_entry_t *ktep;
......
...@@ -52,7 +52,7 @@ typedef struct ktrace_snap { ...@@ -52,7 +52,7 @@ typedef struct ktrace_snap {
extern void ktrace_init(int zentries); extern void ktrace_init(int zentries);
extern void ktrace_uninit(void); extern void ktrace_uninit(void);
extern ktrace_t *ktrace_alloc(int, int); extern ktrace_t *ktrace_alloc(int, unsigned int __nocast);
extern void ktrace_free(ktrace_t *); extern void ktrace_free(ktrace_t *);
extern void ktrace_enter( extern void ktrace_enter(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment