···33333434/**3535 * struct ion_buffer - metadata for a particular buffer3636- * @ref: refernce count3636+ * @ref: reference count3737 * @node: node in the ion_device buffers tree3838 * @dev: back pointer to the ion_device3939 * @heap: back pointer to the heap the buffer came from···4646 * an ion_phys_addr_t (and someday a phys_addr_t)4747 * @lock: protects the buffers cnt fields4848 * @kmap_cnt: number of times the buffer is mapped to the kernel4949- * @vaddr: the kenrel mapping if kmap_cnt is not zero4949+ * @vaddr: the kernel mapping if kmap_cnt is not zero5050 * @dmap_cnt: number of times the buffer is mapped for dma5151 * @sg_table: the sg table for the buffer if dmap_cnt is not zero5252 * @pages: flat array of pages in the buffer -- used by fault···266266/**267267 * ion_heap_freelist_drain - drain the deferred free list268268 * @heap: the heap269269- * @size: ammount of memory to drain in bytes269269+ * @size: amount of memory to drain in bytes270270 *271271 * Drains the indicated amount of memory from the deferred freelist immediately.272272 * Returns the total amount freed. The total freed may be higher depending
+1-1
drivers/staging/android/uapi/ion.h
···179179 * DOC: ION_IOC_SYNC - syncs a shared file descriptors to memory180180 *181181 * Deprecated in favor of using the dma_buf api's correctly (syncing182182- * will happend automatically when the buffer is mapped to a device).182182+ * will happen automatically when the buffer is mapped to a device).183183 * If necessary should be used after touching a cached buffer from the cpu,184184 * this will make the buffer in memory coherent.185185 */
···11* checkpatch fixes22-* remove unecessary comments33-* remove unecessary error messages. Example kzalloc() has its22+* remove unnecessary comments33+* remove unnecessary error messages. Example kzalloc() has its44 own error message. Adding an extra one is useless.55* use goto statements for error handling when appropriate66-* there is a lot of unecessary code in the driver. It was66+* there is a lot of unnecessary code in the driver. It was77 originally a standalone driver. Remove uneeded code.8899Please send patches to Greg Kroah-Hartman <greg@kroah.com> and
+1-1
drivers/staging/dgnc/dgnc_neo.c
···12031203 memcpy_fromio(ch->ch_rqueue + head, &ch->ch_neo_uart->txrxburst, n);1204120412051205 /*12061206- * Since RX_FIFO_DATA_ERROR was 0, we are guarenteed12061206+ * Since RX_FIFO_DATA_ERROR was 0, we are guaranteed12071207 * that all the data currently in the FIFO is free of12081208 * breaks and parity/frame/orun errors.12091209 */
+1-1
drivers/staging/emxx_udc/emxx_udc.c
···12231223 }1224122412251225 /*-------------------------------------------------------------*/12261226- /* Start tranfer */12261226+ /* Start transfer */12271227 iBufSize = req->req.length - req->req.actual;12281228 if (iBufSize > 0)12291229 result = _nbu2ss_epn_in_data(udc, ep, req, iBufSize);
+1-1
drivers/staging/fbtft/Kconfig
···1212 tristate "FB driver for the AGM1264K-FL LCD display"1313 depends on FB_TFT1414 help1515- Framebuffer support for the AGM1264K-FL LCD display (two Samsung KS0108 compatable chips)1515+ Framebuffer support for the AGM1264K-FL LCD display (two Samsung KS0108 compatible chips)16161717config FB_TFT_BD6634741818 tristate "FB driver for the BD663474 LCD Controller"
+1-1
drivers/staging/fwserial/dma_fifo.c
···5656 * @size: 'apparent' size, in bytes, of fifo5757 * @align: dma alignment to maintain (should be at least cpu cache alignment),5858 * must be power of 25959- * @tx_limit: maximum # of bytes transmissable per dma (rounded down to5959+ * @tx_limit: maximum # of bytes transmissible per dma (rounded down to6060 * multiple of alignment, but at least align size)6161 * @open_limit: maximum # of outstanding dma transactions allowed6262 * @gfp_mask: get_free_pages mask, passed to kmalloc()
+1-1
drivers/staging/fwserial/fwserial.h
···218218 * prevented with the IN_TX flag. Scheduled under lock to219219 * limit scheduling when fifo has just been drained.220220 * @tx_fifo: fifo used to store & block-up writes for dma to remote221221- * @max_payload: max bytes transmissable per dma (based on peer's max_payload)221221+ * @max_payload: max bytes transmissible per dma (based on peer's max_payload)222222 * @status_mask: UART_LSR_* bitmask significant to rx (based on termios)223223 * @ignore_mask: UART_LSR_* bitmask of states to ignore (also based on termios)224224 * @break_ctl: if set, port is 'sending break' to remote
+1-1
drivers/staging/iio/Documentation/device.txt
···5252 * info->write_event_value:5353 Write the value associated with on sensor event detectors. E.g.5454 a threshold above which an interrupt occurs. Note that the5555- meaning of the value to be set is event type dependant.5555+ meaning of the value to be set is event type dependent.56565757- indio_dev->modes:5858 Specify whether direct access and / or ring buffer access is supported.
+1-1
drivers/staging/iio/iio_simple_dummy.h
···2525 * @accel_calibscale: cache for acceleration calibscale2626 * @lock: lock to ensure state is consistent2727 * @event_irq: irq number for event line (faked)2828- * @event_val: cache for event theshold value2828+ * @event_val: cache for event threshold value2929 * @event_en: cache of whether event is enabled3030 */3131struct iio_dummy_state {
+1-1
drivers/staging/lustre/TODO
···11* Possible remaining coding style fix.22* Remove deadcode.33-* Seperate client/server functionality. Functions only used by server can be33+* Separate client/server functionality. Functions only used by server can be44 removed from client.55* Clean up libcfs layer. Ideally we can remove include/linux/libcfs entirely.66* Clean up CLIO layer. Lustre client readahead/writeback control needs to better
+2-2
drivers/staging/media/bcm2048/radio-bcm2048.c
···217217#define BCM2048_FREQ_ERROR_FLOOR -20218218#define BCM2048_FREQ_ERROR_ROOF 20219219220220-/* -60 dB is reported as full signal strenght */220220+/* -60 dB is reported as full signal strength */221221#define BCM2048_RSSI_LEVEL_BASE -60222222#define BCM2048_RSSI_LEVEL_ROOF -100223223#define BCM2048_RSSI_LEVEL_ROOF_NEG 100···24682468 } else {24692469 /*24702470 * RSSI level -60 dB is defined to report full24712471- * signal strenght24712471+ * signal strength24722472 */24732473 rssi = bcm2048_get_fm_rssi(bdev);24742474 if (rssi >= BCM2048_RSSI_LEVEL_BASE) {
+2-2
drivers/staging/octeon-usb/octeon-hcd.c
···12391239 usb->index) ^ 4;12401240 int words = available;1241124112421242- /* Limit the amount of data to waht the SW fifo has */12421242+ /* Limit the amount of data to what the SW fifo has */12431243 if (fifo->entry[i].size <= available) {12441244 words = fifo->entry[i].size;12451245 fifo->tail++;···18491849 transaction->xfersize = usbc_hctsiz.s.xfersize;18501850 transaction->pktcnt = usbc_hctsiz.s.pktcnt;18511851 }18521852- /* Remeber when we start a split transaction */18521852+ /* Remember when we start a split transaction */18531853 if (cvmx_usb_pipe_needs_split(usb, pipe))18541854 usb->active_split = transaction;18551855 USB_SET_FIELD32(CVMX_USBCX_HCCHARX(channel, usb->index),
···159159/* | 1byte|----8bytes----|1byte|--5bytes--| */160160/* | | Reserved(14bytes) | */161161162162-/* PG data exclude header, dummy 6 bytes frome CP test and reserved 1byte. */162162+/* PG data exclude header, dummy 6 bytes from CP test and reserved 1byte. */163163#define EFUSE_OOB_PROTECT_BYTES 15164164165165#define HWSET_MAX_SIZE_88E 512···177177/* 9bytes + 1byt + 5bytes and pre 1byte. */178178/* For worst case: */179179/* | 2byte|----8bytes----|1byte|--7bytes--| 92D */180180-/* PG data exclude header, dummy 7 bytes frome CP test and reserved 1byte. */180180+/* PG data exclude header, dummy 7 bytes from CP test and reserved 1byte. */181181#define EFUSE_OOB_PROTECT_BYTES_88E 18182182#define EFUSE_PROTECT_BYTES_BANK_88E 16183183
+1-1
drivers/staging/rtl8192u/r8192U_dm.c
···120120 * Prepare SW resource for HW dynamic mechanism.121121 *122122 * Assumption:123123- * This function is only invoked at driver intialization once.123123+ * This function is only invoked at driver initialization once.124124 */125125void init_hal_dm(struct net_device *dev)126126{
+1-1
drivers/staging/rtl8712/rtl8712_xmit.c
···340340u8 r8712_xmitframe_aggr_1st(struct xmit_buf *pxmitbuf,341341 struct xmit_frame *pxmitframe)342342{343343- /* linux complete context doesnt need to protect */343343+ /* linux complete context doesn't need to protect */344344 pxmitframe->pxmitbuf = pxmitbuf;345345 pxmitbuf->priv_data = pxmitframe;346346 pxmitframe->pxmit_urb[0] = pxmitbuf->pxmit_urb[0];
···9292 value |= (GET_PWR_CFG_VALUE(PwrCfgCmd) &9393 GET_PWR_CFG_MASK(PwrCfgCmd));94949595- /* Write the value back to sytem register */9595+ /* Write the value back to system register */9696 rtl8723au_write8(padapter, offset, value);9797 break;9898
+1-1
drivers/staging/rtl8723au/hal/odm.c
···4040 {0x5ea42b, 0xa630, 0x5e431c}, /* 11:airgocap AP */4141};42424343-/* EDCA Paramter for AP/ADSL by Mingzhi 2011-11-22 */4343+/* EDCA Parameter for AP/ADSL by Mingzhi 2011-11-22 */44444545/* Global var */4646u32 OFDMSwingTable23A[OFDM_TABLE_SIZE_92D] = {
+1-1
drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c
···13961396 /* value16 |= (APDM_HOST | FSM_HSUS |/PFM_ALDN); */13971397 /* 2010/08/31 According to Filen description, we need to13981398 use HW to shut down 8051 automatically. */13991399- /* Becasue suspend operatione need the asistance of 805113991399+ /* Because suspend operation need the asistance of 805114001400 to wait for 3ms. */14011401 value16 = APDM_HOST | AFSM_HSUS | PFM_ALDN;14021402 } else {
+1-1
drivers/staging/rtl8723au/hal/rtl8723a_phycfg.c
···660660661661 /* */662662 /* 1. Read PHY_REG.TXT BB INIT!! */663663- /* We will seperate as 88C / 92C according to chip version */663663+ /* We will separate as 88C / 92C according to chip version */664664 /* */665665 ODM_ReadAndConfig_PHY_REG_1T_8723A(&pHalData->odmpriv);666666
+2-2
drivers/staging/rtl8723au/hal/rtl8723a_rf6052.c
···138138/* Currently, we cannot fully disable driver dynamic tx power139139 * mechanism because it is referenced by BT coexist mechanism. */140140/* In the future, two mechanism shall be separated from each other141141- * and maintained independantly. Thanks for Lanhsin's reminder. */141141+ * and maintained independently. Thanks for Lanhsin's reminder. */142142 if (pdmpriv->DynamicTxHighPowerLvl == TxHighPwrLevel_Level1) {143143 TxAGC[RF_PATH_A] = 0x10101010;144144 TxAGC[RF_PATH_B] = 0x10101010;···300300/* Currently, we cannot fully disable driver dynamic tx power mechanism301301 because it is referenced by BT coexist mechanism. */302302/* In the future, two mechanism shall be separated from each other and303303- maintained independantly. Thanks for Lanhsin's reminder. */303303+ maintained independently. Thanks for Lanhsin's reminder. */304304305305 if (pdmpriv->DynamicTxHighPowerLvl == TxHighPwrLevel_Level1)306306 writeVal = 0x14141414;
+1-1
drivers/staging/rtl8723au/hal/rtl8723au_xmit.c
···252252 }253253254254 /* (1) The sequence number of each non-Qos frame / broadcast / multicast / */255255- /* mgnt frame should be controled by Hw because Fw will also send null data */255255+ /* mgnt frame should be controlled by Hw because Fw will also send null data */256256 /* which we cannot control when Fw LPS enable. */257257 /* --> default enable non-Qos data sequense number. 2010.06.23. by tynli. */258258 /* (2) Enable HW SEQ control for beacon packet, because we use Hw beacon. */
+1-1
drivers/staging/rtl8723au/hal/usb_halinit.c
···360360 /* 2010.09.08 hpfan */361361 /* Since ADF is removed from RCR, ps-poll will not be indicate362362 to driver, */363363- /* RxFilterMap should mask ps-poll to gurantee AP mode can363363+ /* RxFilterMap should mask ps-poll to guarantee AP mode can364364 rx ps-poll. */365365 /* value16 = 0x400; */366366 /* rtl8723au_write16(Adapter, REG_RXFLTMAP1, value16); */
+1-1
drivers/staging/rtl8723au/include/odm_debug.h
···2222/* Define the debug levels */2323/* */2424/* 1. DBG_TRACE and DBG_LOUD are used for normal cases. */2525-/* So that, they can help SW engineer to develope or trace states changed */2525+/* So that, they can help SW engineer to develop or trace states changed */2626/* and also help HW enginner to trace every operation to and from HW, */2727/* e.g IO, Tx, Rx. */2828/* */
+1-1
drivers/staging/rtl8723au/include/rtl8723a_hal.h
···193193/* | | Reserved(14bytes) | */194194/* */195195196196-/* PG data exclude header, dummy 6 bytes frome CP test and reserved 1byte. */196196+/* PG data exclude header, dummy 6 bytes from CP test and reserved 1byte. */197197#define EFUSE_OOB_PROTECT_BYTES 15198198199199#define EFUSE_REAL_CONTENT_LEN_8723A 512
+1-1
drivers/staging/rtl8723au/include/rtw_cmd.h
···657657658658Result:6596590x00: success660660-0x01: sucess, and check Response.660660+0x01: success, and check Response.6616610x02: cmd ignored due to duplicated sequcne number6626620x03: cmd dropped due to invalid cmd code6636630x04: reserved.
+5-5
drivers/staging/rtl8723au/include/rtw_mlme.h
···5050#define WIFI_SITE_MONITOR 0x0000080051515252#define WIFI_MP_STATE 0x000100005353-#define WIFI_MP_CTX_BACKGROUND 0x00020000 /* in continous tx background */5454-#define WIFI_MP_CTX_ST 0x00040000 /* in continous tx with single-tone */5555-#define WIFI_MP_CTX_BACKGROUND_PENDING 0x00080000 /* pending in continous tx background due to out of skb */5656-#define WIFI_MP_CTX_CCK_HW 0x00100000 /* in continous tx */5757-#define WIFI_MP_CTX_CCK_CS 0x00200000 /* in continous tx with carrier suppression */5353+#define WIFI_MP_CTX_BACKGROUND 0x00020000 /* in continuous tx background */5454+#define WIFI_MP_CTX_ST 0x00040000 /* in continuous tx with single-tone */5555+#define WIFI_MP_CTX_BACKGROUND_PENDING 0x00080000 /* pending in continuous tx background due to out of skb */5656+#define WIFI_MP_CTX_CCK_HW 0x00100000 /* in continuous tx */5757+#define WIFI_MP_CTX_CCK_CS 0x00200000 /* in continuous tx with carrier suppression */5858#define WIFI_MP_LPBK_STATE 0x0040000059596060#define _FW_UNDER_LINKING WIFI_UNDER_LINKING
+1-1
drivers/staging/rtl8723au/include/rtw_mlme_ext.h
···103103/* Note: */104104/* We just add new channel plan when the new channel plan is different from any of the following */105105/* channel plan. */106106-/* If you just wnat to customize the acitions(scan period or join actions) about one of the channel plan, */106106+/* If you just want to customize the actions(scan period or join actions) about one of the channel plan, */107107/* customize them in struct rt_channel_info in the RT_CHANNEL_LIST. */108108/* */109109enum { /* _RT_CHANNEL_DOMAIN */
+1-1
drivers/staging/rtl8723au/include/sta_info.h
···332332 */333333 struct sta_info *sta_aid[NUM_STA];334334335335- u16 sta_dz_bitmap;/* only support 15 stations, staion aid bitmap335335+ u16 sta_dz_bitmap;/* only support 15 stations, station aid bitmap336336 * for sleeping sta. */337337 u16 tim_bitmap;/* only support 15 stations,338338 * aid=0~15 mapping bit0~bit15 */
+1-1
drivers/staging/sm750fb/ddk750_help.h
···1414#warning "big endian on target cpu and enable nature big endian support of 718 capability !"1515#define PEEK32(addr) __raw_readl(mmio750 + addr)1616#define POKE32(addr,data) __raw_writel(data, mmio750 + addr)1717-#else /* software control endianess */1717+#else /* software control endianness */1818#define PEEK32(addr) readl(addr + mmio750)1919#define POKE32(addr,data) writel(data, addr + mmio750)2020#endif
+1-1
drivers/staging/sm750fb/ddk750_mode.c
···162162163163 /* May a hardware bug or just my test chip (not confirmed).164164 * PANEL_DISPLAY_CTRL register seems requiring few writes165165- * before a value can be succesfully written in.165165+ * before a value can be successfully written in.166166 * Added some masks to mask out the reserved bits.167167 * Note: This problem happens by design. The hardware will wait for the168168 * next vertical sync to turn on/off the plane.
···256256257257258258259259-/* below sii164 function is not neccessary */259259+/* below sii164 function is not necessary */260260261261#ifdef SII164_FULL_FUNCTIONS262262···388388389389/*390390 * sii164CheckInterrupt391391- * Checks if interrupt has occured.391391+ * Checks if interrupt has occurred.392392 *393393 * Output:394394 * 0 - No interrupt
+4-4
drivers/staging/sm750fb/readme
···55 - 2D acceleration66 - 16MB integrated video memory7788-About the kernel module paramter of driver:88+About the kernel module parameter of driver:991010 Use 1280,8bpp index color and 60 hz mode:1111 insmod ./sm750fb.ko g_option="1280x1024-8@60"···2020 and user can use con2fb to link fbX and ttyX21212222 Notes:2323- 1) if you build the driver with built-in method, the paramter2323+ 1) if you build the driver with built-in method, the parameter2424 you edited in the grub config file will be also the2525- same format as above modular method,but additionaly add2525+ same format as above modular method,but additionally add2626 "video=sm750fb:"2727 ahead of parameters,so,it looks like:2828 video=sm750fb:noaccel,1280x1024@60,otherparam,etc...2929 it equal to modular method with below command:3030 insmod ./sm750fb.ko g_option="noaccel:1280x1024@60:otherparm:etc..."31313232- 2) if you put 800x600 into the paramter without bpp and3232+ 2) if you put 800x600 into the parameter without bpp and3333 refresh rate, kernel driver will defaulty use 16bpp and 60hz34343535Important:
+6-6
drivers/staging/sm750fb/sm750.c
···207207208208 /*209209 * If not use spin_lock,system will die if user load driver210210- * and immediatly unload driver frequently (dual)210210+ * and immediately unload driver frequently (dual)211211 */212212 if (share->dual)213213 spin_lock(&share->slock);···239239240240 /*241241 * If not use spin_lock, system will die if user load driver242242- * and immediatly unload driver frequently (dual)242242+ * and immediately unload driver frequently (dual)243243 */244244 if (share->dual)245245 spin_lock(&share->slock);···283283_do_work:284284 /*285285 * If not use spin_lock, system will die if user load driver286286- * and immediatly unload driver frequently (dual)286286+ * and immediately unload driver frequently (dual)287287 */288288 if (share->dual)289289 spin_lock(&share->slock);···479479480480 ret = pci_set_power_state(pdev, PCI_D0);481481 if (ret) {482482- pr_err("error:%d occured in pci_set_power_state\n", ret);482482+ pr_err("error:%d occurred in pci_set_power_state\n", ret);483483 return ret;484484 }485485···488488 pci_restore_state(pdev);489489 ret = pci_enable_device(pdev);490490 if (ret) {491491- pr_err("error:%d occured in pci_enable_device\n", ret);491491+ pr_err("error:%d occurred in pci_enable_device\n", ret);492492 return ret;493493 }494494 pci_set_master(pdev);···11701170 pr_err("Unable to setup MTRR.\n");11711171 } else {11721172 share->mtrr.vram_added = 1;11731173- pr_info("MTRR added succesfully\n");11731173+ pr_info("MTRR added successfully\n");11741174 }11751175 }11761176#endif
+2-2
drivers/staging/sm750fb/sm750_accel.c
···246246#if 0247247 /* Program pitch (distance between the 1st points of two adjacent lines).248248 Note that input pitch is BYTE value, but the 2D Pitch register uses249249- pixel values. Need Byte to pixel convertion.249249+ pixel values. Need Byte to pixel conversion.250250 */251251 if(Bpp == 3){252252 sx *= 3;···362362#if 0363363 /* Program pitch (distance between the 1st points of two adjacent lines).364364 Note that input pitch is BYTE value, but the 2D Pitch register uses365365- pixel values. Need Byte to pixel convertion.365365+ pixel values. Need Byte to pixel conversion.366366 */367367 if(bytePerPixel == 3 ){368368 dx *= 3;
+1-1
drivers/staging/sm750fb/sm750_hw.h
···6565};66666767/* sm750_share stands for a presentation of two frame buffer6868- that use one sm750 adaptor, it is similiar to the super class of lynx_share6868+ that use one sm750 adaptor, it is similar to the super class of lynx_share6969 in C++7070*/7171
+1-1
drivers/staging/unisys/include/guestlinuxdebug.h
···135135#define POSTCODE_SEVERITY_ERR DIAG_SEVERITY_ERR136136#define POSTCODE_SEVERITY_WARNING DIAG_SEVERITY_WARNING137137#define POSTCODE_SEVERITY_INFO DIAG_SEVERITY_PRINT /* TODO-> Info currently138138- * doesnt show, so we138138+ * doesn't show, so we139139 * set info=warning */140140/* example call of POSTCODE_LINUX_2(VISOR_CHIPSET_PC, POSTCODE_SEVERITY_ERR);141141 * Please also note that the resulting postcode is in hex, so if you are
+1-1
drivers/staging/vt6655/rxtx.c
···656656 uRTSFrameLen -= 4;657657 }658658659659- /* Note: So far RTSHead dosen't appear in ATIM & Beacom DMA, so we don't need to take them into account.659659+ /* Note: So far RTSHead doesn't appear in ATIM & Beacom DMA, so we don't need to take them into account.660660 Otherwise, we need to modify codes for them. */661661 if (byPktType == PK_TYPE_11GB || byPktType == PK_TYPE_11GA) {662662 if (byFBOption == AUTO_FB_NONE) {