/* * Copyright (c) 2010, Intel Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * This program is distributed in the hope 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, see <http://www.gnu.org/licenses/>. * * Author: John Fastabend <john.r.fastabend@intel.com> */ #ifndef _DCB_EVENT_H #define _DCB_EVENT_H enum dcbevent_notif_type { DCB_APP_EVENT = 1, }; #ifdef CONFIG_DCB int register_dcbevent_notifier(struct notifier_block *nb); int unregister_dcbevent_notifier(struct notifier_block *nb); int call_dcbevent_notifiers(unsigned long val, void *v); #else static inline int register_dcbevent_notifier(struct notifier_block *nb) { return 0; } static inline int unregister_dcbevent_notifier(struct notifier_block *nb) { return 0; } static inline int call_dcbevent_notifiers(unsigned long val, void *v) { return 0; } #endif /* CONFIG_DCB */ #endif on value='packet-loop-back'>packet-loop-back</option> <option value='packet-rx-pump-back'>packet-rx-pump-back</option> </select> <input type='submit' value='switch'/></form></td></tr> <tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table> <table class='tabs'><tr><td> <a href='/cgit.cgi/linux/net-next.git/'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?id=8b1b41ee74f9712c355d66dc105bbea663ae0afd'>refs</a><a href='/cgit.cgi/linux/net-next.git/log/drivers/usb/storage/jumpshot.c'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/drivers/usb/storage/jumpshot.c?id=8b1b41ee74f9712c355d66dc105bbea663ae0afd'>tree</a><a class='active' href='/cgit.cgi/linux/net-next.git/commit/drivers/usb/storage/jumpshot.c?id=8b1b41ee74f9712c355d66dc105bbea663ae0afd'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/drivers/usb/storage/jumpshot.c?id=8b1b41ee74f9712c355d66dc105bbea663ae0afd'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/drivers/usb/storage/jumpshot.c'> <input type='hidden' name='id' value='8b1b41ee74f9712c355d66dc105bbea663ae0afd'/><select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/commit/?id=8b1b41ee74f9712c355d66dc105bbea663ae0afd'>root</a>/<a href='/cgit.cgi/linux/net-next.git/commit/drivers?id=8b1b41ee74f9712c355d66dc105bbea663ae0afd'>drivers</a>/<a href='/cgit.cgi/linux/net-next.git/commit/drivers/usb?id=8b1b41ee74f9712c355d66dc105bbea663ae0afd'>usb</a>/<a href='/cgit.cgi/linux/net-next.git/commit/drivers/usb/storage?id=8b1b41ee74f9712c355d66dc105bbea663ae0afd'>storage</a>/<a href='/cgit.cgi/linux/net-next.git/commit/drivers/usb/storage/jumpshot.c?id=8b1b41ee74f9712c355d66dc105bbea663ae0afd'>jumpshot.c</a></div><div class='content'><div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='id' value='8b1b41ee74f9712c355d66dc105bbea663ae0afd'/><table><tr><td colspan='2'/></tr><tr><td class='label'>context:</td><td class='ctrl'><select name='context' onchange='this.form.submit();'><option value='1'>1</option><option value='2'>2</option><option value='3' selected='selected'>3</option><option value='4'>4</option><option value='5'>5</option><option value='6'>6</option><option value='7'>7</option><option value='8'>8</option><option value='9'>9</option><option value='10'>10</option><option value='15'>15</option><option value='20'>20</option><option value='25'>25</option><option value='30'>30</option><option value='35'>35</option><option value='40'>40</option></select></td></tr><tr><td class='label'>space:</td><td class='ctrl'><select name='ignorews' onchange='this.form.submit();'><option value='0' selected='selected'>include</option><option value='1'>ignore</option></select></td></tr><tr><td class='label'>mode:</td><td class='ctrl'><select name='dt' onchange='this.form.submit();'><option value='0' selected='selected'>unified</option><option value='1'>ssdiff</option><option value='2'>stat only</option></select></td></tr><tr><td/><td class='ctrl'><noscript><input type='submit' value='reload'/></noscript></td></tr></table></form></div><table summary='commit info' class='commit-info'> <tr><th>author</th><td>Linus Torvalds <torvalds@linux-foundation.org></td><td class='right'>2017-02-06 19:36:04 -0800</td></tr> <tr><th>committer</th><td>Linus Torvalds <torvalds@linux-foundation.org></td><td class='right'>2017-02-06 19:36:04 -0800</td></tr> <tr><th>commit</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/drivers/usb/storage/jumpshot.c?id=8b1b41ee74f9712c355d66dc105bbea663ae0afd'>8b1b41ee74f9712c355d66dc105bbea663ae0afd</a> (<a href='/cgit.cgi/linux/net-next.git/patch/drivers/usb/storage/jumpshot.c?id=8b1b41ee74f9712c355d66dc105bbea663ae0afd'>patch</a>)</td></tr> <tr><th>tree</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/tree/?id=8b1b41ee74f9712c355d66dc105bbea663ae0afd'>4c3f410f3cb01c7b00b474e376a60f27a7ff99a8</a> /<a href='/cgit.cgi/linux/net-next.git/tree/drivers/usb/storage/jumpshot.c?id=8b1b41ee74f9712c355d66dc105bbea663ae0afd'>drivers/usb/storage/jumpshot.c</a></td></tr> <tr><th>parent</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/drivers/usb/storage/jumpshot.c?id=f7d6040aa45df6ffd9e891114125dc919f18b96b'>f7d6040aa45df6ffd9e891114125dc919f18b96b</a> (<a href='/cgit.cgi/linux/net-next.git/diff/drivers/usb/storage/jumpshot.c?id=8b1b41ee74f9712c355d66dc105bbea663ae0afd&id2=f7d6040aa45df6ffd9e891114125dc919f18b96b'>diff</a>)</td></tr><tr><th>parent</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/drivers/usb/storage/jumpshot.c?id=bfb34527a32a1a576d9bfb7026d3ab0369a6cd60'>bfb34527a32a1a576d9bfb7026d3ab0369a6cd60</a> (<a href='/cgit.cgi/linux/net-next.git/diff/drivers/usb/storage/jumpshot.c?id=8b1b41ee74f9712c355d66dc105bbea663ae0afd&id2=bfb34527a32a1a576d9bfb7026d3ab0369a6cd60'>diff</a>)</td></tr></table> <div class='commit-subject'>Merge branch 'libnvdimm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm</div><div class='commit-msg'>Pull libnvdimm fixes from Dan Williams: "None of these are showstoppers for 4.10 and could wait for 4.11 merge window, but they are low enough risk for this late in the cycle and the fixes have waiting users . They have received a build success notification from the 0day robot, pass the latest ndctl unit tests, and appeared in next: - Fix a crash that can result when SIGINT is sent to a process that is awaiting completion of an address range scrub command. We were not properly cleaning up the workqueue after wait_event_interruptible(). - Fix a memory hotplug failure condition that results from not reserving enough space out of persistent memory for the memmap. By default we align to 2M allocations that the memory hotplug code assumes, but if the administrator specifies a non-default 4K-alignment then we can fail to correctly size the reservation. - A one line fix to improve the predictability of libnvdimm block device names. A common operation is to reconfigure /dev/pmem0 into a different mode. For example, a reconfiguration might set a new mode that reserves some of the capacity for a struct page memmap array. It surprises users if the device name changes to "/dev/pmem0.1" after the mode change and then back to /dev/pmem0 after a reboot. - Add 'const' to some function pointer tables" * 'libnvdimm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm: libnvdimm, pfn: fix memmap reservation size versus 4K alignment acpi, nfit: fix acpi_nfit_flush_probe() crash libnvdimm, namespace: do not delete namespace-id 0 nvdimm: constify device_type structures </div><div class='diffstat-header'><a href='/cgit.cgi/linux/net-next.git/diff/?id=8b1b41ee74f9712c355d66dc105bbea663ae0afd'>Diffstat</a> (limited to 'drivers/usb/storage/jumpshot.c')</div><table summary='diffstat' class='diffstat'>