Skip to content

Commit

Permalink
[XFS] Fix sparse warnings in ktrace.[ch]
Browse files Browse the repository at this point in the history
SGI-PV: 943556
SGI-Modid: xfs-linux:xfs-kern:200113a

Signed-off-by: Christoph Hellwig <hch@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
  • Loading branch information
Christoph Hellwig authored and Nathan Scott committed Nov 2, 2005
1 parent 5bde1ba commit 4750ddb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fs/xfs/support/ktrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ ktrace_uninit(void)
* number of entries.
*/
ktrace_t *
ktrace_alloc(int nentries, int sleep)
ktrace_alloc(int nentries, unsigned int __nocast sleep)
{
ktrace_t *ktp;
ktrace_entry_t *ktep;
Expand Down
2 changes: 1 addition & 1 deletion fs/xfs/support/ktrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ typedef struct ktrace_snap {
extern void ktrace_init(int zentries);
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_enter(
Expand Down

0 comments on commit 4750ddb

Please sign in to comment.