]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
tree-wide: fix typos "aquire" -> "acquire", "cumsumed" -> "consumed"
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Wed, 7 Oct 2009 13:21:09 +0000 (15:21 +0200)
committerJiri Kosina <jkosina@suse.cz>
Mon, 9 Nov 2009 08:40:57 +0000 (09:40 +0100)
This patch was generated by

git grep -E -i -l '[Aa]quire' | xargs -r perl -p -i -e 's/([Aa])quire/$1cquire/'

and the cumsumed was found by checking the diff for aquire.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/cpuidle/governor.c
drivers/infiniband/hw/cxgb3/cxio_hal.c
drivers/media/dvb/frontends/drx397xD.c
drivers/net/ps3_gelic_wireless.h
drivers/net/qla3xxx.c
drivers/net/wireless/b43/main.c
drivers/net/wireless/b43legacy/main.c
include/linux/dm-log-userspace.h
mm/kmemleak.c
mm/memcontrol.c

index 70b59642a7087a7593fffdfd9158ddfe4ba619b5..724c164d31c9a47ece237894888244cb4ec0e4b1 100644 (file)
@@ -21,7 +21,7 @@ struct cpuidle_governor *cpuidle_curr_governor;
  * __cpuidle_find_governor - finds a governor of the specified name
  * @str: the name
  *
- * Must be called with cpuidle_lock aquired.
+ * Must be called with cpuidle_lock acquired.
  */
 static struct cpuidle_governor * __cpuidle_find_governor(const char *str)
 {
@@ -39,7 +39,7 @@ static struct cpuidle_governor * __cpuidle_find_governor(const char *str)
  * @gov: the new target governor
  *
  * NOTE: "gov" can be NULL to specify disabled
- * Must be called with cpuidle_lock aquired.
+ * Must be called with cpuidle_lock acquired.
  */
 int cpuidle_switch_governor(struct cpuidle_governor *gov)
 {
index 72ed3396b721e36d528f3d6191034493447c33ae..0677fc7dfd51d3dc6c0c920ca0c3d8bff843be82 100644 (file)
@@ -589,7 +589,7 @@ static int cxio_hal_destroy_ctrl_qp(struct cxio_rdev *rdev_p)
 
 /* write len bytes of data into addr (32B aligned address)
  * If data is NULL, clear len byte of memory to zero.
- * caller aquires the ctrl_qp lock before the call
+ * caller acquires the ctrl_qp lock before the call
  */
 static int cxio_hal_ctrl_qp_write_mem(struct cxio_rdev *rdev_p, u32 addr,
                                      u32 len, void *data)
index 0100755352216ef3d180a270009a2bcde20b76bc..868b78bfae75e4b3cf8e6ba9e11ceec27311e384 100644 (file)
@@ -81,7 +81,7 @@ static struct {
 #include "drx397xD_fw.h"
 };
 
-/* use only with writer lock aquired */
+/* use only with writer lock acquired */
 static void _drx_release_fw(struct drx397xD_state *s, enum fw_ix ix)
 {
        memset(&fw[ix].data[0], 0, sizeof(fw[0].data));
index 5b631c6c97759ec36f4d2296549f10b979a89158..0a88b535197aa830971252d4695c24e72f21dad1 100644 (file)
@@ -199,7 +199,7 @@ struct gelic_eurus_rssi_info {
 /* for 'stat' member of gelic_wl_info */
 enum gelic_wl_info_status_bit {
        GELIC_WL_STAT_CONFIGURED,
-       GELIC_WL_STAT_CH_INFO,   /* ch info aquired */
+       GELIC_WL_STAT_CH_INFO,   /* ch info acquired */
        GELIC_WL_STAT_ESSID_SET, /* ESSID specified by userspace */
        GELIC_WL_STAT_BSSID_SET, /* BSSID specified by userspace */
        GELIC_WL_STAT_WPA_PSK_SET, /* PMK specified by userspace */
index 4c610511eb40281a65d795df0ec5466f1e81ec65..f72643313bab9d9ca488f9df4b065d10039a5ba9 100644 (file)
@@ -3651,7 +3651,7 @@ static int ql_adapter_up(struct ql3_adapter *qdev)
                ql_sem_unlock(qdev, QL_DRVR_SEM_MASK);
        } else {
                printk(KERN_ERR PFX
-                      "%s: Could not aquire driver lock.\n",
+                      "%s: Could not acquire driver lock.\n",
                       ndev->name);
                goto err_lock;
        }
index 86f35827f0085a19d01d94624c4f2aee3603df3f..f66efea6166702dda8f22c6f82995af3f5ce2010 100644 (file)
@@ -2955,7 +2955,7 @@ static void do_periodic_work(struct b43_wldev *dev)
 /* Periodic work locking policy:
  *     The whole periodic work handler is protected by
  *     wl->mutex. If another lock is needed somewhere in the
- *     pwork callchain, it's aquired in-place, where it's needed.
+ *     pwork callchain, it's acquired in-place, where it's needed.
  */
 static void b43_periodic_work_handler(struct work_struct *work)
 {
index 4b60148a5e61c9cc9b2f0eea64fe128d72d1ac55..881784b18b0b3761baaf3a826e506012e8c4ba88 100644 (file)
@@ -2277,7 +2277,7 @@ static void do_periodic_work(struct b43legacy_wldev *dev)
 /* Periodic work locking policy:
  *     The whole periodic work handler is protected by
  *     wl->mutex. If another lock is needed somewhere in the
- *     pwork callchain, it's aquired in-place, where it's needed.
+ *     pwork callchain, it's acquired in-place, where it's needed.
  */
 static void b43legacy_periodic_work_handler(struct work_struct *work)
 {
index 8a1f972c0fe97a0ceaf4fa8b6c99f1d42ac84d33..0c3c3a2110c4b07ed7defcb61fde77953251522b 100644 (file)
  * various request types above.  The remaining 24-bits are currently
  * set to zero and are reserved for future use and compatibility concerns.
  *
- * User-space should always use DM_ULOG_REQUEST_TYPE to aquire the
+ * User-space should always use DM_ULOG_REQUEST_TYPE to acquire the
  * request type from the 'request_type' field to maintain forward compatibility.
  */
 #define DM_ULOG_REQUEST_MASK 0xFF
index 8bf765c4f58d03922adf1f7a100679fe05c65d7d..13f33b3081ec2794afdae74d9071a88ec6aa9df3 100644 (file)
@@ -1050,8 +1050,8 @@ static void scan_object(struct kmemleak_object *object)
        unsigned long flags;
 
        /*
-        * Once the object->lock is aquired, the corresponding memory block
-        * cannot be freed (the same lock is aquired in delete_object).
+        * Once the object->lock is acquired, the corresponding memory block
+        * cannot be freed (the same lock is acquired in delete_object).
         */
        spin_lock_irqsave(&object->lock, flags);
        if (object->flags & OBJECT_NO_SCAN)
index f99f5991d6bba1b5ec224f0631124144a6c0a8bb..7226e60e52af5a9b8526f74255dba985e807a120 100644 (file)
@@ -1720,7 +1720,7 @@ int mem_cgroup_cache_charge(struct page *page, struct mm_struct *mm,
 /*
  * While swap-in, try_charge -> commit or cancel, the page is locked.
  * And when try_charge() successfully returns, one refcnt to memcg without
- * struct page_cgroup is aquired. This refcnt will be cumsumed by
+ * struct page_cgroup is acquired. This refcnt will be consumed by
  * "commit()" or removed by "cancel()"
  */
 int mem_cgroup_try_charge_swapin(struct mm_struct *mm,