Skip to content
This repository has been archived by the owner on Feb 26, 2020. It is now read-only.

Fix aarch64 type warning #574

Merged
merged 1 commit into from
Oct 2, 2016
Merged
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
16 changes: 8 additions & 8 deletions module/splat/splat-rwlock.c
Original file line number Diff line number Diff line change
Expand Up @@ -587,10 +587,10 @@ splat_rwlock_test6(struct file *file, void *arg)
if (RWSEM_COUNT(SEM(&rwp->rw_rwlock)) !=
SPL_RWSEM_SINGLE_READER_VALUE) {
splat_vprint(file, SPLAT_RWLOCK_TEST6_NAME,
"We assumed single reader rwsem->count "
"should be %ld, but is %ld\n",
SPL_RWSEM_SINGLE_READER_VALUE,
RWSEM_COUNT(SEM(&rwp->rw_rwlock)));
"We assumed single reader rwsem->count "
"should be %ld, but is %ld\n",
(long int)SPL_RWSEM_SINGLE_READER_VALUE,
(long int)RWSEM_COUNT(SEM(&rwp->rw_rwlock)));
rc = -ENOLCK;
goto out;
}
Expand All @@ -600,10 +600,10 @@ splat_rwlock_test6(struct file *file, void *arg)
if (RWSEM_COUNT(SEM(&rwp->rw_rwlock)) !=
SPL_RWSEM_SINGLE_WRITER_VALUE) {
splat_vprint(file, SPLAT_RWLOCK_TEST6_NAME,
"We assumed single writer rwsem->count "
"should be %ld, but is %ld\n",
SPL_RWSEM_SINGLE_WRITER_VALUE,
RWSEM_COUNT(SEM(&rwp->rw_rwlock)));
"We assumed single writer rwsem->count "
"should be %ld, but is %ld\n",
(long int)SPL_RWSEM_SINGLE_WRITER_VALUE,
(long int)RWSEM_COUNT(SEM(&rwp->rw_rwlock)));
rc = -ENOLCK;
goto out;
}
Expand Down