zoukankan      html  css  js  c++  java
  • warnings and errors when executing : make -j4

    CC fs/proc/cpuinfo.o
    CC drivers/base/firmware.o
    CC fs/proc/devices.o
    CC drivers/base/init.o
    CC fs/sysfs/group.o
    CC kernel/rcutiny.o
    CC drivers/base/map.o
    CC fs/proc/interrupts.o
    CC fs/proc/loadavg.o
    CC drivers/base/devres.o
    LD fs/sysfs/built-in.o
    CC drivers/base/attribute_container.o
    CC fs/proc/meminfo.o
    CC kernel/utsname_sysctl.o
    CC kernel/elfcore.o
    CC drivers/base/transport_class.o
    CC fs/proc/stat.o
    CC drivers/base/topology.o
    CC kernel/irq_work.o
    LD drivers/bus/built-in.o
    CC fs/proc/uptime.o
    CC fs/eventpoll.o
    CC kernel/cpu_pm.o
    CC fs/proc/version.o
    CC drivers/base/power/sysfs.o
    BC kernel/timeconst.h
    CC kernel/time.o
    CC fs/proc/softirqs.o
    CC fs/proc/namespaces.o
    CC drivers/base/power/generic_ops.o
    LD kernel/built-in.o
    CC drivers/base/power/common.o
    CC fs/anon_inodes.o
    LD firmware/built-in.o
    CC drivers/base/power/qos.o
    CC drivers/base/power/main.o
    CC fs/proc/self.o
    CC drivers/base/power/wakeup.o
    CC net/nonet.o
    LD net/built-in.o
    CC fs/proc/proc_sysctl.o
    LD arch/arm/lib/built-in.o
    AS arch/arm/lib/ashldi3.o
    AS arch/arm/lib/ashrdi3.o
    AS arch/arm/lib/backtrace.o
    AS arch/arm/lib/call_with_stack.o
    AS arch/arm/lib/changebit.o
    AS arch/arm/lib/clear_user.o
    AS arch/arm/lib/clearbit.o
    LD drivers/cdrom/built-in.o
    AS arch/arm/lib/copy_from_user.o
    AS arch/arm/lib/copy_page.o
    AS arch/arm/lib/copy_to_user.o
    CC lib/bcd.o
    AS arch/arm/lib/csumipv6.o
    CC lib/div64.o
    AS arch/arm/lib/csumpartial.o
    AS arch/arm/lib/csumpartialcopy.o
    AS arch/arm/lib/csumpartialcopyuser.o
    AS arch/arm/lib/delay-loop.o
    CC drivers/base/power/clock_ops.o
    CC arch/arm/lib/delay.o
    CC lib/sort.o
    AS arch/arm/lib/div64.o
    AS arch/arm/lib/findbit.o
    CC lib/parser.o
    AS arch/arm/lib/getuser.o
    AS arch/arm/lib/io-readsb.o
    AS arch/arm/lib/io-readsl.o
    LD drivers/base/power/built-in.o
    CC drivers/base/dma-mapping.o
    AS arch/arm/lib/io-readsw-armv4.o
    AS arch/arm/lib/io-writesb.o
    AS arch/arm/lib/io-writesl.o
    AS arch/arm/lib/io-writesw-armv4.o
    AS arch/arm/lib/lib1funcs.o
    CC lib/halfmd4.o
    AS arch/arm/lib/lshrdi3.o
    AS arch/arm/lib/memchr.o
    AS arch/arm/lib/memcpy.o
    AS arch/arm/lib/memmove.o
    CC lib/debug_locks.o
    AS arch/arm/lib/memset.o
    CC drivers/base/dma-coherent.o
    AS arch/arm/lib/memzero.o
    CC lib/random32.o
    AS arch/arm/lib/muldi3.o
    AS arch/arm/lib/putuser.o
    AS arch/arm/lib/setbit.o
    AS arch/arm/lib/strchr.o
    CC lib/bust_spinlocks.o
    AS arch/arm/lib/strrchr.o
    AS arch/arm/lib/testchangebit.o
    drivers/base/dma-coherent.c:72:13: warning: ‘dma_debugfs_init’ defined but not used [-Wunused-function]
    static void dma_debugfs_init(struct device *dev, struct heap_info *heap)
    ^
    drivers/base/dma-coherent.c:152:12: warning: ‘declare_coherent_heap’ defined but not used [-Wunused-function]
    static int declare_coherent_heap(struct device *dev, phys_addr_t base,
    ^
    AS arch/arm/lib/testclearbit.o
    AS arch/arm/lib/testsetbit.o
    AS arch/arm/lib/ucmpdi2.o
    AR arch/arm/lib/lib.a
    CC fs/signalfd.o
    CC lib/hexdump.o
    CC fs/proc/kmsg.o
    CC drivers/base/firmware_class.o
    CC lib/kasprintf.o
    CC fs/proc/page.o
    CC lib/bitmap.o
    LD fs/proc/proc.o
    LD fs/proc/built-in.o
    CC fs/timerfd.o
    CC fs/eventfd.o
    CC lib/scatterlist.o
    LD drivers/base/built-in.o
    CC drivers/char/mem.o
    CC drivers/char/random.o
    CC lib/gcd.o
    CC lib/lcm.o
    CC fs/aio.o
    CC drivers/char/misc.o
    CC lib/list_sort.o
    CC lib/uuid.o
    CC drivers/char/hw_random/core.o
    CC lib/flex_array.o
    CC drivers/clk/clk-devres.o
    CC drivers/clk/clkdev.o
    CC lib/iovec.o
    LD drivers/char/hw_random/rng-core.o
    LD drivers/char/hw_random/built-in.o
    LD drivers/char/built-in.o
    CC lib/bsearch.o
    CC drivers/clocksource/tegra-nvtimers.o
    CC drivers/clk/clk.o
    CC lib/find_last_bit.o
    CC fs/locks.o
    CC lib/find_next_bit.o
    drivers/clocksource/tegra-nvtimers.c: In function ‘tegra_cputimer_interrupt’:
    drivers/clocksource/tegra-nvtimers.c:100:25: error: dereferencing pointer to incomplete type
    cpu = cpumask_first(evt->cpumask);
    ^
    drivers/clocksource/tegra-nvtimers.c:103:5: error: dereferencing pointer to incomplete type
    evt->event_handler(evt);
    ^
    drivers/clocksource/tegra-nvtimers.c: In function ‘tegra_cputimer_set_next_event’:
    drivers/clocksource/tegra-nvtimers.c:114:25: error: dereferencing pointer to incomplete type
    cpu = cpumask_first(evt->cpumask);
    ^
    drivers/clocksource/tegra-nvtimers.c: At top level:
    drivers/clocksource/tegra-nvtimers.c:123:16: warning: ‘enum clock_event_mode’ declared inside parameter list [enabled by default]
    struct clock_event_device *evt)
    ^
    drivers/clocksource/tegra-nvtimers.c:123:16: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
    drivers/clocksource/tegra-nvtimers.c:122:59: error: parameter 1 (‘mode’) has incomplete type
    static void tegra_cputimer_set_mode(enum clock_event_mode mode,
    ^
    drivers/clocksource/tegra-nvtimers.c:122:13: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
    static void tegra_cputimer_set_mode(enum clock_event_mode mode,
    ^
    drivers/clocksource/tegra-nvtimers.c: In function ‘tegra_cputimer_set_mode’:
    drivers/clocksource/tegra-nvtimers.c:129:25: error: dereferencing pointer to incomplete type
    cpu = cpumask_first(evt->cpumask);
    ^
    drivers/clocksource/tegra-nvtimers.c:134:7: error: ‘CLOCK_EVT_MODE_PERIODIC’ undeclared (first use in this function)
    case CLOCK_EVT_MODE_PERIODIC:
    ^
    drivers/clocksource/tegra-nvtimers.c:134:7: note: each undeclared identifier is reported only once for each function it appears in
    drivers/clocksource/tegra-nvtimers.c:138:7: error: ‘CLOCK_EVT_MODE_ONESHOT’ undeclared (first use in this function)
    case CLOCK_EVT_MODE_ONESHOT:
    ^
    drivers/clocksource/tegra-nvtimers.c:140:7: error: ‘CLOCK_EVT_MODE_UNUSED’ undeclared (first use in this function)
    case CLOCK_EVT_MODE_UNUSED:
    ^
    drivers/clocksource/tegra-nvtimers.c:141:7: error: ‘CLOCK_EVT_MODE_SHUTDOWN’ undeclared (first use in this function)
    case CLOCK_EVT_MODE_SHUTDOWN:
    ^
    drivers/clocksource/tegra-nvtimers.c:142:7: error: ‘CLOCK_EVT_MODE_RESUME’ undeclared (first use in this function)
    case CLOCK_EVT_MODE_RESUME:
    ^
    drivers/clocksource/tegra-nvtimers.c: At top level:
    drivers/clocksource/tegra-nvtimers.c:147:15: error: variable ‘tegra_cputimer_clockevent’ has initializer but incomplete type
    static struct clock_event_device tegra_cputimer_clockevent = {
    ^
    drivers/clocksource/tegra-nvtimers.c:148:2: error: unknown field ‘rating’ specified in initializer
    .rating = 450,
    ^
    drivers/clocksource/tegra-nvtimers.c:148:2: warning: excess elements in struct initializer [enabled by default]
    drivers/clocksource/tegra-nvtimers.c:148:2: warning: (near initialization for ‘tegra_cputimer_clockevent’) [enabled by default]
    drivers/clocksource/tegra-nvtimers.c:149:2: error: unknown field ‘features’ specified in initializer
    .features = CLOCK_EVT_FEAT_ONESHOT | CLOCK_EVT_FEAT_PERIODIC,
    ^
    drivers/clocksource/tegra-nvtimers.c:149:14: error: ‘CLOCK_EVT_FEAT_ONESHOT’ undeclared here (not in a function)
    .features = CLOCK_EVT_FEAT_ONESHOT | CLOCK_EVT_FEAT_PERIODIC,
    ^
    drivers/clocksource/tegra-nvtimers.c:149:39: error: ‘CLOCK_EVT_FEAT_PERIODIC’ undeclared here (not in a function)
    .features = CLOCK_EVT_FEAT_ONESHOT | CLOCK_EVT_FEAT_PERIODIC,
    ^
    drivers/clocksource/tegra-nvtimers.c:149:2: warning: excess elements in struct initializer [enabled by default]
    .features = CLOCK_EVT_FEAT_ONESHOT | CLOCK_EVT_FEAT_PERIODIC,
    ^
    drivers/clocksource/tegra-nvtimers.c:149:2: warning: (near initialization for ‘tegra_cputimer_clockevent’) [enabled by default]
    drivers/clocksource/tegra-nvtimers.c:150:2: error: unknown field ‘set_next_event’ specified in initializer
    .set_next_event = tegra_cputimer_set_next_event,
    ^
    drivers/clocksource/tegra-nvtimers.c:150:2: warning: excess elements in struct initializer [enabled by default]
    drivers/clocksource/tegra-nvtimers.c:150:2: warning: (near initialization for ‘tegra_cputimer_clockevent’) [enabled by default]
    drivers/clocksource/tegra-nvtimers.c:151:2: error: unknown field ‘set_mode’ specified in initializer
    .set_mode = tegra_cputimer_set_mode,
    ^
    drivers/clocksource/tegra-nvtimers.c:151:2: warning: excess elements in struct initializer [enabled by default]
    drivers/clocksource/tegra-nvtimers.c:151:2: warning: (near initialization for ‘tegra_cputimer_clockevent’) [enabled by default]
    drivers/clocksource/tegra-nvtimers.c:161:26: error: ‘INT_TMR3’ undeclared here (not in a function)
    CPU_TIMER_IRQ_ACTION(0, INT_TMR3),
    ^
    drivers/clocksource/tegra-nvtimers.c:158:10: note: in definition of macro ‘CPU_TIMER_IRQ_ACTION’
    .irq = irqnum }
    ^
    drivers/clocksource/tegra-nvtimers.c:183:16: warning: ‘enum clock_event_mode’ declared inside parameter list [enabled by default]
    struct clock_event_device *evt)
    ^
    drivers/clocksource/tegra-nvtimers.c:182:56: error: parameter 1 (‘mode’) has incomplete type
    static void tegra_timer_set_mode(enum clock_event_mode mode,
    ^
    drivers/clocksource/tegra-nvtimers.c:182:13: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
    static void tegra_timer_set_mode(enum clock_event_mode mode,
    ^
    drivers/clocksource/tegra-nvtimers.c: In function ‘tegra_timer_set_mode’:
    drivers/clocksource/tegra-nvtimers.c:190:7: error: ‘CLOCK_EVT_MODE_PERIODIC’ undeclared (first use in this function)
    case CLOCK_EVT_MODE_PERIODIC:
    ^
    drivers/clocksource/tegra-nvtimers.c:194:7: error: ‘CLOCK_EVT_MODE_ONESHOT’ undeclared (first use in this function)
    case CLOCK_EVT_MODE_ONESHOT:
    ^
    drivers/clocksource/tegra-nvtimers.c:196:7: error: ‘CLOCK_EVT_MODE_UNUSED’ undeclared (first use in this function)
    case CLOCK_EVT_MODE_UNUSED:
    ^
    drivers/clocksource/tegra-nvtimers.c:197:7: error: ‘CLOCK_EVT_MODE_SHUTDOWN’ undeclared (first use in this function)
    case CLOCK_EVT_MODE_SHUTDOWN:
    ^
    drivers/clocksource/tegra-nvtimers.c:198:7: error: ‘CLOCK_EVT_MODE_RESUME’ undeclared (first use in this function)
    case CLOCK_EVT_MODE_RESUME:
    ^
    drivers/clocksource/tegra-nvtimers.c: At top level:
    drivers/clocksource/tegra-nvtimers.c:203:15: error: variable ‘tegra_clockevent’ has initializer but incomplete type
    static struct clock_event_device tegra_clockevent = {
    ^
    drivers/clocksource/tegra-nvtimers.c:204:2: error: unknown field ‘name’ specified in initializer
    .name = "timer0",
    ^
    drivers/clocksource/tegra-nvtimers.c:204:2: warning: excess elements in struct initializer [enabled by default]
    drivers/clocksource/tegra-nvtimers.c:204:2: warning: (near initialization for ‘tegra_clockevent’) [enabled by default]
    drivers/clocksource/tegra-nvtimers.c:205:2: error: unknown field ‘rating’ specified in initializer
    .rating = 300,
    ^
    drivers/clocksource/tegra-nvtimers.c:205:2: warning: excess elements in struct initializer [enabled by default]
    drivers/clocksource/tegra-nvtimers.c:205:2: warning: (near initialization for ‘tegra_clockevent’) [enabled by default]
    drivers/clocksource/tegra-nvtimers.c:206:2: error: unknown field ‘features’ specified in initializer
    .features = CLOCK_EVT_FEAT_ONESHOT | CLOCK_EVT_FEAT_PERIODIC,
    ^
    drivers/clocksource/tegra-nvtimers.c:206:37: error: invalid operands to binary | (have ‘struct irqaction *’ and ‘struct irqaction *’)
    .features = CLOCK_EVT_FEAT_ONESHOT | CLOCK_EVT_FEAT_PERIODIC,
    ^
    drivers/clocksource/tegra-nvtimers.c:206:2: warning: excess elements in struct initializer [enabled by default]
    .features = CLOCK_EVT_FEAT_ONESHOT | CLOCK_EVT_FEAT_PERIODIC,
    ^
    drivers/clocksource/tegra-nvtimers.c:206:2: warning: (near initialization for ‘tegra_clockevent’) [enabled by default]
    drivers/clocksource/tegra-nvtimers.c:207:2: error: unknown field ‘set_next_event’ specified in initializer
    .set_next_event = tegra_timer_set_next_event,
    ^
    drivers/clocksource/tegra-nvtimers.c:207:2: warning: excess elements in struct initializer [enabled by default]
    drivers/clocksource/tegra-nvtimers.c:207:2: warning: (near initialization for ‘tegra_clockevent’) [enabled by default]
    drivers/clocksource/tegra-nvtimers.c:208:2: error: unknown field ‘set_mode’ specified in initializer
    .set_mode = tegra_timer_set_mode,
    ^
    drivers/clocksource/tegra-nvtimers.c:208:2: warning: excess elements in struct initializer [enabled by default]
    drivers/clocksource/tegra-nvtimers.c:208:2: warning: (near initialization for ‘tegra_clockevent’) [enabled by default]
    drivers/clocksource/tegra-nvtimers.c: In function ‘tegra_timer_interrupt’:
    drivers/clocksource/tegra-nvtimers.c:367:5: error: dereferencing pointer to incomplete type
    evt->event_handler(evt);
    ^
    drivers/clocksource/tegra-nvtimers.c:367:5: error: request for member ‘event_handler’ in something not a structure or union
    drivers/clocksource/tegra-nvtimers.c:367:20: error: called object is not a function or function pointer
    evt->event_handler(evt);
    ^
    drivers/clocksource/tegra-nvtimers.c:367:2: warning: statement with no effect [-Wunused-value]
    evt->event_handler(evt);
    ^
    drivers/clocksource/tegra-nvtimers.c: In function ‘tegra_local_timer_setup’:
    drivers/clocksource/tegra-nvtimers.c:409:5: error: dereferencing pointer to incomplete type
    evt->name = clkevt->name;
    ^
    drivers/clocksource/tegra-nvtimers.c:409:5: error: request for member ‘name’ in something not a structure or union
    drivers/clocksource/tegra-nvtimers.c:409:2: warning: statement with no effect [-Wunused-value]
    evt->name = clkevt->name;
    ^
    drivers/clocksource/tegra-nvtimers.c:410:5: error: dereferencing pointer to incomplete type
    evt->cpumask = cpumask_of(cpu);
    ^
    drivers/clocksource/tegra-nvtimers.c:410:5: error: request for member ‘cpumask’ in something not a structure or union
    drivers/clocksource/tegra-nvtimers.c:410:2: warning: statement with no effect [-Wunused-value]
    evt->cpumask = cpumask_of(cpu);
    ^
    drivers/clocksource/tegra-nvtimers.c:411:5: error: dereferencing pointer to incomplete type
    evt->features = tegra_cputimer_clockevent.features;
    ^
    drivers/clocksource/tegra-nvtimers.c:411:5: error: request for member ‘features’ in something not a structure or union
    drivers/clocksource/tegra-nvtimers.c:411:2: error: invalid use of undefined type ‘struct clock_event_device’
    evt->features = tegra_cputimer_clockevent.features;
    ^
    drivers/clocksource/tegra-nvtimers.c:411:2: warning: statement with no effect [-Wunused-value]
    drivers/clocksource/tegra-nvtimers.c:412:5: error: dereferencing pointer to incomplete type
    evt->rating = tegra_cputimer_clockevent.rating;
    ^
    drivers/clocksource/tegra-nvtimers.c:412:5: error: request for member ‘rating’ in something not a structure or union
    drivers/clocksource/tegra-nvtimers.c:412:2: error: invalid use of undefined type ‘struct clock_event_device’
    evt->rating = tegra_cputimer_clockevent.rating;
    ^
    drivers/clocksource/tegra-nvtimers.c:412:2: warning: statement with no effect [-Wunused-value]
    drivers/clocksource/tegra-nvtimers.c:413:5: error: dereferencing pointer to incomplete type
    evt->set_mode = tegra_cputimer_set_mode;
    ^
    drivers/clocksource/tegra-nvtimers.c:413:5: error: request for member ‘set_mode’ in something not a structure or union
    drivers/clocksource/tegra-nvtimers.c:413:2: warning: statement with no effect [-Wunused-value]
    evt->set_mode = tegra_cputimer_set_mode;
    ^
    drivers/clocksource/tegra-nvtimers.c:414:5: error: dereferencing pointer to incomplete type
    evt->set_next_event = tegra_cputimer_set_next_event;
    ^
    drivers/clocksource/tegra-nvtimers.c:414:5: error: request for member ‘set_next_event’ in something not a structure or union
    drivers/clocksource/tegra-nvtimers.c:414:2: warning: statement with no effect [-Wunused-value]
    evt->set_next_event = tegra_cputimer_set_next_event;
    ^
    drivers/clocksource/tegra-nvtimers.c:415:2: error: implicit declaration of function ‘clockevents_calc_mult_shift’ [-Werror=implicit-function-declaration]
    clockevents_calc_mult_shift(evt, 1000000, 5);
    ^
    drivers/clocksource/tegra-nvtimers.c:416:5: error: dereferencing pointer to incomplete type
    evt->max_delta_ns =
    ^
    drivers/clocksource/tegra-nvtimers.c:416:5: error: request for member ‘max_delta_ns’ in something not a structure or union
    drivers/clocksource/tegra-nvtimers.c:417:3: error: implicit declaration of function ‘clockevent_delta2ns’ [-Werror=implicit-function-declaration]
    clockevent_delta2ns(0x1fffffff, evt);
    ^
    drivers/clocksource/tegra-nvtimers.c:416:2: warning: statement with no effect [-Wunused-value]
    evt->max_delta_ns =
    ^
    drivers/clocksource/tegra-nvtimers.c:418:5: error: dereferencing pointer to incomplete type
    evt->min_delta_ns =
    ^
    drivers/clocksource/tegra-nvtimers.c:418:5: error: request for member ‘min_delta_ns’ in something not a structure or union
    drivers/clocksource/tegra-nvtimers.c:418:2: warning: statement with no effect [-Wunused-value]
    evt->min_delta_ns =
    ^
    drivers/clocksource/tegra-nvtimers.c:422:2: error: implicit declaration of function ‘clockevents_register_device’ [-Werror=implicit-function-declaration]
    clockevents_register_device(evt);
    ^
    drivers/clocksource/tegra-nvtimers.c:432:5: error: dereferencing pointer to incomplete type
    evt->irq = tegra_cputimer_irq[cpu].irq;
    ^
    drivers/clocksource/tegra-nvtimers.c:432:5: error: request for member ‘irq’ in something not a structure or union
    drivers/clocksource/tegra-nvtimers.c:432:2: warning: statement with no effect [-Wunused-value]
    evt->irq = tegra_cputimer_irq[cpu].irq;
    ^
    drivers/clocksource/tegra-nvtimers.c:441:23: error: dereferencing pointer to incomplete type
    enable_percpu_irq(evt->irq, IRQ_TYPE_LEVEL_HIGH);
    ^
    drivers/clocksource/tegra-nvtimers.c:441:23: error: request for member ‘irq’ in something not a structure or union
    drivers/clocksource/tegra-nvtimers.c:441:2: warning: passing argument 1 of ‘enable_percpu_irq’ makes integer from pointer without a cast [enabled by default]
    enable_percpu_irq(evt->irq, IRQ_TYPE_LEVEL_HIGH);
    ^
    In file included from drivers/clocksource/tegra-nvtimers.c:25:0:
    include/linux/interrupt.h:221:13: note: expected ‘unsigned int’ but argument is of type ‘struct irqaction *’
    extern void enable_percpu_irq(unsigned int irq, unsigned int type);
    ^
    drivers/clocksource/tegra-nvtimers.c: In function ‘tegra_local_timer_stop’:
    drivers/clocksource/tegra-nvtimers.c:450:5: error: dereferencing pointer to incomplete type
    evt->set_mode(CLOCK_EVT_MODE_UNUSED, evt);
    ^
    drivers/clocksource/tegra-nvtimers.c:450:5: error: request for member ‘set_mode’ in something not a structure or union
    drivers/clocksource/tegra-nvtimers.c:450:16: error: ‘CLOCK_EVT_MODE_UNUSED’ undeclared (first use in this function)
    evt->set_mode(CLOCK_EVT_MODE_UNUSED, evt);
    ^
    drivers/clocksource/tegra-nvtimers.c:450:15: error: called object is not a function or function pointer
    evt->set_mode(CLOCK_EVT_MODE_UNUSED, evt);
    ^
    drivers/clocksource/tegra-nvtimers.c:450:2: warning: statement with no effect [-Wunused-value]
    evt->set_mode(CLOCK_EVT_MODE_UNUSED, evt);
    ^
    drivers/clocksource/tegra-nvtimers.c:451:16: error: dereferencing pointer to incomplete type
    remove_irq(evt->irq, &tegra_cputimer_irq[cpu]);
    ^
    drivers/clocksource/tegra-nvtimers.c:451:16: error: request for member ‘irq’ in something not a structure or union
    drivers/clocksource/tegra-nvtimers.c:451:2: warning: passing argument 1 of ‘remove_irq’ makes integer from pointer without a cast [enabled by default]
    remove_irq(evt->irq, &tegra_cputimer_irq[cpu]);
    ^
    In file included from drivers/clocksource/tegra-nvtimers.c:26:0:
    include/linux/irq.h:372:13: note: expected ‘unsigned int’ but argument is of type ‘struct irqaction *’
    extern void remove_irq(unsigned int irq, struct irqaction *act);
    ^
    drivers/clocksource/tegra-nvtimers.c:452:24: error: dereferencing pointer to incomplete type
    disable_percpu_irq(evt->irq);
    ^
    drivers/clocksource/tegra-nvtimers.c:452:24: error: request for member ‘irq’ in something not a structure or union
    drivers/clocksource/tegra-nvtimers.c:452:2: warning: passing argument 1 of ‘disable_percpu_irq’ makes integer from pointer without a cast [enabled by default]
    disable_percpu_irq(evt->irq);
    ^
    In file included from drivers/clocksource/tegra-nvtimers.c:25:0:
    include/linux/interrupt.h:219:13: note: expected ‘unsigned int’ but argument is of type ‘struct irqaction *’
    extern void disable_percpu_irq(unsigned int irq);
    ^
    drivers/clocksource/tegra-nvtimers.c: In function ‘tegra_init_timer’:
    drivers/clocksource/tegra-nvtimers.c:613:2: error: invalid use of undefined type ‘struct clock_event_device’
    tegra_clockevent.max_delta_ns =
    ^
    drivers/clocksource/tegra-nvtimers.c:613:2: warning: statement with no effect [-Wunused-value]
    drivers/clocksource/tegra-nvtimers.c:615:2: error: invalid use of undefined type ‘struct clock_event_device’
    tegra_clockevent.min_delta_ns =
    ^
    drivers/clocksource/tegra-nvtimers.c:615:2: warning: statement with no effect [-Wunused-value]
    drivers/clocksource/tegra-nvtimers.c:617:2: error: invalid use of undefined type ‘struct clock_event_device’
    tegra_clockevent.cpumask = cpu_all_mask;
    ^
    drivers/clocksource/tegra-nvtimers.c:617:2: warning: statement with no effect [-Wunused-value]
    drivers/clocksource/tegra-nvtimers.c:618:2: error: invalid use of undefined type ‘struct clock_event_device’
    tegra_clockevent.irq = tegra_timer_irq.irq;
    ^
    drivers/clocksource/tegra-nvtimers.c:618:2: warning: statement with no effect [-Wunused-value]
    cc1: some warnings being treated as errors
    make[2]: *** [drivers/clocksource/tegra-nvtimers.o] Error 1
    make[1]: *** [drivers/clocksource] Error 2
    make[1]: *** Waiting for unfinished jobs....
    CC lib/llist.o
    CC lib/memweight.o
    CC lib/kfifo.o
    CC lib/string_helpers.o
    CC drivers/clk/clk-divider.o
    CC lib/kstrtox.o
    CC fs/binfmt_script.o
    CC drivers/clk/clk-fixed-factor.o
    CC drivers/clk/clk-fixed-rate.o
    CC lib/pci_iomap.o
    CC fs/binfmt_elf.o
    CC drivers/clk/clk-gate.o
    CC drivers/clk/clk-mux.o
    CC lib/iomap_copy.o
    CC fs/coredump.o
    CC lib/devres.o
    CC drivers/clk/clk-composite.o
    LD drivers/clk/built-in.o
    make: *** [drivers] Error 2
    make: *** Waiting for unfinished jobs....
    CC fs/drop_caches.o
    CC lib/hweight.o
    CC lib/bitrev.o
    HOSTCC lib/gen_crc32table
    CC lib/syscall.o
    CC lib/atomic64.o
    CC lib/strncpy_from_user.o
    CC lib/strnlen_user.o
    LD fs/built-in.o
    CC lib/argv_split.o
    CC lib/bug.o
    CC lib/cmdline.o
    CC lib/ctype.o
    CC lib/dec_and_lock.o
    CC lib/decompress.o
    CC lib/dump_stack.o
    CC lib/earlycpio.o
    CC lib/extable.o
    CC lib/flex_proportions.o
    CC lib/idr.o
    CC lib/int_sqrt.o
    CC lib/irq_regs.o
    CC lib/is_single_threaded.o
    CC lib/ioremap.o
    CC lib/klist.o
    CC lib/kobject.o
    CC lib/kobject_uevent.o
    CC lib/md5.o
    CC lib/plist.o
    CC lib/prio_heap.o
    CC lib/proportions.o
    CC lib/radix-tree.o
    CC lib/ratelimit.o
    CC lib/rbtree.o
    CC lib/reciprocal_div.o
    CC lib/rwsem-spinlock.o
    CC lib/sha1.o
    CC lib/show_mem.o
    CC lib/string.o
    CC lib/timerqueue.o
    CC lib/vsprintf.o
    GEN lib/crc32table.h
    CC lib/crc32.o
    LD lib/built-in.o
    AR lib/lib.a

  • 相关阅读:
    Deployment progressDeadlineSeconds
    go字符串转[]bytes
    shell单引号内嵌套单引号即可使用变量
    ensp 模拟 calico 跨网段 bgp 网络
    如何利用termination GracePeriodSeconds 优雅地关闭你的服务
    gin是怎么传参数
    垃圾代码评析——关于《C程序设计伴侣》9.4——链表(三)
    垃圾“程序是怎样练成的”——关于《C程序设计伴侣》第A章(五)
    垃圾代码评析——关于《C程序设计伴侣》9.4——链表(四)
    垃圾“程序是怎样炼成的”——关于《C程序设计伴侣》第A章(二)
  • 原文地址:https://www.cnblogs.com/HITSZ/p/7895119.html
Copyright © 2011-2022 走看看