summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonrad Lipinski <konrad.l@samsung.com>2017-01-23 12:54:48 +0100
committerKonrad Lipinski <konrad.l@samsung.com>2017-01-23 12:54:48 +0100
commita20f661f559f31857919992a0f019630f44618ca (patch)
tree80b7db3aac1e9df5efe01e92dc1b021d78528df1
parentdaf676da5dbca2e705152cc990a16697ac847e19 (diff)
downloadlinux-exynos-klewandowski/sandbox/kdbus-perf.tar.gz
linux-exynos-klewandowski/sandbox/kdbus-perf.tar.bz2
linux-exynos-klewandowski/sandbox/kdbus-perf.zip
kdbus: prefer unsigned to ulong for permanent memoryklewandowski/sandbox/kdbus-perf
-rw-r--r--ipc/kdbus/pool.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/ipc/kdbus/pool.h b/ipc/kdbus/pool.h
index afd38fa281e8..3754b22795b3 100644
--- a/ipc/kdbus/pool.h
+++ b/ipc/kdbus/pool.h
@@ -45,8 +45,8 @@ extern struct kmem_cache *pool_slice_cachep;
*/
struct kdbus_pool {
struct file *f;
- ulong size;
- ulong accounted_size;
+ unsigned size;
+ unsigned accounted_size;
struct mutex lock;
struct list_head slices;
@@ -77,8 +77,8 @@ struct kdbus_pool {
* offset.
*/
struct kdbus_pool_slice {
- ulong off;
- ulong size;
+ unsigned off;
+ unsigned size;
struct list_head entry;
struct rb_node rb_node;