1. 12 4月, 2012 1 次提交
    • J
      Input: da9052 - fix memory leak in da9052_onkey_probe() · 0e3d0f3d
      Jesper Juhl 提交于
      If, in drivers/input/misc/da9052_onkey.c::da9052_onkey_probe(), the
      call to either kzalloc() or input_allocate_device() fails then we will
      return -ENOMEM from the function without freeing the other allocation
      that may have succeeded, thus we leak either the memory allocated for
      'onkey' or the memory allocated for 'input_dev' if one succeeds and
      the other fails.
      Fix that by jumping to the 'err_free_mem' label at the end of the
      function that properly cleans up rather than returning directly.
      Signed-off-by: NJesper Juhl <jj@chaosbits.net>
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      0e3d0f3d
  2. 17 3月, 2012 5 次提交
  3. 13 3月, 2012 1 次提交
  4. 07 3月, 2012 1 次提交
  5. 06 3月, 2012 1 次提交
  6. 05 3月, 2012 1 次提交
  7. 24 2月, 2012 1 次提交
  8. 31 1月, 2012 1 次提交
  9. 13 1月, 2012 1 次提交
  10. 11 1月, 2012 1 次提交
  11. 09 1月, 2012 1 次提交
  12. 05 1月, 2012 1 次提交
    • J
      Xen: consolidate and simplify struct xenbus_driver instantiation · 73db144b
      Jan Beulich 提交于
      The 'name', 'owner', and 'mod_name' members are redundant with the
      identically named fields in the 'driver' sub-structure. Rather than
      switching each instance to specify these fields explicitly, introduce
      a macro to simplify this.
      
      Eliminate further redundancy by allowing the drvname argument to
      DEFINE_XENBUS_DRIVER() to be blank (in which case the first entry from
      the ID table will be used for .driver.name).
      
      Also eliminate the questionable xenbus_register_{back,front}end()
      wrappers - their sole remaining purpose was the checking of the
      'owner' field, proper setting of which shouldn't be an issue anymore
      when the macro gets used.
      
      v2: Restore DRV_NAME for the driver name in xen-pciback.
      Signed-off-by: NJan Beulich <jbeulich@suse.com>
      Cc: Jens Axboe <axboe@kernel.dk>
      Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
      Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
      Cc: Ian Campbell <ian.campbell@citrix.com>
      Cc: David S. Miller <davem@davemloft.net>
      Signed-off-by: NKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
      73db144b
  13. 24 12月, 2011 3 次提交
  14. 12 12月, 2011 3 次提交
  15. 01 12月, 2011 2 次提交
  16. 29 11月, 2011 1 次提交
  17. 19 11月, 2011 1 次提交
    • G
      USB: convert drivers/input/* to use module_usb_driver() · 08642e7c
      Greg Kroah-Hartman 提交于
      This converts the drivers in drivers/input/* to use the
      module_usb_driver() macro which makes the code smaller and a bit
      simpler.
      
      Added bonus is that it removes some unneeded kernel log messages about
      drivers loading and/or unloading.
      
      Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
      Cc: Ville Syrjala <syrjala@sci.fi>
      Cc: Henk Vergonet <Henk.Vergonet@gmail.com>
      Cc: Alessandro Rubini <rubini@ipvvis.unipv.it>
      Cc: Henrik Rydberg <rydberg@euromail.se>
      Cc: "Magnus Hörlin" <magnus@alefors.se>
      Cc: Chris Moeller <kode54@gmail.c>
      Cc: Christoph Fritz <chf.fritz@googlemail.com>
      Cc: Lucas De Marchi <lucas.demarchi@profusion.mobi>
      Cc: Jesper Juhl <jj@chaosbits.net>
      Cc: Edwin van Vliet <edwin@cheatah.nl>
      Cc: Ping Cheng <pingc@wacom.com>
      Cc: Eduard Hasenleithner <eduard@hasenleithner.at>
      Cc: Alexander Strakh <strakh@ispras.ru>
      Cc: Glenn Sommer <gsommer@datanordisk.dk>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      08642e7c
  18. 10 11月, 2011 1 次提交
  19. 01 11月, 2011 1 次提交
  20. 24 10月, 2011 1 次提交
  21. 12 10月, 2011 2 次提交
  22. 07 10月, 2011 1 次提交
  23. 28 9月, 2011 1 次提交
    • P
      doc: fix broken references · 395cf969
      Paul Bolle 提交于
      There are numerous broken references to Documentation files (in other
      Documentation files, in comments, etc.). These broken references are
      caused by typo's in the references, and by renames or removals of the
      Documentation files. Some broken references are simply odd.
      
      Fix these broken references, sometimes by dropping the irrelevant text
      they were part of.
      Signed-off-by: NPaul Bolle <pebolle@tiscali.nl>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      395cf969
  24. 22 9月, 2011 1 次提交
  25. 20 9月, 2011 1 次提交
  26. 10 9月, 2011 1 次提交
  27. 08 9月, 2011 1 次提交
  28. 27 8月, 2011 1 次提交
  29. 24 8月, 2011 1 次提交
  30. 23 8月, 2011 1 次提交