GitHub PushEvent at 2014-02-21 23:30:57
Repository: linux-2.6
Actor: zenczykowski
Payload: {"shas":[["83d5f3246fc05a629278240c09688fd9960b97db","09f65b71b7655725897b2fd41a09a0cefe2e1ace@kernel.org","staging:iio:ad799x fix incorrect endianness specification for buffer elements\n\nDue to use of the IIO_ST macro, the endianness element of scan_type was\nnot being set.  The result is that it will default to the cpu endianness\nwhereas this driver will fill the buffer with big endian data.  Thus for\nlittle endian machines, userspace will miss interpret the data.\n\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>\nAcked-by: Lars-Peter Clausen <lars@metafoo.de>","Jonathan Cameron",true],["e9ed104de68c345c9a827225e93c74c6894613a9","3d4a3affaf9163789962e9770780389962bda29d@lip6.fr","staging:iio:impedance:ad5933: correct error check\n\niio_kfifo_allocate returns NULL in case of error.\n\nThe semantic match that finds this problem is as follows:\n(http://coccinelle.lip6.fr/)\n\n// <smpl>\n@@\nexpression *x;\nidentifier f;\nstatement S1,S2;\n@@\n\n*x = f(...);\n if (x) { <+... when != if (...) S1 else S2\n     -ENOMEM ...+> }\n// </smpl>\n\nSigned-off-by: Julia Lawall <Julia.Lawall@lip6.fr>\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>\ncc: stable@vger.kernel.org","Julia Lawall",true],["66c65d90db1004356281db6ead988e2e38ba9e37","da39a3ee5e6b4b0d3255bfef95601890afd80709","iio: Fix a buffer overflow in iio_utils.h example code\n\nThis was originally reported by Craig Markwardt on Zubair Lutfullah's\nblog and Zubair forwarded it to linux-iio@vger.kernel.org. No email\naddress known.\n\nThe code first counted the number of enabled channels, then created an\narray to hold information about them.  The code that filled this array then\nstored whether a given element was enabled inside the array.  Curriously\nthis element was never used.  Craig's patch added a local temporary variable\nto avoid the buffer overrun.  Jonathan then removed the original enabled\nelement of the structure as it was not needed at all.\n\nSigned-off-by: Zubair Lutfullah <zubair.lutfullah@gmail.com>\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>","Craig Markwardt",true],["38408d056188be29a6c4e17f3703c796551bb330","4bccb8448924141fc676c25eb657b52ee47a361d@gmx.de","staging:iio:ad799x fix error_free_irq which was freeing an irq that may not have been requested\n\nOnly free an IRQ in error_free_irq, if it has been requested previously.\n\nSigned-off-by: Hartmut Knaack <knaack.h@gmx.de>\nAcked-by: Lars-Peter Clausen <lars@metafoo.de>\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>\nCc: stable@vger.kernel.org","Hartmut Knaack",true],["3b5c1635d12a670a0fea5542ada5bceb6536ae85","8e14177e4f8668422b77123c7fb004ad5eaa227a@abv.bg","iio: tsl2563: Use the correct channel2 member\n\nUse the correct channel2 member instead of channel when dealing with sysfs\nreads/writes\n\nSigned-off-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>\nAcked-by: Peter Meerwald <pmeerw@pmeerw.net>\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>","Ivaylo Dimitrov",true],["1c51eb0bcf3489f72e1923241db7b6993442b13f","320bca71fc381a4a025636043ca86e734e31cf8b@nod.at","staging:iio:spear_adc: Add dependency on HAS_IOMEM\n\nOn archs like S390 or um this driver cannot build nor work.\nMake it depend on HAS_IOMEM to bypass build failures.\n\ndrivers/staging/iio/adc/spear_adc.c: In function ‘spear_adc_probe’:\ndrivers/staging/iio/adc/spear_adc.c:393:2: error: implicit declaration of function ‘iounmap’ [-Werror=implicit-function-declaration\n\nSigned-off-by: Richard Weinberger <richard@nod.at>\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>","Richard Weinberger",true],["8c314da583c9d5c67fe59aa8c92f94f15cb8de90","320bca71fc381a4a025636043ca86e734e31cf8b@nod.at","staging:iio:lpc32xx_adc: Add dependency on HAS_IOMEM\n\nOn archs like S390 or um this driver cannot build nor work.\nMake it depend on HAS_IOMEM to bypass build failures.\n\ndrivers/built-in.o: In function `lpc32xx_adc_probe':\ndrivers/staging/iio/adc/lpc32xx_adc.c:149: undefined reference to `devm_ioremap'\n\nSigned-off-by: Richard Weinberger <richard@nod.at>\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>","Richard Weinberger",true],["1aa9578c1a9450fb21501c4f549f5b1edb557e6d","d4c4fc5069677be84f589aa6e14eedffef9ba12f@linux.intel.com","xhci: Fix resume issues on Renesas chips in Samsung laptops\n\nDon Zickus <dzickus@redhat.com> writes:\n\nSome co-workers of mine bought Samsung laptops that had mostly usb3 ports.\nThose ports did not resume correctly (the driver would timeout communicating\nand fail).  This led to frustration as suspend/resume is a common use for\nlaptops.\n\nPoking around, I applied the reset on resume quirk to this chipset and the\nresume started working.  Reloading the xhci_hcd module had been the temporary\nworkaround.\n\nSigned-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>\nReported-by: Don Zickus <dzickus@redhat.com>\nTested-by: Prarit Bhargava <prarit@redhat.com>\nCc: stable # 2.6.37","Sarah Sharp",true],["140e3026a57ab7d830dab2f2c57796c222db0ea9","d4c4fc5069677be84f589aa6e14eedffef9ba12f@linux.intel.com","Revert \"usbcore: set lpm_capable field for LPM capable root hubs\"\n\nCommit 9df89d85b407690afa46ddfbccc80bec6869971d \"usbcore: set\nlpm_capable field for LPM capable root hubs\" was created under the\nassumption that all USB host controllers should have USB 3.0 Link PM\nenabled for all devices under the hosts.\n\nUnfortunately, that's not the case.  The xHCI driver relies on knowledge\nof the host hardware scheduler to calculate the LPM U1/U2 timeout\nvalues, and it only sets lpm_capable to one for Intel host controllers\n(that have the XHCI_LPM_SUPPORT quirk set).\n\nWhen LPM is enabled for some Fresco Logic hosts, it causes failures with\na AgeStar 3UBT USB 3.0 hard drive dock:\n\nJan 11 13:59:03 sg-laptop kernel: usb 3-1: new SuperSpeed USB device number 2 using xhci_hcd\nJan 11 13:59:03 sg-laptop kernel: usb 3-1: Set SEL for device-initiated U1 failed.\nJan 11 13:59:08 sg-laptop kernel: usb 3-1: Set SEL for device-initiated U2 failed.\nJan 11 13:59:08 sg-laptop kernel: usb-storage 3-1:1.0: USB Mass Storage device detected\nJan 11 13:59:08 sg-laptop mtp-probe[613]: checking bus 3, device 2: \"/sys/devices/pci0000:00/0000:00:1c.3/0000:04:00.0/usb3/3-1\"\nJan 11 13:59:08 sg-laptop mtp-probe[613]: bus: 3, device: 2 was not an MTP device\nJan 11 13:59:08 sg-laptop kernel: scsi6 : usb-storage 3-1:1.0\nJan 11 13:59:13 sg-laptop kernel: usb 3-1: Set SEL for device-initiated U1 failed.\nJan 11 13:59:18 sg-laptop kernel: usb 3-1: Set SEL for device-initiated U2 failed.\nJan 11 13:59:18 sg-laptop kernel: usbcore: registered new interface driver usb-storage\nJan 11 13:59:40 sg-laptop kernel: usb 3-1: reset SuperSpeed USB device number 2 using xhci_hcd\nJan 11 13:59:41 sg-laptop kernel: usb 3-1: device descriptor read/8, error -71\nJan 11 13:59:41 sg-laptop kernel: usb 3-1: reset SuperSpeed USB device number 2 using xhci_hcd\nJan 11 13:59:46 sg-laptop kernel: usb 3-1: device descriptor read/8, error -110\nJan 11 13:59:46 sg-laptop kernel: scsi 6:0:0:0: Device offlined - not ready after error recovery\nJan 11 13:59:46 sg-laptop kernel: usb 3-1: USB disconnect, device number 2\n\nlspci for the affected host:\n\n04:00.0 0c03: 1b73:1000 (rev 04) (prog-if 30 [XHCI])\n        Subsystem: 1043:1039\n        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-\n        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-\n        Latency: 0, Cache Line Size: 64 bytes\n        Interrupt: pin A routed to IRQ 19\n        Region 0: Memory at dd200000 (32-bit, non-prefetchable) [size=64K]\n        Capabilities: [50] Power Management version 3\n                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold-)\n                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-\n        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+\n                Address: 0000000000000000  Data: 0000\n        Capabilities: [80] Express (v1) Endpoint, MSI 00\n                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <2us, L1 <32us\n                        ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-\n                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-\n                        RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+\n                        MaxPayload 128 bytes, MaxReadReq 512 bytes\n                DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-\n                LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 unlimited, L1 unlimited\n                        ClockPM- Surprise- LLActRep- BwNot-\n                LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+\n                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-\n                LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-\n        Kernel driver in use: xhci_hcd\n        Kernel modules: xhci_hcd\n\nThe commit was backported to stable kernels, and will need to be\nreverted there as well.\n\nSigned-off-by: Sarah Sharp <sarah.a.sharp@intel.com>\nReported-by: Sergey Galanov <sergey.e.galanov@gmail.com>\nCc: stable@vger.kernel.org","Sarah Sharp",true],["1b5e1c6e6e728774ba7a1e8286d4833e4a16e918","28c780319e2c7f6db09304375fbd148f9c25d13f@gmail.com","power: ds2782_battery: Typo in comment\n\nChange missleading comment to actual shift value provided by the chip.\n\nSigned-off-by: Matthias Brugger <matthias.bgg@gmail.com>","Matthias Brugger",true],["4fa99230eade164137d94178b12e1e5f1c3d2bdd","b8f9cab8be13de37b9588aedad10a20fc3a68783@trendmicro.com.cn","isp1704_charger: remove useless check in isp1704_charger_probe()\n\nNeither devm_usb_get_phy_by_phandle() nor devm_usb_get_phy() can\nreturn a NULL result, so remove the useless !isp->phy check.\n\nSigned-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>","Wei Yongjun",true],["4f8dd2c10bec8a6c1928c3ce00ac68dba5a5d667","1ea78bda3cb6d36efdb8fc89aad6555e21b4887e@debian.org","dt: binding documentation for bq2415x charger\n\nAdd devicetree binding documentation for bq2415x charger.\n\nSigned-off-by: Sebastian Reichel <sre@debian.org>\nAcked-by: Pavel Machek <pavel@ucw.cz>","Sebastian Reichel",true],["29191039e21f66e204acffed63c486674a1918bd","6256631839ed045a405fdc584eac7829eb7b67ab@chromium.org","HID: usbhid: quirk for CY-TM75 75 inch Touch Overlay\n\nThere is timeout error during initialization:\nkernel: [   11.733104] hid-multitouch 0003:1870:0110.0001: usb_submit_urb(ctrl) failed: -1\nkernel: [   11.734093] hid-multitouch 0003:1870:0110.0001: timeout initializing reports\n\nAdding quirk HID_QUIRK_NO_INIT_REPORTS can solve the problem.\n\nSigned-off-by: Yufeng Shen <miletus@chromium.org>\nSigned-off-by: Jiri Kosina <jkosina@suse.cz>","Yufeng Shen",true],["117309c51dca42121f70cacec801511b76acf75c","63bd66f52535dc32c44a3f6b0a77abc331a8a6ea@gmail.com","HID: microsoft: Add ID's for Surface Type/Touch Cover 2\n\nThe Microsoft Surface Type/Touch cover 2 devices have the flag HID_DG_CONTACTID\nin their reports.This causes the device to bind to the hid-multitouch driver,\nwhich doesn't handle generic keyboard/mouse input events.  The patch adds\nthe hardware id's of the device to hid-microsoft and to the HID special\ndriver array, which makes the device get handled by hid-generic/hid-input\nproperly.\n\nFixes: https://bugzilla.kernel.org/show_bug.cgi?id=64811\n\nSinged-off-by: Reyad Attiyat <reyad.attiyat@gmail.com>\nReviewed-by: Benjamin Tissoires<benjamin.tissoires@redhat.com>\nSigned-off-by: Jiri Kosina <jkosina@suse.cz>","Reyad Attiyat",true],["3db187e7bf76ace626664ef80afbc2e1501172c6","7a0e50e3f6a0939db82b6a8a423c08a163896f41@redhat.com","HID: multitouch: add FocalTech FTxxxx support\n\nThis is a Win7 device which does not work correctly with the default\nsettings (not the previous default BT).\nHowever, the quirk ALWAYS_TRUE makes it working like a charm.\n\nSigned-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>\nSigned-off-by: Jiri Kosina <jkosina@suse.cz>","Benjamin Tissoires",true],["0475c947d221f9250bbdf430b2604f828b643ee0","679188261afeb60eb822cd934fd7b46a48ddd743@freescale.com","ata: pata_imx: Check the return value from clk_prepare_enable()\n\nclk_prepare_enable() may fail, so let's check its return value and propagate it\nin the case of error.\n\nSigned-off-by: Fabio Estevam <fabio.estevam@freescale.com>\nSigned-off-by: Tejun Heo <tj@kernel.org>","Fabio Estevam",true],["49c8f1ffe26ffddfb7244a24db21c0b4a79e1c52","02e0a999c50b1f88df7a8f5a04e1b76b35ea6a88@lunn.ch","ATA: SATA_MV: Add missing Kconfig select statememnt\n\nSATA_MV depends on GENERIC_PHY. So if SATA_MV is built in, GENERIC_PHY\ncannot be modular. Fixes build error found by kbuild test robot.\n\nSigned-off-by: Andrew Lunn <andrew@lunn.ch>\nSigned-off-by: Tejun Heo <tj@kernel.org>","Andrew Lunn",true],["947174476701fbc84ea8c7ec9664270f9d80b076","206af32863b9fd2fc412cf38757e7321a0f2bd37@oracle.com","bcache: fix BUG_ON due to integer overflow with GC_SECTORS_USED\n\nThe BUG_ON at the end of __bch_btree_mark_key can be triggered due to\nan integer overflow error:\n\nBITMASK(GC_SECTORS_USED, struct bucket, gc_mark, 2, 13);\n...\nSET_GC_SECTORS_USED(g, min_t(unsigned,\n\t     GC_SECTORS_USED(g) + KEY_SIZE(k),\n\t     (1 << 14) - 1));\nBUG_ON(!GC_SECTORS_USED(g));\n\nIn bcache.h, the SECTORS_USED bitfield is defined to be 13 bits wide.\nWhile the SET_ code tries to ensure that the field doesn't overflow by\nclamping it to (1<<14)-1 == 16383, this is incorrect because 16383\nrequires 14 bits.  Therefore, if GC_SECTORS_USED() + KEY_SIZE() =\n8192, the SET_ statement tries to store 8192 into a 13-bit field.  In\na 13-bit field, 8192 becomes zero, thus triggering the BUG_ON.\n\nTherefore, create a field width constant and a max value constant, and\nuse those to create the bitfield and check the inputs to\nSET_GC_SECTORS_USED.  Arguably the BITMASK() template ought to have\nBUG_ON checks for too-large values, but that's a separate patch.\n\nSigned-off-by: Darrick J. Wong <darrick.wong@oracle.com>","Darrick J. Wong",true],["3572324af0f4ef877545e5a17bd3e788551f166a","99dffa8a9668ab7f6cde1c94b42a210109971113@daterainc.com","bcache: Minor fixes from kbuild robot\n\nSigned-off-by: Kent Overstreet <kmo@daterainc.com>","Kent Overstreet",true],["e3b4825b85eab879b618af6ea18529ca7ab9a64f","913a18fd79bdae0e89a23391e4c2d5991e28e454@daterainc.com","bcache: bugfix - gc thread now gets woken when cache is full\n\nSigned-off-by: Nicholas Swenson <nks@daterainc.com>","Nicholas Swenson",true]],"size":501,"ref":"refs/heads/master","head":"d158fc7f36a25e19791d25a55da5623399a2644f"}