)]}'
{
  "log": [
    {
      "commit": "4ef754b7d7971a704d5b1b4608839da1bae37e5e",
      "tree": "a9db20a2b6ca332653e5d1503fc8d3398b145aa6",
      "parents": [
        "102eb97564c73ea73645b38599c5cbe6f54b030c"
      ],
      "author": {
        "name": "Alan Cox",
        "email": "alan@lxorguk.ukuu.org.uk",
        "time": "Wed Jul 23 21:29:55 2008 -0700"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Thu Jul 24 10:47:30 2008 -0700"
      },
      "message": "spidev: BKL removal\n\nAnother step to removing -\u003eioctl and to removing the BKL\n\n[dbrownell@users.sourceforge.net: take final step; BKL not needed]\nSigned-off-by: Alan Cox \u003calan@redhat.com\u003e\nSigned-off-by: David Brownell \u003cdbrownell@users.sourceforge.net\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n"
    },
    {
      "commit": "3d81252ddb10f63ae4db713d9b32faabe641b850",
      "tree": "68ea05d6aebdffaef2fe25c5462c096f88bf8f67",
      "parents": [
        "89409211ff97bf82295d1fb98ab18302a03e9199"
      ],
      "author": {
        "name": "David Brownell",
        "email": "dbrownell@users.sourceforge.net",
        "time": "Fri Jun 06 15:48:07 2008 -0500"
      },
      "committer": {
        "name": "Greg Kroah-Hartman",
        "email": "gregkh@suse.de",
        "time": "Mon Jul 21 21:54:45 2008 -0700"
      },
      "message": "device create: spi: convert device_create to device_create_drvdata\n\nSwitch over to use the shiny new device_create_drvdata() call\ninstead of the original device_create() calls, so this continues\nto work after device_create() is  removed.\n\nNote that this driver never had the race which motivated removing\nthe original call; it locked correctly.\n\nSigned-off-by: David Brownell \u003cdbrownell@users.sourceforge.net\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@suse.de\u003e\n\n"
    },
    {
      "commit": "2fceef397f9880b212a74c418290ce69e7ac00eb",
      "tree": "d9cc09ab992825ef7fede4a688103503e3caf655",
      "parents": [
        "feae1ef116ed381625d3731c5ae4f4ebcb3fa302",
        "bce7f793daec3e65ec5c5705d2457b81fe7b5725"
      ],
      "author": {
        "name": "Jonathan Corbet",
        "email": "corbet@lwn.net",
        "time": "Mon Jul 14 15:29:34 2008 -0600"
      },
      "committer": {
        "name": "Jonathan Corbet",
        "email": "corbet@lwn.net",
        "time": "Mon Jul 14 15:29:34 2008 -0600"
      },
      "message": "Merge commit \u0027v2.6.26\u0027 into bkl-removal\n"
    },
    {
      "commit": "4b1295b0df28cffd40e6c6d7c4b88dec7af1eb76",
      "tree": "ea6414ba80a771c9ffdfd2c5e6c485c34ef671b4",
      "parents": [
        "bef67c5a7d3a9c45e091e36625c09c0c811e2672"
      ],
      "author": {
        "name": "Sebastian Siewior",
        "email": "bigeasy@linutronix.de",
        "time": "Fri Jul 04 09:59:56 2008 -0700"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Fri Jul 04 10:40:08 2008 -0700"
      },
      "message": "spi: fix the read path in spidev\n\nThis got broken by the recent \"fix rmmod $spi_driver while spidev-user is\nactive\".  I tested the rmmod \u0026 write path but didn\u0027t check the read path.\nI am sorry.  The read logic changed and spidev_sync_read() +\nspidev_sync_write() do not return zero on success anymore but the number\nof bytes that has been transfered over the bus.  This patch changes the\nlogic and copy_to_user() gets called again.\n\nThe write path returns the number of bytes which are written to the\nunderlying device what may be less than the requested size.  This patch\nmakes the same change to the read path or else we request a read of 20\nbytes, get 10, don\u0027t call copy to user and report to the user that we read\n10 bytes.\n\n[akpm@linux-foundation.org: remove test of known-to-be-zero local]\nSigned-off-by: Sebastian Siewior \u003cbigeasy@linutronix.de\u003e\nAcked-by: David Brownell \u003cdbrownell@users.sourceforge.net\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n"
    },
    {
      "commit": "609f9e92b570f390a457a81effe0af6b758dc582",
      "tree": "882d5c953a3770e4010d912de6588db6ca354d5e",
      "parents": [
        "d21c95c569c462da20d491b75d0a45bd70ddc1bf"
      ],
      "author": {
        "name": "Jonathan Corbet",
        "email": "corbet@lwn.net",
        "time": "Fri May 16 13:46:14 2008 -0600"
      },
      "committer": {
        "name": "Jonathan Corbet",
        "email": "corbet@lwn.net",
        "time": "Fri Jun 20 14:05:50 2008 -0600"
      },
      "message": "spidev: BKL pushdown\n\nAdd the BKL to spidev_open(), even though the existing locking looks\nadequate.\n\nSigned-off-by: Jonathan Corbet \u003ccorbet@lwn.net\u003e\n"
    },
    {
      "commit": "b2c8daddcbe03a22402ecf943bb88302601c6835",
      "tree": "326282263d7ef47c18e02fee77ffd586457c69e8",
      "parents": [
        "39b945a37bac2b692773a470890c8ba301485b15"
      ],
      "author": {
        "name": "David Brownell",
        "email": "dbrownell@users.sourceforge.net",
        "time": "Thu Jun 05 22:45:50 2008 -0700"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Fri Jun 06 11:29:08 2008 -0700"
      },
      "message": "spi: fix refcount-related spidev oops-on-rmmod\n\nThis addresses other oopsing paths in \"spidev\" by changing how it manages\nrefcounting.  It decouples the lifecycle of the per-device data from the\nclass device (not just the spi device):\n\n  - Use class_{create,destroy} not class_{register,unregister}.\n  - Use device_{create,destroy} not device_{register,unregister}.\n  - Free the per-device data only when TWO conditions are true:\n      * Driver is unbound from underlying SPI device, and\n      * Device is no longer open (new)\n\nAlso, spi_{get,set}_drvdata not dev_{get,set}_drvdata for simpler code.\n\nSigned-off-by: David Brownell \u003cdbrownell@users.sourceforge.net\u003e\nSebastian Siewior \u003cbigeasy@tglx.de\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n"
    },
    {
      "commit": "25d5cb4b0375e5864ec0ccf35e12ff1d1b5cf3f0",
      "tree": "0d83e4176f9a8178a98631097fbf839a53702d94",
      "parents": [
        "5c02b575780d0d785815a1e7b79a98edddee895a"
      ],
      "author": {
        "name": "David Brownell",
        "email": "david-b@pacbell.net",
        "time": "Fri May 23 13:05:03 2008 -0700"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Sat May 24 09:56:14 2008 -0700"
      },
      "message": "spi: remove some spidev oops-on-rmmod paths\n\nSomehow the spidev code forgot to include a critical mechanism: when the\nunderlying device is removed (e.g.  spi_master rmmod), open file\ndescriptors must be prevented from issuing new I/O requests to that\ndevice.  On penalty of the oopsing reported by Sebastian Siewior\n\u003cbigeasy@tglx.de\u003e ...\n\nThis is a partial fix, adding handshaking between the lower level (SPI\nmessaging) and the file operations using the spi_dev.  (It also fixes an\nissue where reads and writes didn\u0027t return the number of bytes sent or\nreceived.)\n\nThere\u0027s still a refcounting issue to be addressed (separately).\n\nSigned-off-by: David Brownell \u003cdbrownell@users.sourceforge.net\u003e\nReported-by: Sebastian Siewior \u003cbigeasy@tglx.de\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n"
    },
    {
      "commit": "142956af525002c5378e7d91d81a01189841a785",
      "tree": "bcf73cc0e2d56d8d46d470fcedaadf42ae0602bd",
      "parents": [
        "0c7eb2eb800c4afb2205bbaa1bc633eb29082fef"
      ],
      "author": {
        "name": "Al Viro",
        "email": "viro@ftp.linux.org.uk",
        "time": "Mon Oct 29 05:11:28 2007 +0000"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@woody.linux-foundation.org",
        "time": "Mon Oct 29 07:41:33 2007 -0700"
      },
      "message": "fix abuses of ptrdiff_t\n\nUse of ptrdiff_t in places like\n\n-                       if (!access_ok(VERIFY_WRITE, u_tmp-\u003erx_buf, u_tmp-\u003elen))\n+                       if (!access_ok(VERIFY_WRITE, (u8 __user *)\n+                                               (ptrdiff_t) u_tmp-\u003erx_buf,\n+                                               u_tmp-\u003elen))\n\nis wrong; for one thing, it\u0027s a bad C (it\u0027s what uintptr_t is for; in general\nwe are not even promised that ptrdiff_t is large enough to hold a pointer,\njust enough to hold a difference between two pointers within the same object).\nFor another, it confuses the fsck out of sparse.\n\nUse unsigned long or uintptr_t instead.  There are several places misusing\nptrdiff_t; fixed.\n\nSigned-off-by: Al Viro \u003cviro@zeniv.linux.org.uk\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n"
    },
    {
      "commit": "96ddbf504a05502800e7cbeb4d08abbcc206c51c",
      "tree": "8b33c0a5805fbdccff638a95492106c6430d8c52",
      "parents": [
        "4a2a4da43995864786d59f5f0ebf42c0c1e2cdd1"
      ],
      "author": {
        "name": "David Brownell",
        "email": "david-b@pacbell.net",
        "time": "Fri Aug 10 13:01:09 2007 -0700"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@woody.linux-foundation.org",
        "time": "Sat Aug 11 15:47:42 2007 -0700"
      },
      "message": "spidev warning fix\n\nGit rid of \"warning: passing arg 2 of `access_ok\u0027 makes pointer from integer\nwithout a cast\" reported on SH ...  most architectures use macros in that\ntest, SH uses inlined functions.\n\nSigned-off-by: David Brownell \u003cdbrownell@users.sourceforge.net\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n"
    },
    {
      "commit": "6f166e3833d953f0acf77eb7d426840da9e1a87f",
      "tree": "95a15d4662f41b7a6b86c05d2558de16a86bc27e",
      "parents": [
        "4ef7af50373778ee248a2493c9cf62a2299806a8"
      ],
      "author": {
        "name": "Anton Vorontsov",
        "email": "avorontsov@ru.mvista.com",
        "time": "Tue Jul 31 00:38:43 2007 -0700"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@woody.linux-foundation.org",
        "time": "Tue Jul 31 15:39:40 2007 -0700"
      },
      "message": "spidev supports more communications modes\n\nThe spidev driver doesn\u0027t currently expose all SPI communications modes to\nuserspace.  This passes them all through to the driver.\n\nTwo of them are potentially troublesome, in the sense that they could cause\nhardware conflicts on shared busses.  It might be appropriate to add some\nprivilege checks for for those modes.\n\nSigned-off-by: Anton Vorontsov \u003cavorontsov@ru.mvista.com\u003e\nSigned-off-by: David Brownell \u003cdbrownell@users.sourceforge.net\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n"
    },
    {
      "commit": "4917d927809918f0070bd1077b41e3daf78643b2",
      "tree": "207df3ec533d72933170a69962ec44b864892f2c",
      "parents": [
        "ad241528c4919505afccb022acbab3eeb0db4d80"
      ],
      "author": {
        "name": "David Brownell",
        "email": "david-b@pacbell.net",
        "time": "Tue Jul 17 04:04:04 2007 -0700"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@woody.linux-foundation.org",
        "time": "Tue Jul 17 10:23:04 2007 -0700"
      },
      "message": "spidev compiler warning gone\n\nGet rid of annoying GCC warning on 32-bit platforms.\n\ndrivers/spi/spidev.c: In function \u0027spidev_message\u0027:\ndrivers/spi/spidev.c:184: warning: cast to pointer from integer of different size\ndrivers/spi/spidev.c:216: warning: cast to pointer from integer of different size\n\nThe trick is to add an extra cast using \"ptrdiff_t\" to convert the u64 to\nthe correct size integer, and only then casting it into a \"void *\" pointer.\n\nSigned-off-by: David Brownell \u003cdbrownell@users.sourceforge.net\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n"
    },
    {
      "commit": "9bea3f29fc626e190f012c4ad5f8a9e9a2f26cf6",
      "tree": "156a6c3cb913aef5bf8244e6333802950f8132b8",
      "parents": [
        "6087b2dab2c914268b1a50882edbbad82bfefd29"
      ],
      "author": {
        "name": "Florin Malita",
        "email": "fmalita@gmail.com",
        "time": "Wed May 23 13:57:45 2007 -0700"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@woody.linux-foundation.org",
        "time": "Wed May 23 20:14:12 2007 -0700"
      },
      "message": "spi: potential memleak in spidev_ioctl\n\n\u0027ioc\u0027 should be deallocated if __copy_from_user fails (found by Coverity\n- CID 1644).\n\nSigned-off-by: Florin Malita \u003cfmalita@gmail.com\u003e\nSigned-off-by: David Brownell \u003cdbrownell@users.sourceforge.net\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n"
    },
    {
      "commit": "da90fa8ff671a0139772ec3b3e82c06077e82122",
      "tree": "bf648a91c12174ec0bd32a013cdfc63d62f70753",
      "parents": [
        "b7add02d6247bff34005e040347d81777c80931c"
      ],
      "author": {
        "name": "Domen Puncer",
        "email": "domen.puncer@telargo.com",
        "time": "Wed May 23 13:57:39 2007 -0700"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@woody.linux-foundation.org",
        "time": "Wed May 23 20:14:12 2007 -0700"
      },
      "message": "spi/spidev: check message size before copying\n\nMessage size needs to be checked before copying, or bad things could\nhappen.\n\nSigned-off-by: Domen Puncer \u003cdomen.puncer@telargo.com\u003e\nSigned-off-by: David Brownell \u003cdbrownell@users.sourceforge.net\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n"
    },
    {
      "commit": "0a4dd7783dfc62176a29cb349404180f24f46975",
      "tree": "9cd363f697114b5ade9821f5f4fd4f2f4e4b6976",
      "parents": [
        "bb33ed6345d6156484f39089aa8b52f44ce76609"
      ],
      "author": {
        "name": "Domen Puncer",
        "email": "domen@coderock.org",
        "time": "Tue May 15 23:57:05 2007 -0700"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@woody.linux-foundation.org",
        "time": "Wed May 16 21:19:15 2007 -0700"
      },
      "message": "spi: fix spidev for \u003esizeof(long)/32 devices\n\nfind_first_zero_bit accepts number of bits, not longs.\n\nSigned-off-by: Domen Puncer \u003cdomen.puncer@telargo.com\u003e\nSigned-off-by: David Brownell \u003cdbrownell@users.sourceforge.net\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n"
    },
    {
      "commit": "814a8d50eb1d88cedcef97567be53ee0d4512631",
      "tree": "edf10598ae95e5729edca3095b60641606b62939",
      "parents": [
        "735ce95e6b9a262d1fbc0ddb5620deb3a29d1067"
      ],
      "author": {
        "name": "Andrea Paterniani",
        "email": "a.paterniani@swapp-eng.it",
        "time": "Tue May 08 00:32:15 2007 -0700"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@woody.linux-foundation.org",
        "time": "Tue May 08 11:15:15 2007 -0700"
      },
      "message": "/dev/spidevB.C interface\n\nAdd a filesystem API for \u003clinux/spi/spi.h\u003e stack.  The initial version of\nthis interface is purely synchronous.\n\ndbrownell@users.sourceforge.net:\n\n Cleaned up, bugfixed; much simplified; added preliminary documentation.\n\n Works with mdev given CONFIG_SYSFS_DEPRECATED; and presumably udev.\n\n Updated SPI_IOC_MESSAGE ioctl to full spi_message semantics, supporting\n groups of one or more transfers (each of which may be full duplex if\n desired).\n\n This is marked as EXPERIMENTAL with an explicit disclaimer that the API\n (notably the ioctls) is subject to change.\n\nSigned-off-by: Andrea Paterniani \u003ca.paterniani@swapp-eng.it\u003e\nSigned-off-by: David Brownell \u003cdbrownell@users.sourceforge.net\u003e\nCc: Arnd Bergmann \u003carnd@arndb.de\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n"
    }
  ]
}
