#!/bin/sh function test_ex { make -C ex V=1 clean > ex.out 2>&1 make -C ex V=1 >> ex.out 2>&1 if [ ! -x ./ex/ex ]; then echo FAILED exit -1 fi make -C ex V=1 clean > /dev/null 2>&1 rm -f ex.out } function test_ex_suffix { make -C ex V=1 clean > ex.out 2>&1 # use -rR to disable make's builtin rules make -rR -C ex V=1 ex.o >> ex.out 2>&1 make -rR -C ex V=1 ex.i >> ex.out 2>&1 make -rR -C ex V=1 ex.s >> ex.out 2>&1 if [ -x ./ex/ex ]; then echo FAILED exit -1 fi if [ ! -f ./ex/ex.o -o ! -f ./ex/ex.i -o ! -f ./ex/ex.s ]; then echo FAILED exit -1 fi make -C ex V=1 clean > /dev/null 2>&1 rm -f ex.out } function test_ex_include { make -C ex V=1 clean > ex.out 2>&1 # build with krava.h include touch ex/krava.h make -C ex V=1 CFLAGS=-DINCLUDE >> ex.out 2>&1 if [ ! -x ./ex/ex ]; then echo FAILED exit -1 fi # build without the include rm -f ex/krava.h ex/ex make -C ex V=1 >> ex.out 2>&1 if [ ! -x ./ex/ex ]; then echo FAILED exit -1 fi make -C ex V=1 clean > /dev/null 2>&1 rm -f ex.out } echo -n Testing.. test_ex test_ex_suffix test_ex_include echo OK ion> <option value='nds-private-remove'>nds-private-remove</option> <option 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=8b0e195314fabd58a331c4f7b6db75a1565535d7'>refs</a><a href='/cgit.cgi/linux/net-next.git/log/net/sunrpc/xprtmultipath.c'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/net/sunrpc/xprtmultipath.c?id=8b0e195314fabd58a331c4f7b6db75a1565535d7'>tree</a><a class='active' href='/cgit.cgi/linux/net-next.git/commit/net/sunrpc/xprtmultipath.c?id=8b0e195314fabd58a331c4f7b6db75a1565535d7'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/net/sunrpc/xprtmultipath.c?id=8b0e195314fabd58a331c4f7b6db75a1565535d7'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/net/sunrpc/xprtmultipath.c'> <input type='hidden' name='id' value='8b0e195314fabd58a331c4f7b6db75a1565535d7'/><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=8b0e195314fabd58a331c4f7b6db75a1565535d7'>root</a>/<a href='/cgit.cgi/linux/net-next.git/commit/net?id=8b0e195314fabd58a331c4f7b6db75a1565535d7'>net</a>/<a href='/cgit.cgi/linux/net-next.git/commit/net/sunrpc?id=8b0e195314fabd58a331c4f7b6db75a1565535d7'>sunrpc</a>/<a href='/cgit.cgi/linux/net-next.git/commit/net/sunrpc/xprtmultipath.c?id=8b0e195314fabd58a331c4f7b6db75a1565535d7'>xprtmultipath.c</a></div><div class='content'><div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='id' value='8b0e195314fabd58a331c4f7b6db75a1565535d7'/><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>Thomas Gleixner <tglx@linutronix.de></td><td class='right'>2016-12-25 12:30:41 +0100</td></tr> <tr><th>committer</th><td>Thomas Gleixner <tglx@linutronix.de></td><td class='right'>2016-12-25 17:21:22 +0100</td></tr> <tr><th>commit</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/net/sunrpc/xprtmultipath.c?id=8b0e195314fabd58a331c4f7b6db75a1565535d7'>8b0e195314fabd58a331c4f7b6db75a1565535d7</a> (<a href='/cgit.cgi/linux/net-next.git/patch/net/sunrpc/xprtmultipath.c?id=8b0e195314fabd58a331c4f7b6db75a1565535d7'>patch</a>)</td></tr> <tr><th>tree</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/tree/?id=8b0e195314fabd58a331c4f7b6db75a1565535d7'>6ff9d2d9388406b8447b09b6a4037795142172de</a> /<a href='/cgit.cgi/linux/net-next.git/tree/net/sunrpc/xprtmultipath.c?id=8b0e195314fabd58a331c4f7b6db75a1565535d7'>net/sunrpc/xprtmultipath.c</a></td></tr> <tr><th>parent</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/net/sunrpc/xprtmultipath.c?id=2456e855354415bfaeb7badaa14e11b3e02c8466'>2456e855354415bfaeb7badaa14e11b3e02c8466</a> (<a href='/cgit.cgi/linux/net-next.git/diff/net/sunrpc/xprtmultipath.c?id=8b0e195314fabd58a331c4f7b6db75a1565535d7&id2=2456e855354415bfaeb7badaa14e11b3e02c8466'>diff</a>)</td></tr></table> <div class='commit-subject'>ktime: Cleanup ktime_set() usage</div><div class='commit-msg'>ktime_set(S,N) was required for the timespec storage type and is still useful for situations where a Seconds and Nanoseconds part of a time value needs to be converted. For anything where the Seconds argument is 0, this is pointless and can be replaced with a simple assignment. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Peter Zijlstra <peterz@infradead.org> </div><div class='diffstat-header'><a href='/cgit.cgi/linux/net-next.git/diff/?id=8b0e195314fabd58a331c4f7b6db75a1565535d7'>Diffstat</a> (limited to 'net/sunrpc/xprtmultipath.c')</div><table summary='diffstat' class='diffstat'>