31 May, 2019

1 commit

  • Based on 1 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation either version 2 of the license or at
    your option any later version this program is distributed in the
    hope that it will be useful but without any warranty without even
    the implied warranty of merchantability or fitness for a particular
    purpose see the gnu general public license for more details you
    should have received a copy of the gnu general public license along
    with this program if not write to the free software foundation inc
    59 temple place suite 330 boston ma 02111 1307 usa

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 1334 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Allison Randal
    Reviewed-by: Richard Fontana
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190527070033.113240726@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

07 Nov, 2017

1 commit

  • Driver contains unsuitable request_mem_region() and
    release_resource() calls.

    The patch switches manual resource management by devm interface for
    readability and error-free simplification.

    Found by Linux Driver Verification project (linuxtesting.org).

    Signed-off-by: Anton Vasilyev
    Suggested-by: Boris Brezillon
    Signed-off-by: Richard Weinberger

    Anton Vasilyev
     

14 Oct, 2015

1 commit


20 Oct, 2014

1 commit


11 Mar, 2014

2 commits


07 Nov, 2013

1 commit


28 Oct, 2013

1 commit


31 Aug, 2013

1 commit


06 Aug, 2013

1 commit

  • The driver core clears the driver data to NULL after device_release
    or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d
    (device-core: Ensure drvdata = NULL when no driver is bound).
    Thus, it is not needed to manually clear the device driver data to NULL.

    Signed-off-by: Jingoo Han
    Signed-off-by: Artem Bityutskiy
    Signed-off-by: David Woodhouse

    Jingoo Han
     

05 Apr, 2013

1 commit


19 Nov, 2012

1 commit


27 Mar, 2012

1 commit

  • The first 3 arguments of 'mtd_device_parse_register()' are pointers,
    but many callers pass '0' instead of 'NULL'. Fix this globally. Thanks
    to coccinelle for making it easy to do with the following semantic patch:

    @@
    expression mtd, types, parser_data, parts, nr_parts;
    @@
    (
    -mtd_device_parse_register(mtd, 0, parser_data, parts, nr_parts)
    +mtd_device_parse_register(mtd, NULL, parser_data, parts, nr_parts)
    |
    -mtd_device_parse_register(mtd, types, 0, parts, nr_parts)
    +mtd_device_parse_register(mtd, types, NULL, parts, nr_parts)
    |
    -mtd_device_parse_register(mtd, types, parser_data, 0, nr_parts)
    +mtd_device_parse_register(mtd, types, parser_data, NULL, nr_parts)
    )

    Signed-off-by: Artem Bityutskiy
    Signed-off-by: David Woodhouse

    Artem Bityutskiy
     

19 Dec, 2011

1 commit


11 Sep, 2011

1 commit


25 May, 2011

1 commit


05 Feb, 2010

1 commit


04 Sep, 2009

1 commit


04 Apr, 2009

1 commit

  • Follow-on patch to the previous driver model patch for the MTD
    framework. This one makes various MTD drivers connect to the
    driver model tree, so /sys/devices/virtual/mtd/* nodes are no
    longer present ... mostly drivers used on boards I have handy.

    Based on a patch from Kay Sievers.

    Signed-off-by: David Brownell
    Signed-off-by: David Woodhouse

    David Brownell
     

05 Jun, 2008

1 commit

  • Once upon a time, the MTD repository was using CVS.

    This patch therefore removes all usages of the no longer updated CVS
    keywords from the MTD code.

    This also includes code that printed them to the user.

    Signed-off-by: Adrian Bunk
    Signed-off-by: David Woodhouse

    Adrian Bunk
     

29 Apr, 2008

1 commit


23 Apr, 2008

1 commit

  • This enhances plat-ram to take a map_probes argument in
    the platform_data structure which allow plat-ram to support
    any direct-mapped device that MTD supports (jedec, cfi, amd ..)

    A few items are also fixed:
    - Don't panic if probes is 0
    - Actually use the partition list that is passed in

    Signed-off-by: Florian Fainelli
    Signed-off-by: Jason Gunthorpe
    Signed-off-by: David Woodhouse

    Florian Fainelli
     

22 Apr, 2008

1 commit

  • Since 43cc71eed1250755986da4c0f9898f9a635cb3bf, the platform modalias is
    prefixed with "platform:". Add MODULE_ALIAS() to the hotpluggable MTD mapping
    platform drivers, to re-enable auto loading.

    NOTE oddness with physmap ... it's a legacy driver in some configs, which
    means it can't always support hotplugging. (Not that most of these mapping
    drivers would often be used as modules...)

    [dbrownell@users.sourceforge.net: bugfix, more drivers, registration fixes]
    Signed-off-by: Kay Sievers
    Signed-off-by: David Brownell
    Signed-off-by: Andrew Morton
    Signed-off-by: David Woodhouse

    Kay Sievers
     

26 Apr, 2007

1 commit


29 Nov, 2006

1 commit


10 Nov, 2005

1 commit


07 Nov, 2005

3 commits


31 Oct, 2005

2 commits

  • Manual #include fixups for clashes - there may be some unnecessary

    Linus Torvalds
     
  • I recently picked up my older work to remove unnecessary #includes of
    sched.h, starting from a patch by Dave Jones to not include sched.h
    from module.h. This reduces the number of indirect includes of sched.h
    by ~300. Another ~400 pointless direct includes can be removed after
    this disentangling (patch to follow later).
    However, quite a few indirect includes need to be fixed up for this.

    In order to feed the patches through -mm with as little disturbance as
    possible, I've split out the fixes I accumulated up to now (complete for
    i386 and x86_64, more archs to follow later) and post them before the real
    patch. This way this large part of the patch is kept simple with only
    adding #includes, and all hunks are independent of each other. So if any
    hunk rejects or gets in the way of other patches, just drop it. My scripts
    will pick it up again in the next round.

    Signed-off-by: Tim Schmielau
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Tim Schmielau
     

30 Oct, 2005

1 commit


23 May, 2005

3 commits