/Linux-v5.4/scripts/ |
D | checkpatch.pl | 2145 sub WARN { subroutine 2189 WARN("USE_RELATIVE_PATH", 2508 WARN("PATCH_PREFIX", 2532 WARN("OBSOLETE", 2549 WARN("DT_SPLIT_BINDING_PATCH", 2572 WARN("COMMIT_MESSAGE", 2634 WARN("BAD_SIGN_OFF", 2638 if (WARN("BAD_SIGN_OFF", 2646 if (WARN("BAD_SIGN_OFF", 2655 if (WARN("BAD_SIGN_OFF", [all …]
|
/Linux-v5.4/include/asm-generic/ |
D | bug.h | 120 #ifndef WARN 121 #define WARN(condition, format...) ({ \ macro 155 WARN(1, format); \ 187 #ifndef WARN 188 #define WARN(condition, format...) ({ \ macro 196 #define WARN_ONCE(condition, format...) WARN(condition, format) 197 #define WARN_TAINT(condition, taint, format...) WARN(condition, format) 198 #define WARN_TAINT_ONCE(condition, taint, format...) WARN(condition, format)
|
/Linux-v5.4/tools/objtool/ |
D | warn.h | 43 #define WARN(format, ...) \ macro 51 WARN("%s: " format, _str, ##__VA_ARGS__); \ 59 WARN(" %s: " format, _str, ##__VA_ARGS__); \ 64 WARN(format ": %s", ##__VA_ARGS__, elf_errmsg(-1))
|
D | check.c | 251 WARN("malloc failed"); in decode_instructions() 278 WARN("%s(): can't find starting instruction", in decode_instructions() 322 WARN("unexpected relocation symbol type in %s", sec->name); in add_dead_ends() 338 WARN("can't find unreachable insn at %s+0x%x", in add_dead_ends() 343 WARN("can't find unreachable insn at %s+0x%x", in add_dead_ends() 364 WARN("unexpected relocation symbol type in %s", sec->name); in add_dead_ends() 380 WARN("can't find reachable insn at %s+0x%x", in add_dead_ends() 385 WARN("can't find reachable insn at %s+0x%x", in add_dead_ends() 423 WARN("unexpected relocation symbol type in %s: %d", sec->name, rela->sym->type); in add_ignores() 527 WARN("unexpected relocation symbol type in %s", sec->name); in add_ignore_alternatives() [all …]
|
D | elf.c | 190 WARN("unexpected data attributes for %s", in read_sections() 200 WARN("section entry mismatch"); in read_sections() 217 WARN("missing symbol table"); in read_symbols() 254 WARN("couldn't find section for symbol %s", in read_symbols() 309 WARN("%s(): parent function name exceeds maximum length of %d characters", in read_symbols() 319 WARN("%s(): can't find parent function", in read_symbols() 363 WARN("can't find base section for rela section %s", in read_relas() 390 WARN("can't find rela entry symbol %d for %s", in read_relas() 534 WARN("can't find .shstrtab or .strtab section"); in elf_create_section()
|
/Linux-v5.4/scripts/coccinelle/misc/ |
D | warn.cocci | 2 /// Use WARN(1,...) rather than printk followed by WARN_ON(1) 35 cocci.print_main("printk + WARN_ON can be just WARN",p) 41 msg = "SUGGESTION: printk + WARN_ON can be just WARN" 50 +WARN(1, 60 WARN(1,es);
|
/Linux-v5.4/lib/ |
D | test_rhashtable.c | 300 if (WARN(err, "error %d on element %d\n", err, i)) in test_rhltable() 320 if (WARN(!h, "key not found during iteration %d of %d", i, entries)) { in test_rhltable() 328 if (WARN(pos == &rhl_test_objects[j].list_node, "old element found, should be gone")) in test_rhltable() 346 if (WARN(!found, "element %d not found", i)) in test_rhltable() 350 WARN(err, "rhltable_remove: err %d for iteration %d\n", err, i); in test_rhltable() 359 WARN(test_bit(i, obj_in_table), "elem %d allegedly still present", i); in test_rhltable() 363 if (WARN(err, "error %d on element %d\n", err, i)) in test_rhltable() 387 if (WARN(err, "cannot remove element at slot %d", i)) in test_rhltable() 390 if (WARN(err != -ENOENT, "removed non-existent element %d, error %d not %d", in test_rhltable() 402 if (WARN(test_and_set_bit(i, obj_in_table), "succeeded to insert same object %d", i)) in test_rhltable() [all …]
|
/Linux-v5.4/drivers/tty/ |
D | tty_mutex.c | 16 if (WARN(tty->magic != TTY_MAGIC, "L Bad %p\n", tty)) in tty_lock() 27 if (WARN(tty->magic != TTY_MAGIC, "L Bad %p\n", tty)) in tty_lock_interruptible() 38 if (WARN(tty->magic != TTY_MAGIC, "U Bad %p\n", tty)) in tty_unlock()
|
/Linux-v5.4/mm/ |
D | early_ioremap.c | 96 if (WARN(count, KERN_WARNING in check_early_ioremap_leak() 124 if (WARN(slot < 0, "%s(%08llx, %08lx) not found slot\n", in __early_ioremap() 161 WARN(early_ioremap_debug, "%s(%08llx, %08lx) [%d] => %08lx + %08lx\n", in __early_ioremap() 184 if (WARN(slot < 0, "early_iounmap(%p, %08lx) not found slot\n", in early_iounmap() 188 if (WARN(prev_size[slot] != size, in early_iounmap() 193 WARN(early_ioremap_debug, "early_iounmap(%p, %08lx) [%d]\n", in early_iounmap()
|
D | memremap.c | 31 WARN(1, "Missing page_free method\n"); in devmap_managed_enable_get() 174 WARN(1, "Device private memory not supported\n"); in memremap_pages() 178 WARN(1, "Missing migrate_to_ram method\n"); in memremap_pages() 185 WARN(1, "File system DAX not supported\n"); in memremap_pages() 194 WARN(1, "Invalid pgmap type %d\n", pgmap->type); in memremap_pages() 210 WARN(1, "Missing reference count teardown definition\n"); in memremap_pages() 223 WARN(1, "Conflicting mapping in same section\n"); in memremap_pages() 231 WARN(1, "Conflicting mapping in same section\n"); in memremap_pages()
|
/Linux-v5.4/drivers/misc/cxl/ |
D | hcalls.c | 68 WARN(1, "Warning: Giving up waiting for CXL hcall " \ 165 WARN(1, "Unexpected return code: %lx", rc); in cxl_h_attach_process() 195 WARN(1, "Unexpected return code: %lx", rc); in cxl_h_detach_process() 236 WARN(1, "Unexpected return code: %lx", rc); in cxl_h_control_function() 423 WARN(1, "Unexpected return code: %lx", rc); in cxl_h_collect_int_info() 468 WARN(1, "Unexpected return code: %lx", rc); in cxl_h_control_faults() 507 WARN(1, "Unexpected return code: %lx", rc); in cxl_h_control_facility() 583 WARN(1, "Warning: Giving up waiting for CXL hcall " in cxl_h_download_facility() 614 WARN(1, "Unexpected return code: %lx", rc); in cxl_h_download_facility()
|
/Linux-v5.4/arch/x86/include/asm/ |
D | iosf_mbi.h | 203 WARN(1, "IOSF_MBI driver not available"); in iosf_mbi_read() 210 WARN(1, "IOSF_MBI driver not available"); in iosf_mbi_write() 217 WARN(1, "IOSF_MBI driver not available"); in iosf_mbi_modify()
|
/Linux-v5.4/drivers/thunderbolt/ |
D | ctl.c | 175 if (WARN(len != pkg->frame.size, in check_header() 179 if (WARN(type != pkg->frame.eof, "wrong eof (expected %#x, got %#x)\n", in check_header() 182 if (WARN(pkg->frame.sof, "wrong sof (expected 0x0, got %#x)\n", in check_header() 187 if (WARN(header->unknown != 1 << 9, in check_header() 190 if (WARN(route != tb_cfg_get_route(header), in check_header() 201 if (WARN(addr.zero, "addr.zero is %#x\n", addr.zero)) in check_config_address() 203 if (WARN(space != addr.space, "wrong space (expected %x, got %x\n)", in check_config_address() 206 if (WARN(offset != addr.offset, "wrong offset (expected %x, got %x\n)", in check_config_address() 209 if (WARN(length != addr.length, "wrong space (expected %x, got %x\n)", in check_config_address() 230 WARN(pkg->zero1, "pkg->zero1 is %#x\n", pkg->zero1); in decode_error() [all …]
|
/Linux-v5.4/drivers/bus/ |
D | arm-cci.c | 198 if (WARN(!cpun, "Missing cpu device node\n")) in cci_ace_init_ports() 209 WARN(!cpu_port_is_valid(&cpu_port[cpu]), in cci_ace_init_ports() 469 WARN(1, "node %pOF missing interface-type property\n", in cci_probe_ports() 475 WARN(1, "node %pOF containing invalid interface-type property, skipping it\n", in cci_probe_ports() 486 WARN(1, "unable to ioremap CCI port %d\n", i); in cci_probe_ports() 550 WARN(1, "unable to ioremap CCI ctrl\n"); in cci_probe()
|
/Linux-v5.4/arch/powerpc/platforms/pseries/ |
D | event_sources.c | 21 if (WARN(!virq, "event-sources: Unable to allocate " in request_event_sources_irqs() 26 if (WARN(rc, "event-sources: Unable to request interrupt %d for %pOF\n", in request_event_sources_irqs()
|
/Linux-v5.4/tools/include/asm/ |
D | bug.h | 10 #define WARN(condition, format...) ({ \ macro 41 if (WARN(!__warned, format)) \
|
/Linux-v5.4/net/core/ |
D | xdp.c | 98 WARN(1, "Request remove non-existing id(%d), driver bug?", id); in __mem_id_disconnect() 152 WARN(1, "Missing register, driver bug"); in xdp_rxq_info_unreg_mem_model() 194 WARN(!(xdp_rxq->reg_state == REG_STATE_REGISTERED), "Driver BUG"); in xdp_rxq_info_unreg() 217 WARN(1, "Driver promised not to register this"); in xdp_rxq_info_reg() 222 WARN(1, "Missing unregister, handled but fix driver"); in xdp_rxq_info_reg() 227 WARN(1, "Missing net_device from driver"); in xdp_rxq_info_reg() 324 WARN(1, "Missing register, driver bug"); in xdp_rxq_info_reg_mem_model()
|
D | page_pool.c | 209 WARN(inflight < 0, "Negative(%d) inflight packet-pages", inflight); in __page_pool_safe_to_destroy() 350 WARN(1, "Still in-flight pages:%d hold:%u released:%u", in __warn_in_flight() 360 WARN(pool->alloc.count, "API usage violation"); in __page_pool_free() 361 WARN(!ptr_ring_empty(&pool->ring), "ptr_ring is not empty"); in __page_pool_free()
|
/Linux-v5.4/arch/mips/mm/ |
D | uasm.c | 79 WARN(arg & ~RS_MASK, KERN_WARNING "Micro-assembler field overflow\n"); in build_rs() 86 WARN(arg & ~RT_MASK, KERN_WARNING "Micro-assembler field overflow\n"); in build_rt() 93 WARN(arg & ~RD_MASK, KERN_WARNING "Micro-assembler field overflow\n"); in build_rd() 100 WARN(arg & ~RE_MASK, KERN_WARNING "Micro-assembler field overflow\n"); in build_re() 107 WARN(arg > 0x7fff || arg < -0x8000, in build_simm() 115 WARN(arg & ~IMM_MASK, KERN_WARNING "Micro-assembler field overflow\n"); in build_uimm() 122 WARN(arg & ~SCIMM_MASK, in build_scimm() 130 WARN((arg > 0xff || arg < -0x100), in build_scimm9() 138 WARN(arg & ~FUNC_MASK, KERN_WARNING "Micro-assembler field overflow\n"); in build_func() 145 WARN(arg & ~SET_MASK, KERN_WARNING "Micro-assembler field overflow\n"); in build_set()
|
/Linux-v5.4/arch/arm/mach-picoxcell/ |
D | common.c | 32 if (WARN(!np, "unable to setup watchdog restart")) in picoxcell_setup_restart() 36 WARN(!wdt_regs, "failed to remap watchdog regs"); in picoxcell_setup_restart()
|
/Linux-v5.4/drivers/power/reset/ |
D | zx-reboot.c | 45 WARN(1, "failed to map base address"); in zx_reboot_probe() 54 WARN(1, "failed to map pcu_base address"); in zx_reboot_probe()
|
/Linux-v5.4/fs/proc/ |
D | generic.c | 176 WARN(1, "name '%s'\n", name); in __xlate_proc_name() 360 WARN(1, "proc_dir_entry '%s/%s' already registered\n", in proc_register() 389 WARN(1, "name len %u\n", qstr.len); in __proc_create() 393 WARN(1, "name '.'\n"); in __proc_create() 397 WARN(1, "name '..'\n"); in __proc_create() 401 WARN(1, "create '/proc/%s' by hand\n", qstr.name); in __proc_create() 405 WARN(1, "attempt to add to permanently empty directory"); in __proc_create() 673 WARN(1, "name '%s'\n", name); in remove_proc_entry() 682 WARN(pde_subdir_first(de), in remove_proc_entry()
|
/Linux-v5.4/drivers/clk/analogbits/ |
D | wrpll-cln28hpc.c | 83 WARN(1, "%s: post-divider reference freq out of range: %lu", in __wrpll_calc_filter_range() 231 WARN(1, "%s called with uninitialized PLL config", __func__); in wrpll_configure_for_rate() 337 WARN(1, "external feedback mode not yet supported"); in wrpll_calc_output_rate()
|
/Linux-v5.4/kernel/power/ |
D | qos.c | 396 WARN(1, KERN_ERR "pm_qos_add_request() called for already added request\n"); in pm_qos_add_request() 424 WARN(1, KERN_ERR "pm_qos_update_request() called for unknown object\n"); in pm_qos_update_request() 446 if (WARN(!pm_qos_request_active(req), in pm_qos_update_request_timeout() 477 WARN(1, KERN_ERR "pm_qos_remove_request() called for unknown object\n"); in pm_qos_remove_request() 762 if (WARN(freq_qos_request_active(req), in freq_qos_add_request() 794 if (WARN(!freq_qos_request_active(req), in freq_qos_update_request() 822 if (WARN(!freq_qos_request_active(req), in freq_qos_remove_request()
|
/Linux-v5.4/include/linux/ |
D | ratelimit.h | 95 WARN(rtn, format, ##__VA_ARGS__); \ 107 int rtn = WARN(condition, format, ##__VA_ARGS__); \
|