10 Jan, 2012

1 commit

  • * 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (466 commits)
    net/hyperv: Add support for jumbo frame up to 64KB
    net/hyperv: Add NETVSP protocol version negotiation
    net/hyperv: Remove unnecessary kmap_atomic in netvsc driver
    staging/rtl8192e: Register against lib80211
    staging/rtl8192e: Convert to lib80211_crypt_info
    staging/rtl8192e: Convert to lib80211_crypt_data and lib80211_crypt_ops
    staging/rtl8192e: Add lib80211.h to rtllib.h
    staging/mei: add watchdog device registration wrappers
    drm/omap: GEM, deal with cache
    staging: vt6656: int.c, int.h: Change return of function to void
    staging: usbip: removed unused definitions from header
    staging: usbip: removed dead code from receive function
    staging:iio: Drop {mark,unmark}_in_use callbacks
    staging:iio: Drop buffer mark_param_change callback
    staging:iio: Drop the unused buffer enable() and is_enabled() callbacks
    staging:iio: Drop buffer busy flag
    staging:iio: Make sure a device is only opened once at a time
    staging:iio: Disallow modifying buffer size when buffer is enabled
    staging:iio: Disallow changing scan elements in all buffered modes
    staging:iio: Use iio_buffer_enabled instead of open coding it
    ...

    Fix up conflict in drivers/staging/iio/adc/ad799x_core.c (removal of
    module_init due to using module_i2c_driver() helper, next to removal of
    MODULE_ALIAS due to using MODULE_DEVICE_TABLE instead).

    Linus Torvalds
     

14 Dec, 2011

1 commit


27 Nov, 2011

1 commit

  • If ibss_wlan is NULL, it is not correct to memcpy into its field.

    The semantic match that finds this problem is as follows:
    (http://coccinelle.lip6.fr/)

    //
    @r@
    expression E, E1;
    identifier f;
    statement S1,S2,S3;
    @@

    if (E == NULL)
    {
    ... when != if (E == NULL || ...) S1 else S2
    when != E = E1
    *E->f
    ... when any
    return ...;
    }
    else S3
    //

    Signed-off-by: Julia Lawall
    Signed-off-by: Larry Finger
    Signed-off-by: Greg Kroah-Hartman

    Julia Lawall
     

12 Oct, 2011

1 commit


05 Oct, 2011

1 commit


07 Sep, 2011

21 commits


24 Aug, 2011

6 commits

  • daemonize() is only needed when a user-space task does kernel_thread().

    r8712_cmd_thread() is kthread_create()'ed and thus it doesn't need
    the soon-to-be-deprecated daemonize(). It is the only caller of
    thread_enter() which actually does the call.

    Note:
    - we are going to remove the sigdelset(blocked) code from
    allow_signal(), this means that without this patch
    thread_enter() can't work after that. Not to mention
    daemonize() should be deprecated.

    - as a side effect, this patch changes ->comm. Hopefully
    this is fine, and padapter->pnetdev->name probably makes
    more sense anyway.

    Signed-off-by: Oleg Nesterov
    Acked-by: Matt Fleming
    Acked-by: Tejun Heo
    Acked-and-tested-by: Larry Finger
    Signed-off-by: Greg Kroah-Hartman

    Oleg Nesterov
     
  • There were some curly braces missing so the original code in
    wpa_supplicant_ioctl() pretty much always returned -EFAULT without
    doing anything.

    Signed-off-by: Dan Carpenter
    Signed-off-by: Greg Kroah-Hartman

    Dan Carpenter
     
  • Larry Finger's copyright addendum has now been included in the
    banners.
    The files involved in this commit have had only their banners
    changed; there have been no other mods.

    Signed-off-by: Ali Bahar
    Signed-off-by: Greg Kroah-Hartman

    Ali Bahar
     
  • The only changes to these files have been the addition of only copyright
    banners.

    Signed-off-by: Ali Bahar
    Signed-off-by: Greg Kroah-Hartman

    Ali Bahar
     
  • padapter->bup is True when the interface has been
    brought Up. But it was not being reset when the
    interface is taken Down.
    This has not caused a known problem, as other
    state variables may be compensating for it. Never
    the less, it is now properly tracked.

    Signed-off-by: Ali Bahar
    Acked-by: Larry Finger
    Signed-off-by: Greg Kroah-Hartman

    Ali Bahar
     
  • The original Realtek code assumed that ioctl Sets get done after the
    interface is Up. This included the set to Essid and to the AP MAC#;
    and it fit Realtek's installation procedure. But there is no such
    necessity for the adapter, and no stated requirement found
    elsewhere. Also, wireless drivers typically permit this.

    A typical error message used to be:
    Error for wireless request "Set ESSID" (8B1A) :
    SET failed on device wlan0 ; Operation not permitted.

    Signed-off-by: Ali Bahar
    Acked-by: Larry Finger
    Signed-off-by: Greg Kroah-Hartman

    Ali Bahar
     

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

    Linus Torvalds
     

06 Jul, 2011

5 commits


20 Jun, 2011

1 commit


04 May, 2011

1 commit

  • Driver r8712u is unable to handle ad-hoc mode. The issue is that when
    the driver first starts, there will not be an SSID for association.
    The fix is to always call the "select and join from scan" routine when
    in ad-hoc mode.

    Note: Ad-hoc mode worked intermittently before. If the driver had
    previously been associated, then things were OK.

    Signed-off-by: Jeff Chua
    Signed-off-by: Larry Finger
    Cc: Stable
    Signed-off-by: Greg Kroah-Hartman

    Jeff Chua