09 Jan, 2012
1 commit
-
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (53 commits)
Kconfig: acpi: Fix typo in comment.
misc latin1 to utf8 conversions
devres: Fix a typo in devm_kfree comment
btrfs: free-space-cache.c: remove extra semicolon.
fat: Spelling s/obsolate/obsolete/g
SCSI, pmcraid: Fix spelling error in a pmcraid_err() call
tools/power turbostat: update fields in manpage
mac80211: drop spelling fix
types.h: fix comment spelling for 'architectures'
typo fixes: aera -> area, exntension -> extension
devices.txt: Fix typo of 'VMware'.
sis900: Fix enum typo 'sis900_rx_bufer_status'
decompress_bunzip2: remove invalid vi modeline
treewide: Fix comment and string typo 'bufer'
hyper-v: Update MAINTAINERS
treewide: Fix typos in various parts of the kernel, and fix some comments.
clockevents: drop unknown Kconfig symbol GENERIC_CLOCKEVENTS_MIGR
gpio: Kconfig: drop unknown symbol 'CS5535_GPIO'
leds: Kconfig: Fix typo 'D2NET_V2'
sound: Kconfig: drop unknown symbol ARCH_CLPS7500
...Fix up trivial conflicts in arch/powerpc/platforms/40x/Kconfig (some new
kconfig additions, close to removed commented-out old ones)
02 Dec, 2011
1 commit
-
The below patch fixes some typos in various parts of the kernel, as well as fixes some comments.
Please let me know if I missed anything, and I will try to get it changed and resent.Signed-off-by: Justin P. Mattock
Acked-by: Randy Dunlap
Signed-off-by: Jiri Kosina
19 Nov, 2011
1 commit
-
This converts the drivers in drivers/staging/* to use the
module_usb_driver() macro which makes the code smaller and a bit
simpler.Added bonus is that it removes some unneeded kernel log messages about
drivers loading and/or unloading.Cc: "David Täht"
Cc: Marek Belisko
Cc: Al Cho
Cc: Forest Bond
Cc: Pavel Machek
Cc: Huajun Li
Cc: Zac Storer
Cc: Randy Dunlap
Cc: Mauro Carvalho Chehab
Cc: edwin_rong
Cc: Ben Hutchings
Cc: Julia Lawall
Cc: Ilia Mirkin
Cc: Joe Perches
Cc: Pekka Enberg
Cc: "John W. Linville"
Cc: Paul Gortmaker
Cc: Larry Finger
Signed-off-by: Greg Kroah-Hartman
24 Aug, 2011
2 commits
-
Casting (void *) value returned by kmalloc is useless
as mentioned in Documentation/CodingStyle, Chap 14.The semantic patch that makes this output is available
in scripts/coccinelle/api/alloc/drop_kmalloc_cast.cocci.More information about semantic patching is available at
http://coccinelle.lip6.fr/Signed-off-by: Thomas Meyer
Signed-off-by: Greg Kroah-Hartman -
Fix sparse warnings in staging/ft1000/:
drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c:69:7: warning: obsolete struct initializer, use C99 syntax
and make many functions & data static. Examples:
drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c:65:23: warning: symbol 'fw_entry' was not declared. Should it be static?
drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c:836:6: warning: symbol 'ft1000_send_cmd' was not declared. Should it be static?
drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c:1014:6: warning: symbol 'ft1000_proc_drvmsg' was not declared. Should it be static?
drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c:1788:5: warning: symbol 'ft1000_copy_down_pkt' was not declared. Should it be static?
drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c:2096:6: warning: symbol 'stop_ft1000_card' was not declared. Should it be static?
drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c:2155:19: warning: symbol 'init_ft1000_card' was not declared. Should it be static?rivers/staging/ft1000/ft1000-pcmcia/ft1000_cs.c:172:5: warning: symbol 'ft1000_confcheck' was not declared. Should it be static?
drivers/staging/ft1000/ft1000-pcmcia/ft1000_proc.c:50:5: warning: symbol 'ft1000ReadProc' was not declared. Should it be static?
drivers/staging/ft1000/ft1000-pcmcia/ft1000_proc.c:194:6: warning: symbol 'ft1000InitProc' was not declared. Should it be static?
drivers/staging/ft1000/ft1000-pcmcia/ft1000_proc.c:207:6: warning: symbol 'ft1000CleanupProc' was not declared. Should it be static?Signed-off-by: Randy Dunlap
Signed-off-by: Greg Kroah-Hartman
03 Aug, 2011
1 commit
-
Seen during an allmodconfig build for sparc:
CC [M] drivers/staging/ft1000/ft1000-pcmcia/ft1000_proc.o
In file included from drivers/staging/ft1000/ft1000-pcmcia/ft1000_proc.c:26:
drivers/staging/ft1000/ft1000-pcmcia/ft1000.h: In function 'ft1000_read_reg':
drivers/staging/ft1000/ft1000-pcmcia/ft1000.h:80: error: implicit declaration of function 'inw'
drivers/staging/ft1000/ft1000-pcmcia/ft1000.h: In function 'ft1000_write_reg':
drivers/staging/ft1000/ft1000-pcmcia/ft1000.h:86: error: implicit declaration of function 'outw'Signed-off-by: Paul Gortmaker
Signed-off-by: Greg Kroah-Hartman
26 Jul, 2011
1 commit
-
* 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6: (741 commits)
staging:iio:meter:ade7753 should be 16 bit read not 8 bit for mode register.
staging:iio:kfifo_buf fix double initialization of the ring device structure.
staging:iio:accel:lis3l02dq: fix incorrect pointer passed to spi_set_drvdata.
staging:iio:imu fix missing register table index for some channels
spectra: enable device before poking it
staging: rts_pstor: Fix a miswriting
staging/lirc_bt829: Return -ENODEV when no hardware is found.
staging/lirc_parallel: remove pointless prototypes.
staging/lirc_parallel: fix panic on rmmod
staging:iio:adc:ad7476: Incorrect pointer into spi_set_drvdata.
Staging: zram: Fix kunmapping order
Revert "gma500: Fix dependencies"
gma500: Add medfield header
gma500: wire up the mrst i2c bus from chip_info
gma500: Fix DPU build
gma500: Clean up the DPU config and make it runtime
gma500: resync with Medfield progress
gma500: Use the mrst helpers and power control for mode commit
gma500@ Fix backlight range error
gma500: More Moorestown muddle meddling means MM maybe might modeset
...Fix up fairly trivial conflicts all over, mostly due to header file
cleanup conflicts, but some deleted files and some just context changes:
- Documentation/feature-removal-schedule.txt
- drivers/staging/bcm/headers.h
- drivers/staging/brcm80211/brcmfmac/dhd_linux.c
- drivers/staging/brcm80211/brcmfmac/dhd_sdio.c
- drivers/staging/brcm80211/brcmfmac/wl_cfg80211.h
- drivers/staging/brcm80211/brcmfmac/wl_iw.c
- drivers/staging/et131x/et131x_netdev.c
- drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c
- drivers/staging/rtl8192e/r8192E.h
- drivers/staging/usbip/userspace/src/utils.h
13 Jul, 2011
1 commit
-
Almost all of these have long outstayed their welcome.
And for every one of these macros, there are 10 features for which we
didn't add macros.Let's just delete them all, and get out of habit of doing things this
way.Signed-off-by: David S. Miller
Acked-by: Stephen Hemminger
Acked-by: Arnd Bergmann
06 Jul, 2011
29 commits
-
Merge common definitions from ft1000-usb and ft1000-pcmcia drivers to
a common ft1000.h file.
This revealed two odd things in ft1000-usb which might be bugs so add
comments about them to ft1000_usb.h.Signed-off-by: Ondrej Zary
Signed-off-by: Greg Kroah-Hartman -
Remove support for v5 firmware images as all known firmware images are v6.
Signed-off-by: Ondrej Zary
Signed-off-by: Greg Kroah-Hartman -
PSEUDOSZ seems to define struct pseudo_hdr size.
Remove it and use sizeof(struct pseudo_hdr) directly.Signed-off-by: Ondrej Zary
Signed-off-by: Greg Kroah-Hartman -
Major CodingStyle fixes in ft1000.h
Signed-off-by: Ondrej Zary
Signed-off-by: Greg Kroah-Hartman -
Remove useless ft1000_release() function.
Signed-off-by: Ondrej Zary
Signed-off-by: Greg Kroah-Hartman -
Remove unused includes from ft1000_cs.c
Signed-off-by: Ondrej Zary
Signed-off-by: Greg Kroah-Hartman -
Minor coding style fixes in ft1000_cs.c
Signed-off-by: Ondrej Zary
Signed-off-by: Greg Kroah-Hartman -
Functions ft1000_asic_read() and ft1000_asic_write() are unused. Remove them.
Signed-off-by: Ondrej Zary
Signed-off-by: Greg Kroah-Hartman -
Remove misleading, useless and template comments from ft1000_cs.c
Signed-off-by: Ondrej Zary
Signed-off-by: Greg Kroah-Hartman -
Remove useless debugging from ft1000_cs.c
Signed-off-by: Ondrej Zary
Signed-off-by: Greg Kroah-Hartman -
Remove unused defines from ft1000_cs.c
Signed-off-by: Ondrej Zary
Signed-off-by: Greg Kroah-Hartman -
Remove custom defines for standard types (u8, u16, u32...)
Signed-off-by: Ondrej Zary
Signed-off-by: Greg Kroah-Hartman -
Remove 13 unused fields from struct ft1000_info.
Signed-off-by: Ondrej Zary
Signed-off-by: Greg Kroah-Hartman -
Remove firmware download typedefs:
DFP_FILE_HDR, DSP_FILE_HDR_5, DSP_IMAGE_INFO, DSP_IMAGE_INFO_V6Signed-off-by: Ondrej Zary
Signed-off-by: Greg Kroah-Hartman -
Delete local_info_t typedef along with the struct as its "link" member was
not used. Use link->priv to store net_device directly.Signed-off-by: Ondrej Zary
Signed-off-by: Greg Kroah-Hartman -
Delete unused DPRAM_BLK typedefs.
Signed-off-by: Ondrej Zary
Signed-off-by: Greg Kroah-Hartman -
Remove FT1000_INFO typedefs.
Signed-off-by: Ondrej Zary
Signed-off-by: Greg Kroah-Hartman -
Remove PROV_RECORD typedefs.
Signed-off-by: Ondrej Zary
Signed-off-by: Greg Kroah-Hartman -
Delete unused APP_INFO_BLOCK typedefs and associated variables.
Signed-off-by: Ondrej Zary
Signed-off-by: Greg Kroah-Hartman -
Delete unused DSPHIBERNATE typedefs.
Signed-off-by: Ondrej Zary
Signed-off-by: Greg Kroah-Hartman -
Remove DSPINITMSG typedefs.
Signed-off-by: Ondrej Zary
Signed-off-by: Greg Kroah-Hartman -
Delete unused TIMEMSG typedefs.
Signed-off-by: Ondrej Zary
Signed-off-by: Greg Kroah-Hartman -
Remove MEDIAMSG typedefs.
Signed-off-by: Ondrej Zary
Signed-off-by: Greg Kroah-Hartman -
Remove DRVMSG typedefs.
Signed-off-by: Ondrej Zary
Signed-off-by: Greg Kroah-Hartman -
Remove PSEUDO_HDR typedefs.
Signed-off-by: Ondrej Zary
Signed-off-by: Greg Kroah-Hartman -
Shorten ft1000_read_reg() to single line and move it to ft1000.h along with
ft1000_write_reg() and delete ft1000_dev.hSigned-off-by: Ondrej Zary
Signed-off-by: Greg Kroah-Hartman -
Remove useless ft1000.conf file.
Signed-off-by: Ondrej Zary
Signed-off-by: Greg Kroah-Hartman -
Delete DEBUG statement that prevents compilation with FT_DEBUG enabled.
Signed-off-by: Ondrej Zary
Signed-off-by: Greg Kroah-Hartman -
Don't crash with NULL pointer dereference on load because of empty .name.
Signed-off-by: Ondrej Zary
Signed-off-by: Greg Kroah-Hartman
25 May, 2011
1 commit
-
* git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6:
pcmcia: Make struct pcmcia_device_id const, sound drivers edition
staging: pcmcia: Convert pcmcia_device_id declarations to const
pcmcia: Convert pcmcia_device_id declarations to const
pcmcia: Make declaration and uses of struct pcmcia_device_id const
pcmcia/sa1100: put sa11x0_pcmcia_hw_init[] to .devinit.data
24 May, 2011
1 commit
-
* 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6: (970 commits)
staging: usbip: replace usbip_u{dbg,err,info} and printk with dev_ and pr_
staging:iio: Trivial kconfig reorganization and uniformity improvements.
staging:iio:documenation partial update.
staging:iio: use pollfunc allocation helpers in remaining drivers.
staging:iio:max1363 misc cleanups and use of for_each_bit_set to simplify event code spitting out.
staging:iio: implement an iio_info structure to take some of the constant elements out of iio_dev.
staging:iio:meter:ade7758: Use private data space from iio_allocate_device
staging:iio:accel:lis3l02dq make write_reg_8 take value not a pointer to value.
staging:iio: ring core cleanups + check if read_last available in lis3l02dq
staging:iio:core cleanup: squash tiny wrappers and use dev_set_name to handle creation of event interface name.
staging:iio: poll func allocation clean up.
staging:iio:ad7780 trivial unused header cleanup.
staging:iio:adc: AD7780: Use private data space from iio_allocate_device + trivial fixes
staging:iio:adc:AD7780: Convert to new channel registration method
staging:iio:adc: AD7606: Drop dev_data in favour of iio_priv()
staging:iio:adc: AD7606: Consitently use indio_dev
staging:iio: Rip out helper for software rings.
staging:iio:adc:AD7298: Use private data space from iio_allocate_device
staging:iio: rationalization of different buffer implementation hooks.
staging:iio:imu:adis16400 avoid allocating rx, tx, and state separately from iio_dev.
...Fix up trivial conflicts in
- drivers/staging/intel_sst/intelmid.c: patches applied in both branches
- drivers/staging/rt2860/common/cmm_data_{pci,usb}.c: removed vs spelling
- drivers/staging/usbip/vhci_sysfs.c: trivial header file inclusion
06 May, 2011
1 commit
-
Reduces data, increases text.
Signed-off-by: Joe Perches
Signed-off-by: Dominik Brodowski