return dev->extra_buf2_address + r_pointer;
        }
 
-       dbg("attempt to read beyong ring bufer end");
+       dbg("attempt to read beyond ring buffer end");
        return 0;
 }
 
 
 
        /* TX buffer */
        unsigned *tx_buffer;                    /* input samples buffer*/
-       int tx_pos;                             /* position in that bufer */
+       int tx_pos;                             /* position in that buffer */
        int tx_len;                             /* current len of tx buffer */
        int tx_done;                            /* done transmitting */
                                                /* one more sample pending*/
 
        /*
         * Update our accounting state to incorporate the new Free List
         * buffers, tell the hardware about them and return the number of
-        * bufers which we were able to allocate.
+        * buffers which we were able to allocate.
         */
        cred = fl->avail - cred;
        fl->pend_cred += cred;
 
     u32     cmd_buff_addr2;     /* physical address of cmd buffer 1 */   
     u32     cmd_buff_u_addr2;   /* reserved for 64 bit addressing */
     u32     cmd_buff_indx2;     /* cmd buf addr1 unique identifier */
-    u32     cmd_buff_size;      /* size of each cmd bufer in bytes */
+    u32     cmd_buff_size;      /* size of each cmd buffer in bytes */
     u32     reserved1;
     u32     reserved2;
 } __attribute__((packed)) gdth_perf_modes;
 
                if (!(val & MUSB_RXCSR_H_REQPKT)) {
                        val |= MUSB_RXCSR_H_REQPKT | MUSB_RXCSR_H_WZC_BITS;
                        musb_writew(regs, MUSB_RXCSR, val);
-                       /* flush writebufer */
+                       /* flush writebuffer */
                        val = musb_readw(regs, MUSB_RXCSR);
                }
        }
 
  * Author:       Michael Hennerich <hennerich@blackfin.uclinux.org>
  *
  * Created:
- * Description:  ADSP-BF54x Framebufer driver
+ * Description:  ADSP-BF54x Framebuffer driver
  *
  *
  * Modified:
 
  * Author:       Michael Hennerich <hennerich@blackfin.uclinux.org>
  *
  * Created:
- * Description:  Blackfin LCD Framebufer driver
+ * Description:  Blackfin LCD Framebuffer driver
  *
  *
  * Modified:
 
  * a[0] = 'a';
  * truncate(f, 4096);
  * we have in the page first buffer_head mapped via page_mkwrite call back
- * but other bufer_heads would be unmapped but dirty(dirty done via the
+ * but other buffer_heads would be unmapped but dirty (dirty done via the
  * do_wp_page). So writepage should write the first block. If we modify
  * the mmap area beyond 1024 we will again get a page_fault and the
  * page_mkwrite callback will do the block allocation and mark the
 
  * them.
  *
  * Called with j_list_lock held.
- * Returns number of bufers reaped (for debug)
+ * Returns number of buffers reaped (for debug)
  */
 
 static int journal_clean_one_cp_list(struct journal_head *jh, int *released)
 
  *
  * Called with the journal locked.
  * Called with j_list_lock held.
- * Returns number of bufers reaped (for debug)
+ * Returns number of buffers reaped (for debug)
  */
 
 static int journal_clean_one_cp_list(struct journal_head *jh, int *released)
 
                        goto restart;
                }
                /*
-                * clear the LRU reference count so the bufer doesn't get
+                * clear the LRU reference count so the buffer doesn't get
                 * ignored in xfs_buf_rele().
                 */
                atomic_set(&bp->b_lru_ref, 0);
 
                outbuf = malloc(BZIP2_IOBUF_SIZE);
 
        if (!outbuf) {
-               error("Could not allocate output bufer");
+               error("Could not allocate output buffer");
                return RETVAL_OUT_OF_MEMORY;
        }
        if (buf)
        else
                inbuf = malloc(BZIP2_IOBUF_SIZE);
        if (!inbuf) {
-               error("Could not allocate input bufer");
+               error("Could not allocate input buffer");
                i = RETVAL_OUT_OF_MEMORY;
                goto exit_0;
        }
 
        else
                inbuf = malloc(LZMA_IOBUF_SIZE);
        if (!inbuf) {
-               error("Could not allocate input bufer");
+               error("Could not allocate input buffer");
                goto exit_0;
        }