Skip to content

Commit

Permalink
Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6
Browse files Browse the repository at this point in the history
* git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6:
  Staging/vt66*: kconfig, depends on WLAN
  Staging: batman-adv: introduce missing kfree
  Staging: batman-adv: Add Kconfig dependancies on PROC_FS and PACKET.
  Staging: panel: Adjust range for PANEL_KEYPAD in Kconfig
  Staging: panel: Fix compilation error with custom lcd charset
  Staging: ramzswap: remove ARM specific d-cache hack
  Staging: rtl8192x: fix printk formats
  Staging: wlan-ng: fix Correct size given to memset
  staging: rtl8192su: add USB VID/PID for HWNUm-300
  staging: fix rtl8192su compilation errors with mac80211
  staging: fix rtl8192e compilation errors with mac80211
  Staging: fix rtl8187se compilation errors with mac80211
  Staging: rtl8192su: fix test for negative error in rtl8192_rx_isr()
  Staging: comedi: jr3_pci: Don't ioremap too much space. Check result.
  Staging: comedi: removed "depricated" from COMEDI_CB_BLOCK
  Staging: comedi: usbdux.c: fix locking up of the driver when the comedi ringbuffer runs empty
  Staging: dst: remove from the tree
  Staging: sm7xx: add a new framebuffer driver
  Staging: batman: fix debug Kconfig option
  • Loading branch information
Linus Torvalds committed Dec 23, 2009
2 parents 849254e + b2cd414 commit f988dac
Show file tree
Hide file tree
Showing 52 changed files with 3,696 additions and 4,672 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@ source "drivers/staging/frontier/Kconfig"

source "drivers/staging/dream/Kconfig"

source "drivers/staging/dst/Kconfig"

source "drivers/staging/pohmelfs/Kconfig"

source "drivers/staging/b3dfg/Kconfig"
Expand Down Expand Up @@ -145,5 +143,7 @@ source "drivers/staging/wavelan/Kconfig"

source "drivers/staging/netwave/Kconfig"

source "drivers/staging/sm7xx/Kconfig"

endif # !STAGING_EXCLUDE_BUILD
endif # STAGING
2 changes: 1 addition & 1 deletion drivers/staging/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ obj-$(CONFIG_RTL8192E) += rtl8192e/
obj-$(CONFIG_INPUT_MIMIO) += mimio/
obj-$(CONFIG_TRANZPORT) += frontier/
obj-$(CONFIG_DREAM) += dream/
obj-$(CONFIG_DST) += dst/
obj-$(CONFIG_POHMELFS) += pohmelfs/
obj-$(CONFIG_B3DFG) += b3dfg/
obj-$(CONFIG_IDE_PHISON) += phison/
Expand All @@ -53,3 +52,4 @@ obj-$(CONFIG_ARLAN) += arlan/
obj-$(CONFIG_WAVELAN) += wavelan/
obj-$(CONFIG_PCMCIA_WAVELAN) += wavelan/
obj-$(CONFIG_PCMCIA_NETWAVE) += netwave/
obj-$(CONFIG_FB_SM7XX) += sm7xx/
1 change: 1 addition & 0 deletions drivers/staging/batman-adv/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

config BATMAN_ADV
tristate "B.A.T.M.A.N. Advanced Meshing Protocol"
depends on PROC_FS && PACKET
default n
---help---

Expand Down
4 changes: 3 additions & 1 deletion drivers/staging/batman-adv/send.c
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,10 @@ void add_bcast_packet_to_list(unsigned char *packet_buff, int packet_len)
return;

forw_packet->packet_buff = kmalloc(packet_len, GFP_ATOMIC);
if (!forw_packet->packet_buff)
if (!forw_packet->packet_buff) {
kfree(forw_packet);
return;
}

forw_packet->packet_len = packet_len;
memcpy(forw_packet->packet_buff, packet_buff, forw_packet->packet_len);
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/comedi/comedi.h
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@

#define COMEDI_CB_EOS 1 /* end of scan */
#define COMEDI_CB_EOA 2 /* end of acquisition */
#define COMEDI_CB_BLOCK 4 /* DEPRECATED: convenient block size */
#define COMEDI_CB_BLOCK 4 /* data has arrived: wakes up read() / write() */
#define COMEDI_CB_EOBUF 8 /* DEPRECATED: end of buffer */
#define COMEDI_CB_ERROR 16 /* card error during acquisition */
#define COMEDI_CB_OVERFLOW 32 /* buffer overflow/underflow */
Expand Down
7 changes: 5 additions & 2 deletions drivers/staging/comedi/drivers/jr3_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -849,8 +849,11 @@ static int jr3_pci_attach(struct comedi_device *dev,
}

devpriv->pci_enabled = 1;
devpriv->iobase =
ioremap(pci_resource_start(card, 0), sizeof(struct jr3_t));
devpriv->iobase = ioremap(pci_resource_start(card, 0),
offsetof(struct jr3_t, channel[devpriv->n_channels]));
if (!devpriv->iobase)
return -ENOMEM;

result = alloc_subdevices(dev, devpriv->n_channels);
if (result < 0)
goto out;
Expand Down
5 changes: 4 additions & 1 deletion drivers/staging/comedi/drivers/usbdux.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#define DRIVER_VERSION "v2.3"
#define DRIVER_VERSION "v2.4"
#define DRIVER_AUTHOR "Bernd Porr, BerndPorr@f2s.com"
#define DRIVER_DESC "Stirling/ITL USB-DUX -- Bernd.Porr@f2s.com"
/*
Expand Down Expand Up @@ -81,6 +81,8 @@ sampling rate. If you sample two channels you get 4kHz and so on.
* 2.1: changed PWM API
* 2.2: added firmware kernel request to fix an udev problem
* 2.3: corrected a bug in bulk timeouts which were far too short
* 2.4: fixed a bug which causes the driver to hang when it ran out of data.
* Thanks to Jan-Matthias Braun and Ian to spot the bug and fix it.
*
*/

Expand Down Expand Up @@ -532,6 +534,7 @@ static void usbduxsub_ai_IsocIrq(struct urb *urb)
}
}
/* tell comedi that data is there */
s->async->events |= COMEDI_CB_BLOCK | COMEDI_CB_EOS;
comedi_event(this_usbduxsub->comedidev, s);
}

Expand Down
67 changes: 0 additions & 67 deletions drivers/staging/dst/Kconfig

This file was deleted.

3 changes: 0 additions & 3 deletions drivers/staging/dst/Makefile

This file was deleted.

Loading

0 comments on commit f988dac

Please sign in to comment.