mmap_min_addr check CAP_SYS_RAWIO only for write
[sfrench/cifs-2.6.git] / samples / kobject / kobject-example.c
index 8d9b55a1202372a3d63494ac7babf4d752a8969e..86ea0c3ad97511e02a75003dc3c8556990b0e9a9 100644 (file)
@@ -44,7 +44,7 @@ static struct kobj_attribute foo_attribute =
        __ATTR(foo, 0666, foo_show, foo_store);
 
 /*
- * More complex function where we determine which varible is being accessed by
+ * More complex function where we determine which variable is being accessed by
  * looking at the attribute for the "baz" and "bar" files.
  */
 static ssize_t b_show(struct kobject *kobj, struct kobj_attribute *attr,
@@ -79,7 +79,7 @@ static struct kobj_attribute bar_attribute =
 
 
 /*
- * Create a group of attributes so that we can create and destory them all
+ * Create a group of attributes so that we can create and destroy them all
  * at once.
  */
 static struct attribute *attrs[] = {