VERSION = 1.0 BINDIR=usr/bin WARNFLAGS=-Wall -Wshadow -W -Wformat -Wimplicit-function-declaration -Wimplicit-int CFLAGS+= -O1 ${WARNFLAGS} -fstack-protector CC=$(CROSS_COMPILE)gcc CFLAGS+=-D VERSION=\"$(VERSION)\" LDFLAGS+= TARGET=tmon INSTALL_PROGRAM=install -m 755 -p DEL_FILE=rm -f # Static builds might require -ltinfo, for instance ifneq ($(findstring -static, $(LDFLAGS)),) STATIC := --static endif TMON_LIBS=-lm -lpthread TMON_LIBS += $(shell pkg-config --libs $(STATIC) panelw ncursesw 2> /dev/null || \ pkg-config --libs $(STATIC) panel ncurses 2> /dev/null || \ echo -lpanel -lncurses) CFLAGS += $(shell pkg-config --cflags $(STATIC) panelw ncursesw 2> /dev/null || \ pkg-config --cflags $(STATIC) panel ncurses 2> /dev/null) OBJS = tmon.o tui.o sysfs.o pid.o OBJS += tmon: $(OBJS) Makefile tmon.h $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $(TARGET) $(TMON_LIBS) valgrind: tmon sudo valgrind -v --track-origins=yes --tool=memcheck --leak-check=yes --show-reachable=yes --num-callers=20 --track-fds=yes ./$(TARGET) 1> /dev/null install: - mkdir -p $(INSTALL_ROOT)/$(BINDIR) - $(INSTALL_PROGRAM) "$(TARGET)" "$(INSTALL_ROOT)/$(BINDIR)/$(TARGET)" uninstall: $(DEL_FILE) "$(INSTALL_ROOT)/$(BINDIR)/$(TARGET)" clean: find . -name "*.o" | xargs $(DEL_FILE) rm -f $(TARGET) dist: git tag v$(VERSION) git archive --format=tar --prefix="$(TARGET)-$(VERSION)/" v$(VERSION) | \ gzip > $(TARGET)-$(VERSION).tar.gz 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=30103b5b6432a51c3822a26dc340e35d91237f39'>refs</a><a href='/cgit.cgi/linux/net-next.git/log/net/sched/sch_hfsc.c'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/net/sched/sch_hfsc.c?id=30103b5b6432a51c3822a26dc340e35d91237f39'>tree</a><a class='active' href='/cgit.cgi/linux/net-next.git/commit/net/sched/sch_hfsc.c?id=30103b5b6432a51c3822a26dc340e35d91237f39'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/net/sched/sch_hfsc.c?id=30103b5b6432a51c3822a26dc340e35d91237f39'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/net/sched/sch_hfsc.c'> <input type='hidden' name='id' value='30103b5b6432a51c3822a26dc340e35d91237f39'/><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=30103b5b6432a51c3822a26dc340e35d91237f39'>root</a>/<a href='/cgit.cgi/linux/net-next.git/commit/net?id=30103b5b6432a51c3822a26dc340e35d91237f39'>net</a>/<a href='/cgit.cgi/linux/net-next.git/commit/net/sched?id=30103b5b6432a51c3822a26dc340e35d91237f39'>sched</a>/<a href='/cgit.cgi/linux/net-next.git/commit/net/sched/sch_hfsc.c?id=30103b5b6432a51c3822a26dc340e35d91237f39'>sch_hfsc.c</a></div><div class='content'><div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='id' value='30103b5b6432a51c3822a26dc340e35d91237f39'/><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>David Lechner <david@lechnology.com></td><td class='right'>2016-12-04 16:52:31 -0600</td></tr> <tr><th>committer</th><td>Mark Brown <broonie@kernel.org></td><td class='right'>2016-12-05 11:38:30 +0000</td></tr> <tr><th>commit</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/net/sched/sch_hfsc.c?id=30103b5b6432a51c3822a26dc340e35d91237f39'>30103b5b6432a51c3822a26dc340e35d91237f39</a> (<a href='/cgit.cgi/linux/net-next.git/patch/net/sched/sch_hfsc.c?id=30103b5b6432a51c3822a26dc340e35d91237f39'>patch</a>)</td></tr> <tr><th>tree</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/tree/?id=30103b5b6432a51c3822a26dc340e35d91237f39'>0806755f1615c0bc8598558b4a845ab1cf9c8291</a> /<a href='/cgit.cgi/linux/net-next.git/tree/net/sched/sch_hfsc.c?id=30103b5b6432a51c3822a26dc340e35d91237f39'>net/sched/sch_hfsc.c</a></td></tr> <tr><th>parent</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/net/sched/sch_hfsc.c?id=1b5b42216469b05ef4b5916cb40b127dfab1da88'>1b5b42216469b05ef4b5916cb40b127dfab1da88</a> (<a href='/cgit.cgi/linux/net-next.git/diff/net/sched/sch_hfsc.c?id=30103b5b6432a51c3822a26dc340e35d91237f39&id2=1b5b42216469b05ef4b5916cb40b127dfab1da88'>diff</a>)</td></tr></table> <div class='commit-subject'>regulator: Fix regulator_get_error_flags() signature mismatch</div><div class='commit-msg'>The function signature of does not match regulator_get_error_flags() when CONFIG_REGULATOR is not defined vs. when it is not defined. This makes both declarations match to prevent compiler errors. Signed-off-by: David Lechner <david@lechnology.com> Signed-off-by: Mark Brown <broonie@kernel.org> </div><div class='diffstat-header'><a href='/cgit.cgi/linux/net-next.git/diff/?id=30103b5b6432a51c3822a26dc340e35d91237f39'>Diffstat</a> (limited to 'net/sched/sch_hfsc.c')</div><table summary='diffstat' class='diffstat'>