31 Aug, 2016

1 commit


25 Mar, 2015

1 commit


24 Sep, 2014

2 commits


15 Feb, 2014

1 commit

  • None of these files are actually using any __init type directives
    and hence don't need to include . Most are just a
    left over from __devinit and __cpuinit removal, or simply due to
    code getting copied from one driver to the next.

    Cc: Len Brown
    Signed-off-by: Paul Gortmaker
    Acked-by: Pavel Machek
    Acked-by: Rafael J. Wysocki
    Acked-by: Mark Brown
    Signed-off-by: Greg Kroah-Hartman

    Paul Gortmaker
     

04 Jul, 2013

1 commit

  • Calling dev_set_name with a single paramter causes it to be handled as a
    format string. Many callers are passing potentially dynamic string
    content, so use "%s" in those cases to avoid any potential accidents,
    including wrappers like device_create*() and bdi_register().

    Signed-off-by: Kees Cook
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kees Cook
     

31 Oct, 2012

1 commit


28 Mar, 2010

1 commit


07 Jan, 2009

1 commit


20 Apr, 2008

1 commit


26 Jan, 2008

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (200 commits)
    [SCSI] usbstorage: use last_sector_bug flag universally
    [SCSI] libsas: abstract STP task status into a function
    [SCSI] ultrastor: clean up inline asm warnings
    [SCSI] aic7xxx: fix firmware build
    [SCSI] aacraid: fib context lock for management ioctls
    [SCSI] ch: remove forward declarations
    [SCSI] ch: fix device minor number management bug
    [SCSI] ch: handle class_device_create failure properly
    [SCSI] NCR5380: fix section mismatch
    [SCSI] sg: fix /proc/scsi/sg/devices when no SCSI devices
    [SCSI] IB/iSER: add logical unit reset support
    [SCSI] don't use __GFP_DMA for sense buffers if not required
    [SCSI] use dynamically allocated sense buffer
    [SCSI] scsi.h: add macro for enclosure bit of inquiry data
    [SCSI] sd: add fix for devices with last sector access problems
    [SCSI] fix pcmcia compile problem
    [SCSI] aacraid: add Voodoo Lite class of cards.
    [SCSI] aacraid: add new driver features flags
    [SCSI] qla2xxx: Update version number to 8.02.00-k7.
    [SCSI] qla2xxx: Issue correct MBC_INITIALIZE_FIRMWARE command.
    ...

    Linus Torvalds
     

25 Jan, 2008

1 commit


24 Jan, 2008

1 commit

  • This patch is the beginning of moving the attribute_containers to use
    attribute groups exclusively. The attr element is now deprecated and
    will eventually be removed (along with all the hand rolled code for
    doing exactly what attribute groups do) when all the consumers are
    converted to attribute groups.

    Acked-by: Greg Kroah-Hartman
    Signed-off-by: James Bottomley

    James Bottomley
     

12 Jul, 2007

1 commit


28 Apr, 2007

1 commit


22 Jun, 2006

1 commit


29 Oct, 2005

1 commit

  • There are a number of sparse warnings from the latest sparse
    snapshot being generated from the drivers/base build. The
    main culprits are due to the initialisation functions not
    being declared in a header file.

    Also, the firmware.c file should include
    to get the prototype of firmware_register() and
    firmware_unregister().

    This patch moves the init function declerations from the
    init.c file to the base.h, and ensures it is included in
    all the relevant c sources. It also adds
    to the included headers for firmware.c.

    The patch does not solve all the sparse errors generated,
    but reduces the count significantly.

    drivers/base/core.c:161:1: warning: symbol 'devices_subsys' was not declared. Should it be static?
    drivers/base/core.c:417:12: warning: symbol 'devices_init' was not declared. Should it be static?
    drivers/base/sys.c:253:6: warning: symbol 'sysdev_shutdown' was not declared. Should it be static?
    drivers/base/sys.c:326:5: warning: symbol 'sysdev_suspend' was not declared. Should it be static?
    drivers/base/sys.c:428:5: warning: symbol 'sysdev_resume' was not declared. Should it be static?
    drivers/base/sys.c:450:12: warning: symbol 'system_bus_init' was not declared. Should it be static?
    drivers/base/bus.c:133:1: warning: symbol 'bus_subsys' was not declared. Should it be static?
    drivers/base/bus.c:667:12: warning: symbol 'buses_init' was not declared. Should it be static?
    drivers/base/class.c:759:12: warning: symbol 'classes_init' was not declared. Should it be static?
    drivers/base/platform.c:313:12: warning: symbol 'platform_bus_init' was not declared. Should it be static?
    drivers/base/cpu.c:110:12: warning: symbol 'cpu_dev_init' was not declared. Should it be static?
    drivers/base/firmware.c:17:5: warning: symbol 'firmware_register' was not declared. Should it be static?
    drivers/base/firmware.c:23:6: warning: symbol 'firmware_unregister' was not declared. Should it be static?
    drivers/base/firmware.c:28:12: warning: symbol 'firmware_init' was not declared. Should it be static?
    drivers/base/init.c:28:13: warning: symbol 'driver_init' was not declared. Should it be static?
    drivers/base/dmapool.c:174:10: warning: implicit cast from nocast type
    drivers/base/attribute_container.c:439:1: warning: symbol 'attribute_container_init' was not declared. Should it be static?
    drivers/base/power/runtime.c:76:6: warning: symbol 'dpm_set_power_state' was not declared. Should it be static?

    Signed-off-by: Ben Dooks
    Signed-off-by: Greg Kroah-Hartman

    Ben Dooks
     

13 Sep, 2005

1 commit


08 Sep, 2005

2 commits


31 Aug, 2005

2 commits

  • Since the attribute container deletes from a klist while it's walking
    it, it is vulnerable to the problem (and fix) here:

    http://marc.theaimsgroup.com/?l=linux-scsi&m=112485448830217

    The attached fixes this (but won't compile without the above).

    It also fixes the logical reversal in the traversal loop which meant
    that we were never actually traversing the loop to hit this bug in the
    first place.

    Signed-off-by: James Bottomley

    James Bottomley
     
  • One of the changes in the attribute_container code in the scsi-misc tree
    was to add a lock to protect the list of devices per container. This,
    unfortunately, leads to potential scheduling while atomic problems if
    there's a sleep in the function called by a trigger.

    The correct solution is to use the kernel klist infrastructure instead
    which allows lockless traversal of a list.

    Signed-off-by: James Bottomley

    James Bottomley
     

29 Aug, 2005

1 commit

  • If your transport class sets the ATTRIBUTE_CONTAINER_NO_CLASSDEVS flag,
    then its configure method never gets called. This patch fixes that so
    that the configure method is called with a NULL classdev.

    Also remove a spurious inverted comma in the transport_class comments.

    Signed-off-by: James Bottomley

    James Bottomley
     

15 Aug, 2005

1 commit

  • I recently tried to construct a totally generic transport class and
    found there were certain features missing from the current abstract
    transport class. Most notable is that you have to hang the data on the
    class_device but most of the API is framed in terms of the generic
    device, not the class_device.

    These changes are two fold

    - Provide the class_device to all of the setup and configure APIs
    - Provide and extra API to take the device and the attribute class and
    return the corresponding class_device

    Signed-off-by: James Bottomley

    James Bottomley
     

17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds