summaryrefslogtreecommitdiffstats
path: root/fs/xfs/support/ktrace.c
diff options
context:
space:
mode:
authorChristoph Hellwig2005-11-02 05:07:23 +0100
committerNathan Scott2005-11-02 05:07:23 +0100
commit4750ddb0ba781006f149fdd87bbe997cb8c07e2e (patch)
tree292afaacc3041588b53eff492dbe4c82c861957a /fs/xfs/support/ktrace.c
parent[XFS] silence gcc4 warnings. the directory ones are wrong because of (diff)
downloadkernel-qcow2-linux-4750ddb0ba781006f149fdd87bbe997cb8c07e2e.tar.gz
kernel-qcow2-linux-4750ddb0ba781006f149fdd87bbe997cb8c07e2e.tar.xz
kernel-qcow2-linux-4750ddb0ba781006f149fdd87bbe997cb8c07e2e.zip
[XFS] Fix sparse warnings in ktrace.[ch]
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>
Diffstat (limited to 'fs/xfs/support/ktrace.c')
-rw-r--r--fs/xfs/support/ktrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/support/ktrace.c b/fs/xfs/support/ktrace.c
index 0ebb872d7da8..841aa4c15b8a 100644
--- a/fs/xfs/support/ktrace.c
+++ b/fs/xfs/support/ktrace.c
@@ -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;