21 May, 2019

1 commit

  • Add SPDX license identifiers to all files which:

    - Have no license information of any form

    - Have MODULE_LICENCE("GPL*") inside which was used in the initial
    scan/conversion to ignore the file

    These files fall under the project license, GPL v2 only. The resulting SPDX
    license identifier is:

    GPL-2.0-only

    Signed-off-by: Thomas Gleixner
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

29 Apr, 2019

1 commit

  • ep93xx does not have a proper pinctrl driver, but does things
    ad-hoc through mach/platform.h, which is also used for setting
    up the boards.

    To avoid using mach/*.h headers completely, let's move the interfaces
    into include/linux/soc/. This is far from great, but gets the job
    done here, without the need for a proper pinctrl driver.

    Acked-by: Alexander Sverdlin
    Acked-by: H Hartley Sweeten
    Signed-off-by: Arnd Bergmann
    Signed-off-by: Olof Johansson

    Arnd Bergmann
     

04 Oct, 2018

1 commit

  • Clang warns when one enumerated type is implicitly converted to another.

    drivers/ata/pata_ep93xx.c:662:36: warning: implicit conversion from
    enumeration type 'enum dma_data_direction' to different enumeration type
    'enum dma_transfer_direction' [-Wenum-conversion]
    drv_data->dma_rx_data.direction = DMA_FROM_DEVICE;
    ~ ^~~~~~~~~~~~~~~
    drivers/ata/pata_ep93xx.c:670:36: warning: implicit conversion from
    enumeration type 'enum dma_data_direction' to different enumeration type
    'enum dma_transfer_direction' [-Wenum-conversion]
    drv_data->dma_tx_data.direction = DMA_TO_DEVICE;
    ~ ^~~~~~~~~~~~~
    drivers/ata/pata_ep93xx.c:681:19: warning: implicit conversion from
    enumeration type 'enum dma_data_direction' to different enumeration type
    'enum dma_transfer_direction' [-Wenum-conversion]
    conf.direction = DMA_FROM_DEVICE;
    ~ ^~~~~~~~~~~~~~~
    drivers/ata/pata_ep93xx.c:692:19: warning: implicit conversion from
    enumeration type 'enum dma_data_direction' to different enumeration type
    'enum dma_transfer_direction' [-Wenum-conversion]
    conf.direction = DMA_TO_DEVICE;
    ~ ^~~~~~~~~~~~~

    Use the equivalent valued enums from the expected type so that Clang no
    longer warns about a conversion.

    DMA_TO_DEVICE = DMA_MEM_TO_DEV = 1
    DMA_FROM_DEVICE = DMA_DEV_TO_MEM = 2

    Acked-by: Bartlomiej Zolnierkiewicz
    Signed-off-by: Nathan Chancellor
    Signed-off-by: Jens Axboe

    Nathan Chancellor
     

30 May, 2017

1 commit

  • ata_host_alloc_pinfo() assigns the host pointer to the
    struct device * drvdata, do not assign drv_data like this.
    Since ata_host_alloc_pinfo() is called after this site, the
    correct value is set eventually, but this assignment is just
    plain pointless.

    Signed-off-by: Linus Walleij
    Signed-off-by: Tejun Heo

    Linus Walleij
     

11 Jan, 2017

1 commit


20 Oct, 2014

1 commit


17 Jul, 2014

1 commit

  • [linux-3.16-rc5/drivers/ata/pata_ep93xx.c:929]: (style) Checking if unsigned
    variable 'irq' is less than zero.

    Source code is

    irq = platform_get_irq(pdev, 0);
    if (irq < 0) {

    but

    unsigned int irq;

    $ fgrep platform_get_irq `find . -name \*.h -print`
    ./include/linux/platform_device.h:extern int platform_get_irq(struct
    platform_device *, unsigned int);

    Now using "int" type instead of "unsigned int" for "irq" variable.

    Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=80401
    Reported-by: David Binderman
    Signed-off-by: Andrey Utkin
    Signed-off-by: Tejun Heo

    Andrey Utkin
     

27 May, 2014

1 commit


14 Feb, 2014

1 commit


12 May, 2013

1 commit


26 Jan, 2013

1 commit


04 Jan, 2013

1 commit

  • CONFIG_HOTPLUG is going away as an option. As a result, the __dev*
    markings need to be removed.

    This change removes the use of __devinit, __devexit_p, __devinitdata,
    and __devexit from these drivers.

    Based on patches originally written by Bill Pemberton, but redone by me
    in order to handle some of the coding style issues better, by hand.

    Cc: Bill Pemberton
    Cc: Jeff Garzik
    Cc: Viresh Kumar
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

14 Dec, 2012

1 commit


14 Sep, 2012

1 commit

  • Platform data for device drivers should be defined in
    include/linux/platform_data/*.h, not in the architecture
    and platform specific directories.

    This moves such data out of the ep93xx include directories

    Signed-off-by: Arnd Bergmann
    Acked-by: Mark Brown
    Acked-by: Greg Kroah-Hartman
    Acked-by: Nicolas Pitre
    Acked-by: Hartley Sweeten
    Acked-by: Ryan Mallon
    Acked-by: Vinod Koul
    Cc: Grant Likely
    Cc: Jeff Garzik
    Cc: Dan Williams
    Cc: Dmitry Torokhov
    Cc: Florian Tobias Schandinat
    Cc: Liam Girdwood
    Cc: Jaroslav Kysela
    Cc: Takashi Iwai
    Cc: Mika Westerberg
    Cc: Axel Lin

    Arnd Bergmann
     

23 May, 2012

1 commit