Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts: Documentation/devicetree/bindings/net/micrel-ks8851.txt net/core/netpoll.c The net/core/netpoll.c conflict is a bug fix in 'net' happening to code which is completely removed in 'net-next'. In micrel-ks8851.txt we simply have overlapping changes. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -1593,6 +1593,7 @@ static void init_params(struct params *p, const char *name, int argc, const char
|
||||
p->data_rand_walk = true;
|
||||
p->nr_loops = -1;
|
||||
p->init_random = true;
|
||||
p->run_all = argc == 1;
|
||||
}
|
||||
|
||||
static int run_bench_numa(const char *name, const char **argv)
|
||||
|
||||
@@ -76,7 +76,7 @@ static struct collection collections[] = {
|
||||
|
||||
/* Iterate over all benchmarks within a collection: */
|
||||
#define for_each_bench(coll, bench) \
|
||||
for (bench = coll->benchmarks; bench->name; bench++)
|
||||
for (bench = coll->benchmarks; bench && bench->name; bench++)
|
||||
|
||||
static void dump_benchmarks(struct collection *coll)
|
||||
{
|
||||
|
||||
@@ -825,7 +825,6 @@ static size_t syscall_arg__scnprintf_signum(char *bf, size_t size, struct syscal
|
||||
P_SIGNUM(PIPE);
|
||||
P_SIGNUM(ALRM);
|
||||
P_SIGNUM(TERM);
|
||||
P_SIGNUM(STKFLT);
|
||||
P_SIGNUM(CHLD);
|
||||
P_SIGNUM(CONT);
|
||||
P_SIGNUM(STOP);
|
||||
@@ -841,6 +840,15 @@ static size_t syscall_arg__scnprintf_signum(char *bf, size_t size, struct syscal
|
||||
P_SIGNUM(IO);
|
||||
P_SIGNUM(PWR);
|
||||
P_SIGNUM(SYS);
|
||||
#ifdef SIGEMT
|
||||
P_SIGNUM(EMT);
|
||||
#endif
|
||||
#ifdef SIGSTKFLT
|
||||
P_SIGNUM(STKFLT);
|
||||
#endif
|
||||
#ifdef SIGSWI
|
||||
P_SIGNUM(SWI);
|
||||
#endif
|
||||
default: break;
|
||||
}
|
||||
|
||||
|
||||
@@ -1213,7 +1213,7 @@ static void ip__resolve_ams(struct machine *machine, struct thread *thread,
|
||||
*/
|
||||
thread__find_addr_location(thread, machine, m, MAP__FUNCTION,
|
||||
ip, &al);
|
||||
if (al.sym)
|
||||
if (al.map)
|
||||
goto found;
|
||||
}
|
||||
found:
|
||||
|
||||
@@ -151,15 +151,15 @@ Elf_Scn *elf_section_by_name(Elf *elf, GElf_Ehdr *ep,
|
||||
|
||||
gelf_getshdr(sec, shp);
|
||||
str = elf_strptr(elf, ep->e_shstrndx, shp->sh_name);
|
||||
if (!strcmp(name, str)) {
|
||||
if (str && !strcmp(name, str)) {
|
||||
if (idx)
|
||||
*idx = cnt;
|
||||
break;
|
||||
return sec;
|
||||
}
|
||||
++cnt;
|
||||
}
|
||||
|
||||
return sec;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#define elf_section__for_each_rel(reldata, pos, pos_mem, idx, nr_entries) \
|
||||
|
||||
Reference in New Issue
Block a user