GitHub PushEvent at 2014-04-13 00:52:33
Repository: linux
Actor: torvalds
Payload: {"shas":[["5d658bfdb4ca797104f3ad9a88dae86bee0ac77a","181323dd666a182bc2d953e52d0ac3ab54cd8391@pengutronix.de","remoteproc/davinci: drop needless devm_clk_put\n\nThe comment above disable_irq says that it is needed to ensure that the\n\"devm subsystem might end up releasing things before freeing the irq,\nthus allowing an interrupt to sneak in while the device is being\nremoved.\" disable_irq is enough for this purpose and there is no need to\nmanually free the reference to the clock.\n\nCc: Robert Tivy <rtivy@ti.com>\nSigned-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>\n[moved the Cc line into the commit message]\nSigned-off-by: Ohad Ben-Cohen <ohad@wizery.com>","Uwe Kleine-König",true],["0ddc5ec1c1f4d776a8e702b3bcc25daa015b8de6","3d4a3affaf9163789962e9770780389962bda29d@lip6.fr","remoteproc/davinci: simplify use of devm_ioremap_resource\n\nRemove unneeded error handling on the result of a call to\nplatform_get_resource when the value is passed to devm_ioremap_resource.\n\nMove the call to platform_get_resource adjacent to the call to\ndevm_ioremap_resource to make the connection between them more clear.\n\nA simplified version of the semantic patch that makes this change is as\nfollows: (http://coccinelle.lip6.fr/)\n\n// <smpl>\n@@\nexpression pdev,res,n,e,e1;\nexpression ret != 0;\nidentifier l;\n@@\n\n- res = platform_get_resource(pdev, IORESOURCE_MEM, n);\n  ... when != res\n- if (res == NULL) { ... \\(goto l;\\|return ret;\\) }\n  ... when != res\n+ res = platform_get_resource(pdev, IORESOURCE_MEM, n);\n  e = devm_ioremap_resource(e1, res);\n// </smpl>\n\nSigned-off-by: Julia Lawall <Julia.Lawall@lip6.fr>\n[simplify patch title]\nSigned-off-by: Ohad Ben-Cohen <ohad@wizery.com>","Julia Lawall",true],["bd88acba5f9809af48f66267bb16024b9e33cf2b","fc379137a64feb86ce38ec5811a14280acc1ccfc@samsung.com","remoteproc/ste_modem: staticize local symbols\n\nThese local symbols are used only in this file.\nFix the following sparse warnings:\n\ndrivers/remoteproc/ste_modem_rproc.c:167:27: warning: symbol 'sproc_fw_ops' was not declared. Should it be static?\ndrivers/remoteproc/ste_modem_rproc.c:196:25: warning: symbol 'sproc_dev_cb' was not declared. Should it be static?\n\nSigned-off-by: Jingoo Han <jg1.han@samsung.com>\n[standartize patch title]\nSigned-off-by: Ohad Ben-Cohen <ohad@wizery.com>","Jingoo Han",true],["1e1cdf8ac78793e0875465e98a648df64694a8d0","9ff04a02a69f376b2b9aeec27187017cbf3cf5f9@redhat.com","net: sctp: test if association is dead in sctp_wake_up_waiters\n\nIn function sctp_wake_up_waiters(), we need to involve a test\nif the association is declared dead. If so, we don't have any\nreference to a possible sibling association anymore and need\nto invoke sctp_write_space() instead, and normally walk the\nsocket's associations and notify them of new wmem space. The\nreason for special casing is that otherwise, we could run\ninto the following issue when a sctp_primitive_SEND() call\nfrom sctp_sendmsg() fails, and tries to flush an association's\noutq, i.e. in the following way:\n\nsctp_association_free()\n`-> list_del(&asoc->asocs)         <-- poisons list pointer\n    asoc->base.dead = true\n    sctp_outq_free(&asoc->outqueue)\n    `-> __sctp_outq_teardown()\n     `-> sctp_chunk_free()\n      `-> consume_skb()\n       `-> sctp_wfree()\n        `-> sctp_wake_up_waiters() <-- dereferences poisoned pointers\n                                       if asoc->ep->sndbuf_policy=0\n\nTherefore, only walk the list in an 'optimized' way if we find\nthat the current association is still active. We could also use\nlist_del_init() in addition when we call sctp_association_free(),\nbut as Vlad suggests, we want to trap such bugs and thus leave\nit poisoned as is.\n\nWhy is it safe to resolve the issue by testing for asoc->base.dead?\nParallel calls to sctp_sendmsg() are protected under socket lock,\nthat is lock_sock()/release_sock(). Only within that path under\nlock held, we're setting skb/chunk owner via sctp_set_owner_w().\nEventually, chunks are freed directly by an association still\nunder that lock. So when traversing association list on destruction\ntime from sctp_wake_up_waiters() via sctp_wfree(), a different\nCPU can't be running sctp_wfree() while another one calls\nsctp_association_free() as both happens under the same lock.\nTherefore, this can also not race with setting/testing against\nasoc->base.dead as we are guaranteed for this to happen in order,\nunder lock. Further, Vlad says: the times we check asoc->base.dead\nis when we've cached an association pointer for later processing.\nIn between cache and processing, the association may have been\nfreed and is simply still around due to reference counts. We check\nasoc->base.dead under a lock, so it should always be safe to check\nand not race against sctp_association_free(). Stress-testing seems\nfine now, too.\n\nFixes: cd253f9f357d (\"net: sctp: wake up all assocs if sndbuf policy is per socket\")\nSigned-off-by: Daniel Borkmann <dborkman@redhat.com>\nCc: Vlad Yasevich <vyasevic@redhat.com>\nAcked-by: Neil Horman <nhorman@tuxdriver.com>\nAcked-by: Vlad Yasevich <vyasevic@redhat.com>\nSigned-off-by: David S. Miller <davem@davemloft.net>","Daniel Borkmann",true],["fa8cddaf903c0e010ff2de210ea4974fa30603ef","84a446a47e8a48993491189e32d514c570865578@gmail.com","net phylib: Remove unnecessary condition check in phy\n\nThis condition check makes no difference in the code flow since 3.10\n\nSigned-off-by: Balakumaran Kannan <kumaran.4353@gmail.com>\nReviewed-by: Florian Fainelli <f.fainelli@gmail.com>\nSigned-off-by: David S. Miller <davem@davemloft.net>","Balakumaran Kannan",true],["b25e77fdfa9510a7d47b35ecddc16f5ea583ca4e","e3ec47f86632c530f53ca4c659eb8e25a4d8e98f@gmail.com","rsi: Potential null pointer derefernce issue fixed.\n\nSigned-off-by: Fariya Fatima <fariyaf@gmail.com>\nSigned-off-by: John W. Linville <linville@tuxdriver.com>","Fariya Fatima",true],["bff37af7f25919f1af3e8dac5a9263c63b533e74","e3ec47f86632c530f53ca4c659eb8e25a4d8e98f@gmail.com","rsi: Fixed signedness bug reported by static code analyzer.\n\nSigned-off-by: Fariya Fatima <fariyaf@gmail.com>\nSigned-off-by: John W. Linville <linville@tuxdriver.com>","Fariya Fatima",true],["57a2a093b42a2addeb18a22a5eab02579f4dc1d2","e3ec47f86632c530f53ca4c659eb8e25a4d8e98f@gmail.com","rsi: Fixed issue relating to variable de-referenced before check 'adapter'\n\nSigned-off-by: Fariya Fatima <fariyaf@gmail.com>\nSigned-off-by: John W. Linville <linville@tuxdriver.com>","Fariya Fatima",true],["d50c761aefbd6785fd46ce4f7f387cf2aa749a2a","e3ec47f86632c530f53ca4c659eb8e25a4d8e98f@gmail.com","rsi: Fixed issue relating to return value.\n\nSigned-off-by: Fariya Fatima <fariyaf@gmail.com>\nSigned-off-by: John W. Linville <linville@tuxdriver.com>","Fariya Fatima",true],["5156fd24e9aec406ae14f02fc1779e234553fbd3","e3ec47f86632c530f53ca4c659eb8e25a4d8e98f@gmail.com","rsi: Fixed issue relating to index of q_num.\n\nSigned-off-by: Fariya Fatima <fariyaf@gmail.com>\nSigned-off-by: John W. Linville <linville@tuxdriver.com>","Fariya Fatima",true],["d453ba81cd2981d0040dad0def161f91f209ddf9","e3ec47f86632c530f53ca4c659eb8e25a4d8e98f@gmail.com","rsi: Fixed issue relating to doing dma on stack error.\n\nSigned-off-by: Fariya Fatima <fariyaf@gmail.com>\nSigned-off-by: John W. Linville <linville@tuxdriver.com>","Fariya Fatima",true],["cdacdcc246827fe0aec9cbd4461edf073b4de7d5","06347be8a1534b1f0025d629ea7c7ce02309a6de@gmail.com","ath9k_htc: set IEEE80211_TX_STAT_AMPDU for acked aggregated frames\n\nFrame aggregation requires the IEEE80211_TX_STAT_AMPDU to\nbe set so that mac80211 can report the last_tx_rate correctly.\n\nSigned-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com>\nSigned-off-by: John W. Linville <linville@tuxdriver.com>","Chun-Yeow Yeoh",true],["5212f518ac0f5141d4da3c9c75666a2146c7e772","0bda9a89324ffe2d19adec61a9f1cd9f8c8e45f0@tiscali.nl","rtlwifi: btcoexist: remove undefined Kconfig macros\n\nThere are references to four undefined Kconfig macros in the code.\nCommit 8542373dccd2 (\"Staging: rtl8812ae: remove undefined Kconfig\nmacros\") removed identical references from that staging driver, but\nthey resurfaced in rtlwifi. Remove these again as the checks for them\nstill will always evaluate to false.\n\nSigned-off-by: Paul Bolle <pebolle@tiscali.nl>\nSigned-off-by: John W. Linville <linville@tuxdriver.com>","Paul Bolle",true],["12cd43c6ed6da7bf7c5afbd74da6959cda6d056b","dced371c11179e2cb83b1e305b9d7b15f379452b@gmail.com","b43: Fix machine check error due to improper access of B43_MMIO_PSM_PHY_HDR\n\nRegister B43_MMIO_PSM_PHY_HDR is 16 bit one, so accessing it with 32b\nfunctions isn't safe. On my machine it causes delayed (!) CPU exception:\n\nDisabling lock debugging due to kernel taint\nmce: [Hardware Error]: CPU 0: Machine Check Exception: 4 Bank 4: b200000000070f0f\nmce: [Hardware Error]: TSC 164083803dc\nmce: [Hardware Error]: PROCESSOR 2:20fc2 TIME 1396650505 SOCKET 0 APIC 0 microcode 0\nmce: [Hardware Error]: Run the above through 'mcelog --ascii'\nmce: [Hardware Error]: Machine check: Processor context corrupt\nKernel panic - not syncing: Fatal machine check on current CPU\nKernel Offset: 0x0 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffff9fffffff)\n\nSigned-off-by: Rafał Miłecki <zajec5@gmail.com>\nAcked-by: Larry Finger <Larry.Finger@lwfinger.net>\nCc: Stable <stable@vger.kernel.org> [2.6.35+]\nSigned-off-by: John W. Linville <linville@tuxdriver.com>","Rafał Miłecki",true],["4d76248013dbb1948429555208900a585b0f351d","a4201e08a607951e17dcd5a575c0fe6bceb34e87@tieto.com","ath9k: Enable DFS only when ATH9K_DFS_CERTIFIED\n\nAdd DFS interface combination only when\nCONFIG_ATH9K_DFS_CERTIFIED is set. In other case\nuser can run CAC/beaconing without proper handling\nof pulse events (without radar detection activated).\n\nReported-by: Cedric Voncken <cedric.voncken@acksys.fr>\nSigned-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>\nSigned-off-by: John W. Linville <linville@tuxdriver.com>","Janusz Dziedzic",true],["09efc56345be4146ab9fc87a55c837ed5d6ea1ab","118ed6118e893d16e8c6e0776e0ebc290952c897@openwrt.org","ath9k_hw: reduce ANI firstep range for older chips\n\nUse 0-8 instead of 0-16, which is closer to the old implementation.\nAlso drop the overwrite of the firstep_low parameter to improve\nstability.\n\nSigned-off-by: Felix Fietkau <nbd@openwrt.org>\nSigned-off-by: John W. Linville <linville@tuxdriver.com>","Felix Fietkau",true],["5869e795e07ded955744ab99765d0f183f825f97","118ed6118e893d16e8c6e0776e0ebc290952c897@openwrt.org","ath9k: fix a scheduling while atomic bug in CSA handling\n\nCommit \"ath9k: prepare for multi-interface CSA support\" added a call to\nieee80211_iterate_active_interfaces in atomic context (beacon tasklet),\nwhich is crashing.\nUse ieee80211_iterate_active_interfaces_atomic instead.\n\nSigned-off-by: Felix Fietkau <nbd@openwrt.org>\nSigned-off-by: John W. Linville <linville@tuxdriver.com>","Felix Fietkau",true],["629c9a8fd0bbdfc6d702526b327470166ec39c6b","c5344daf2e7bda9dbffd8e6718db2d989f7f4819@ti.com","drivers: net: cpsw: Add default vlan for dual emac case also\n\nDual EMAC works with VLAN segregation of the ports, so default vlan needs\nto be added in dual EMAC case else default vlan will be tagged for all\negress packets and vlan unaware switches/servers will drop packets\nfrom the EVM.\n\nSigned-off-by: Mugunthan V N <mugunthanvnm@ti.com>\nTested-by: Yegor Yefremov <yegorslists@googlemail.com>\nSigned-off-by: David S. Miller <davem@davemloft.net>","Mugunthan V N",true],["f34c4a35d87949fbb0e0f31eba3c054e9f8199ba","69f647420f51f633e6995091b80be9c4b4165b2b@gmail.com","l2tp: take PMTU from tunnel UDP socket\n\nWhen l2tp driver tries to get PMTU for the tunnel destination, it uses\nthe pointer to struct sock that represents PPPoX socket, while it\nshould use the pointer that represents UDP socket of the tunnel.\n\nSigned-off-by: Dmitry Petukhov <dmgenp@gmail.com>\nSigned-off-by: David S. Miller <davem@davemloft.net>","Dmitry Petukhov",true],["61163efae02040f66a95c8ed17f4407951ba58fa","9152da451d71c2a1ceb0c7b0908d4018fc127ae6@converseincode.com","kbuild: LLVMLinux: Add Kbuild support for building kernel with Clang\n\nAdd support to toplevel Makefile for compiling with clang, both for\nHOSTCC and CC. Use cc-option to prevent gcc option from breaking clang, and\nfrom clang options from breaking gcc.\n\nClang 3.4 semantics are the same as gcc semantics for unsupported flags. For\nunsupported warnings clang 3.4 returns true but shows a warning and gcc shows\na warning and returns false.\n\nSigned-off-by: Behan Webster <behanw@converseincode.com>\nSigned-off-by: Jan-Simon Möller <dl9pf@gmx.de>\nSigned-off-by: Mark Charlebois <charlebm@gmail.com>\nCc: PaX Team <pageexec@freemail.hu>","Behan Webster",true]],"size":82,"ref":"refs/heads/master","head":"454fd351f2e2b6baa926d61064aaf70d2a77976e"}