kdbus: prefer unsigned to ulong for permanent memory klewandowski/sandbox/kdbus-perf
authorKonrad Lipinski <konrad.l@samsung.com>
Mon, 23 Jan 2017 11:54:48 +0000 (12:54 +0100)
committerKonrad Lipinski <konrad.l@samsung.com>
Mon, 23 Jan 2017 11:54:48 +0000 (12:54 +0100)
ipc/kdbus/pool.h

index afd38fa281e8406e3a032ebad5dfdc5d1fd9d83b..3754b22795b3fb538eb6460fc4d3b31318173662 100644 (file)
@@ -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;