u-boot/common
Stephen Warren 712fbcf384 checkpatch whitespace cleanups
This avoids the following checkpatch warning in later patches:

ERROR: "(foo*)" should be "(foo *)"
ERROR: space required before the open brace '{'
ERROR: space prohibited before that close parenthesis ')'
ERROR: spaces required around that '||' (ctx:WxV)
WARNING: space prohibited between function name and open parenthesis '('
WARNING: line over 80 characters

This fixes all the white-space warnings/errors in my subsequent patch,
and within this current patch. A number of other checkpatch warnings
and errors are still present in this patch itself, but are beyond simple
whitespace fixes, so are not solved by this patch.

v2: New patch

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
2011-10-22 01:13:35 +02:00
..
bedbug.c common: Move conditional compilation to Makefile 2008-08-13 01:40:38 +02:00
cmd_ambapp.c various cmd_* files: fixed layout a little bit 2010-08-09 01:07:37 +02:00
cmd_bdinfo.c nds32: common bdinfo, bootm, image support 2011-10-22 00:54:06 +02:00
cmd_bedbug.c cmd_usage(): simplify return code handling 2010-07-24 20:43:57 +02:00
cmd_bmp.c cmd_bmp.c: message about compressed formats is debug info only. 2011-02-09 21:32:20 +01:00
cmd_boot.c make go optional 2011-04-13 15:56:39 -04:00
cmd_bootldr.c Blackfin: bootldr: use common defines 2011-04-08 00:44:27 -04:00
cmd_bootm.c checkpatch whitespace cleanups 2011-10-22 01:13:35 +02:00
cmd_cache.c command/cmd_cache.c: Add optional flush arguments 2011-07-26 14:30:08 +02:00
cmd_console.c Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
cmd_cplbinfo.c various cmd_* files: fixed layout a little bit 2010-08-09 01:07:37 +02:00
cmd_cramfs.c cramfs: make cramfs usable without a NOR flash 2011-05-10 22:47:32 +02:00
cmd_dataflash_mmc_mux.c various cmd_* files: remove the command name from the help message 2010-08-09 01:06:34 +02:00
cmd_date.c cmd_date: constify 2010-11-28 21:58:24 +01:00
cmd_dcr.c cmd_usage(): simplify return code handling 2010-07-24 20:43:57 +02:00
cmd_df.c cmd_usage(): simplify return code handling 2010-07-24 20:43:57 +02:00
cmd_diag.c Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
cmd_display.c led_display: split led display support into generic and hw-dependent parts 2010-10-12 22:44:33 +02:00
cmd_dtt.c hwmon: do not init sensors on startup 2011-08-04 23:30:38 +02:00
cmd_echo.c Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
cmd_eeprom.c cosmetic: spell fixes etc. 2011-07-28 16:32:50 +02:00
cmd_elf.c cmd_elf: add an option for loading ELFs according to PHDRs 2010-10-06 22:42:14 +02:00
cmd_exit.c Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
cmd_ext2.c cmd_usage(): simplify return code handling 2010-07-24 20:43:57 +02:00
cmd_fat.c fs/fat: Big code cleanup. 2010-07-24 20:54:46 +02:00
cmd_fdc.c autostart: unify duplicated logic into the bootm code 2011-07-25 22:18:26 +02:00
cmd_fdos.c Convert ISO-8859 files to UTF-8 2011-08-04 23:34:02 +02:00
cmd_fdt.c common/cmd_fdt.c: fix wrong data displayed in fdt print 2011-06-01 22:44:50 +02:00
cmd_fitupd.c add command fitupd to run an update from a FIT image 2011-07-26 16:58:48 +02:00
cmd_flash.c GCC4.6: Squash warning in cmd_flash.c 2011-10-01 23:25:19 +02:00
cmd_fpga.c fpga: constify to fix build warning 2011-08-01 15:19:40 +02:00
cmd_gpio.c gpio: check request result 2011-04-13 15:57:00 -04:00
cmd_help.c Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
cmd_i2c.c cosmetic: spell fixes etc. 2011-07-28 16:32:50 +02:00
cmd_ide.c IDE: Fix complaints about strict aliasing in cmd_ide.c 2011-10-01 21:53:39 +02:00
cmd_immap.c Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
cmd_irq.c cmd_usage(): simplify return code handling 2010-07-24 20:43:57 +02:00
cmd_itest.c itest: fix result of string compares 2011-02-15 21:45:55 +01:00
cmd_jffs2.c cmd_jffs2: Fix get_part_sector_size_nor() overflow bug 2011-01-19 00:04:43 +01:00
cmd_ldrinfo.c Blackfin: ldrinfo: new command 2011-04-08 00:44:27 -04:00
cmd_led.c led: remove camel casing of led identifiers globally 2011-09-13 08:30:52 +02:00
cmd_license.c various cmd_* files: fixed layout a little bit 2010-08-09 01:07:37 +02:00
cmd_load.c cmd_usage(): simplify return code handling 2010-07-24 20:43:57 +02:00
cmd_log.c cmd_usage(): simplify return code handling 2010-07-24 20:43:57 +02:00
cmd_mac.c cmd_mac: fix help for 'mac read' 2011-07-28 16:41:06 +02:00
cmd_md5sum.c Fix: watchdog timed out, if using md5 command 2011-07-26 14:36:07 +02:00
cmd_mdio.c common/cmd_mdio.c: fix compile warning 2011-04-30 23:09:48 +02:00
cmd_mem.c sandbox: Use uintptr_t for 32/64-bit compatibility 2011-10-17 23:56:59 +02:00
cmd_mfsl.c cmd_usage(): simplify return code handling 2010-07-24 20:43:57 +02:00
cmd_mgdisk.c various cmd_* files: remove the command name from the help message 2010-08-09 01:06:34 +02:00
cmd_mii.c miiphy: convert to linux/mii.h 2011-01-09 18:06:50 +01:00
cmd_misc.c cmd_usage(): simplify return code handling 2010-07-24 20:43:57 +02:00
cmd_mmc_spi.c mmc_spi: add mmc_init call 2011-04-29 03:20:01 -05:00
cmd_mmc.c mmc: rescan fails on empty slot 2011-07-15 20:29:22 -05:00
cmd_mp.c powerpc/mp: add support for discontiguous cores 2011-09-29 19:01:05 -05:00
cmd_mtdparts.c CFI: fix warning: variable ... set but not used 2011-10-09 23:24:49 +02:00
cmd_nand.c NAND: Make page, erase, oob size available via cmd_nand 2011-10-03 18:35:12 -05:00
cmd_net.c autostart: unify duplicated logic into the bootm code 2011-07-25 22:18:26 +02:00
cmd_nvedit.c GCC4.6: Squash warning in cmd_nvedit.c 2011-10-01 23:25:57 +02:00
cmd_onenand.c onenand: add yaffs write command 2010-12-17 14:32:12 -06:00
cmd_otp.c Blackfin: otp: fix build after constification of args[] 2010-10-02 16:00:40 -04:00
cmd_pci.c pci: Clean up PCI info when CONFIG_PCI_SCAN_SHOW 2010-11-14 23:46:46 +01:00
cmd_pcmcia.c Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
cmd_portio.c cmd_usage(): simplify return code handling 2010-07-24 20:43:57 +02:00
cmd_pxe.c Add pxe command 2011-10-17 22:25:35 +02:00
cmd_reginfo.c mpc85xx: Add reginfo command 2010-07-16 10:55:09 -05:00
cmd_reiser.c cmd_usage(): simplify return code handling 2010-07-24 20:43:57 +02:00
cmd_sata.c disk/part.c: Make features optional 2011-07-26 14:10:14 +02:00
cmd_scsi.c disk/part.c: Make features optional 2011-07-26 14:10:14 +02:00
cmd_setexpr.c cmd_usage(): simplify return code handling 2010-07-24 20:43:57 +02:00
cmd_sf.c cmd_sf: Fix compiler warning 2011-10-05 22:22:17 +02:00
cmd_sha1sum.c Fix: watchdog timed out, if using sha1 command 2011-07-26 14:33:10 +02:00
cmd_source.c Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
cmd_spi.c sspi: add options to specify bus and mode 2010-10-06 20:50:38 -04:00
cmd_spibootldr.c various cmd_* files: fixed layout a little bit 2010-08-09 01:07:37 +02:00
cmd_strings.c various cmd_* files: fixed layout a little bit 2010-08-09 01:07:37 +02:00
cmd_terminal.c Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
cmd_test.c Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
cmd_time.c cmd_time: add time command 2011-10-09 23:24:48 +02:00
cmd_tsi148.c TSI148: Fix argument parsing 2010-10-12 23:31:10 +02:00
cmd_ubi.c GCC4.6: Squash warning in cmd_ubi.c: 2011-10-01 23:34:21 +02:00
cmd_ubifs.c UBI/UBIFS: Automatically unmount UBIFS volume upon UBI partition change 2010-12-03 18:24:04 +01:00
cmd_universe.c Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
cmd_unzip.c md5sum/sha1sum/unzip: split out of mondo mem file 2011-04-13 15:56:47 -04:00
cmd_usb.c common/cmd_usb.c: fix warning: variable ... set but not used 2011-10-09 23:24:49 +02:00
cmd_version.c unify version_string 2011-07-28 17:22:53 +02:00
cmd_ximg.c checkpatch whitespace cleanups 2011-10-22 01:13:35 +02:00
cmd_yaffs2.c YAFFS2: cmd_yaffs2.c - fix build warnings 2011-09-10 00:00:15 +02:00
command.c Replace space and tab checks with isblank 2011-10-17 22:25:34 +02:00
console.c console: Implement pre-console buffer 2011-10-05 22:03:09 +02:00
ddr_spd.c mpc8xxx: DDR2/DDR3: Clean up DIMM-type switch statements 2011-04-04 09:24:43 -05:00
dlmalloc.c utx8245: fix build breakage due to assert() 2011-09-10 16:05:43 +02:00
dlmalloc.src * Code cleanup: 2003-06-27 21:31:46 +00:00
env_common.c constify default env 2011-07-26 16:34:22 +02:00
env_dataflash.c hashtable: drop all non-reentrant versions 2010-12-17 21:07:14 +01:00
env_eeprom.c hashtable: drop all non-reentrant versions 2010-12-17 21:07:14 +01:00
env_embedded.c env: allow people to force envcrc building 2011-07-26 16:33:49 +02:00
env_flash.c constify default env 2011-07-26 16:34:22 +02:00
env_mgdisk.c New implementation for internal handling of environment variables. 2010-09-19 19:29:48 +02:00
env_mmc.c env_mmc: Allow board code to override the environment address 2011-04-04 22:26:16 -05:00
env_nand.c env_nand: zero-initialize variable nand_erase_options 2011-05-24 16:08:44 -05:00
env_nowhere.c New implementation for internal handling of environment variables. 2010-09-19 19:29:48 +02:00
env_nvram.c hashtable: drop all non-reentrant versions 2010-12-17 21:07:14 +01:00
env_onenand.c hashtable: drop all non-reentrant versions 2010-12-17 21:07:14 +01:00
env_sf.c fix redundant environment for serial flash 2011-04-28 00:46:01 +02:00
exports.c x86: Rename i386 to x86 2011-04-13 19:43:28 +10:00
fdt_support.c fdt: Add new fdt_set_node_status & fdt_set_status_by_alias helpers 2011-10-18 00:36:55 -05:00
flash.c cfi_flash: Simplify dynamic flash bank number detection 2010-09-20 15:08:51 +02:00
hush.c common: add run_command2 for running simple or hush commands 2011-10-17 22:25:34 +02:00
hwconfig.c Minor Coding Style Cleanup. 2011-02-02 22:36:10 +01:00
image.c checkpatch whitespace cleanups 2011-10-22 01:13:35 +02:00
iomux.c stdio/device: rework function naming convention 2009-07-18 00:27:46 +02:00
kallsyms.c Add support for Linux-like kallsysms 2009-06-12 20:45:48 +02:00
kgdb_stubs.c kgdb: add default generic stubs 2010-01-18 00:23:00 +01:00
kgdb.c Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
lcd.c GCC4.6: Squash warnings in lcd.c 2011-10-01 23:26:35 +02:00
lynxkdi.c checkpatch whitespace cleanups 2011-10-22 01:13:35 +02:00
main.c Add pxe command 2011-10-17 22:25:35 +02:00
Makefile sandbox: Disable built-in malloc 2011-10-17 23:56:57 +02:00
memsize.c Remove volatile qualifier in get_ram_size() calls 2011-07-17 17:11:53 +02:00
menu.c common, menu: use abortboot for menu timeout 2011-10-17 22:25:33 +02:00
miiphyutil.c miiphy: use strncpy() not sprintf() 2011-07-26 14:00:24 +02:00
modem.c make MODEM SUPPORT generic instead of duplicate it 2009-06-12 20:45:47 +02:00
s_record.c Initial revision 2002-08-17 09:36:01 +00:00
serial.c serial: uartlite: Support for SERIAL_MULTI 2011-10-09 23:24:47 +02:00
stdio.c stdio: Fix a possible buffer overflow 2011-09-04 23:27:52 +02:00
system_map.c Add support for Linux-like kallsysms 2009-06-12 20:45:48 +02:00
update.c automatic update from FIT image: add optional address parameter 2011-07-26 16:58:44 +02:00
usb_kbd.c USB Consolidate descriptor definitions 2009-12-20 12:47:37 +01:00
usb_storage.c Revert "GCC4.6: Convert various empty macros to inline functions" 2011-10-04 21:19:19 +02:00
usb.c common/usb.c: fix warning: variable ... set but not used 2011-10-09 23:24:50 +02:00
xyzModem.c cleanup: Fix typos and misspellings in various files. 2011-07-28 21:27:36 +02:00