/Linux-v4.19/scripts/ |
D | checkpatch.pl | 2110 sub WARN { subroutine 2154 WARN("USE_RELATIVE_PATH", 2473 WARN("PATCH_PREFIX", 2497 WARN("OBSOLETE", 2514 WARN("DT_SPLIT_BINDING_PATCH", 2537 WARN("COMMIT_MESSAGE", 2599 WARN("BAD_SIGN_OFF", 2603 if (WARN("BAD_SIGN_OFF", 2611 if (WARN("BAD_SIGN_OFF", 2620 if (WARN("BAD_SIGN_OFF", [all …]
|
/Linux-v4.19/include/asm-generic/ |
D | bug.h | 129 #ifndef WARN 130 #define WARN(condition, format...) ({ \ macro 164 WARN(1, format); \ 196 #ifndef WARN 197 #define WARN(condition, format...) ({ \ macro 205 #define WARN_ONCE(condition, format...) WARN(condition, format) 206 #define WARN_TAINT(condition, taint, format...) WARN(condition, format) 207 #define WARN_TAINT_ONCE(condition, taint, format...) WARN(condition, format)
|
/Linux-v4.19/scripts/coccinelle/misc/ |
D | warn.cocci | 1 /// Use WARN(1,...) rather than printk followed by WARN_ON(1) 34 cocci.print_main("printk + WARN_ON can be just WARN",p) 40 msg = "SUGGESTION: printk + WARN_ON can be just WARN" 49 +WARN(1, 59 WARN(1,es);
|
/Linux-v4.19/lib/ |
D | test_rhashtable.c | 308 if (WARN(err, "error %d on element %d\n", err, i)) in test_rhltable() 328 if (WARN(!h, "key not found during iteration %d of %d", i, entries)) { in test_rhltable() 336 if (WARN(pos == &rhl_test_objects[j].list_node, "old element found, should be gone")) in test_rhltable() 354 if (WARN(!found, "element %d not found", i)) in test_rhltable() 358 WARN(err, "rhltable_remove: err %d for iteration %d\n", err, i); in test_rhltable() 367 WARN(test_bit(i, obj_in_table), "elem %d allegedly still present", i); in test_rhltable() 371 if (WARN(err, "error %d on element %d\n", err, i)) in test_rhltable() 395 if (WARN(err, "cannot remove element at slot %d", i)) in test_rhltable() 398 if (WARN(err != -ENOENT, "removed non-existant element %d, error %d not %d", in test_rhltable() 410 if (WARN(test_and_set_bit(i, obj_in_table), "succeeded to insert same object %d", i)) in test_rhltable() [all …]
|
D | test-kstrtox.c | 38 WARN(1, "str '%s', base %u, expected -E, got %d/" fmt "\n", \ 56 WARN(1, "str '%s', base %u, expected 0/" fmt ", got %d\n", \ 61 WARN(1, "str '%s', base %u, expected " fmt ", got " fmt "\n", \
|
/Linux-v4.19/tools/objtool/ |
D | warn.h | 55 #define WARN(format, ...) \ macro 63 WARN("%s: " format, _str, ##__VA_ARGS__); \ 68 WARN(format ": %s", ##__VA_ARGS__, elf_errmsg(-1))
|
D | check.c | 278 WARN("malloc failed"); in decode_instructions() 312 WARN("%s(): can't find starting instruction", in decode_instructions() 357 WARN("unexpected relocation symbol type in %s", sec->name); in add_dead_ends() 373 WARN("can't find unreachable insn at %s+0x%x", in add_dead_ends() 378 WARN("can't find unreachable insn at %s+0x%x", in add_dead_ends() 399 WARN("unexpected relocation symbol type in %s", sec->name); in add_dead_ends() 415 WARN("can't find reachable insn at %s+0x%x", in add_dead_ends() 420 WARN("can't find reachable insn at %s+0x%x", in add_dead_ends() 472 WARN("unexpected relocation symbol type in %s", sec->name); in add_nospec_ignores() 478 WARN("bad .discard.nospec entry"); in add_nospec_ignores() [all …]
|
D | elf.c | 200 WARN("unexpected data attributes for %s", in read_sections() 210 WARN("section entry mismatch"); in read_sections() 227 WARN("missing symbol table"); in read_symbols() 263 WARN("couldn't find section for symbol %s", in read_symbols() 313 WARN("%s(): can't find parent function", in read_symbols() 357 WARN("can't find base section for rela section %s", in read_relas() 383 WARN("can't find rela entry symbol %d for %s", in read_relas() 527 WARN("can't find .shstrtab or .strtab section"); in elf_create_section()
|
/Linux-v4.19/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-v4.19/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()
|
/Linux-v4.19/drivers/misc/cxl/ |
D | hcalls.c | 72 WARN(1, "Warning: Giving up waiting for CXL hcall " \ 169 WARN(1, "Unexpected return code: %lx", rc); in cxl_h_attach_process() 199 WARN(1, "Unexpected return code: %lx", rc); in cxl_h_detach_process() 240 WARN(1, "Unexpected return code: %lx", rc); in cxl_h_control_function() 427 WARN(1, "Unexpected return code: %lx", rc); in cxl_h_collect_int_info() 472 WARN(1, "Unexpected return code: %lx", rc); in cxl_h_control_faults() 511 WARN(1, "Unexpected return code: %lx", rc); in cxl_h_control_facility() 587 WARN(1, "Warning: Giving up waiting for CXL hcall " in cxl_h_download_facility() 618 WARN(1, "Unexpected return code: %lx", rc); in cxl_h_download_facility()
|
D | irq.c | 84 WARN(1, "Unhandled CXL PSL IRQ\n"); in cxl_irq_psl9() 135 WARN(1, "CXL interrupt: Segment Table PTE not found\n"); in cxl_irq_psl8() 170 WARN(1, "Unhandled CXL PSL IRQ\n"); in cxl_irq_psl8() 204 WARN(1, "Received AFU IRQ out of range for pe %i (virq %i hwirq %lx)\n", in cxl_irq_afu() 214 WARN(1, "Received AFU IRQ for context with no IRQ bitmap\n"); in cxl_irq_afu()
|
/Linux-v4.19/arch/x86/include/asm/ |
D | iosf_mbi.h | 184 WARN(1, "IOSF_MBI driver not available"); in iosf_mbi_read() 191 WARN(1, "IOSF_MBI driver not available"); in iosf_mbi_write() 198 WARN(1, "IOSF_MBI driver not available"); in iosf_mbi_modify()
|
/Linux-v4.19/drivers/thunderbolt/ |
D | ctl.c | 174 if (WARN(len != pkg->frame.size, in check_header() 178 if (WARN(type != pkg->frame.eof, "wrong eof (expected %#x, got %#x)\n", in check_header() 181 if (WARN(pkg->frame.sof, "wrong sof (expected 0x0, got %#x)\n", in check_header() 186 if (WARN(header->unknown != 1 << 9, in check_header() 189 if (WARN(route != tb_cfg_get_route(header), in check_header() 200 if (WARN(addr.zero, "addr.zero is %#x\n", addr.zero)) in check_config_address() 202 if (WARN(space != addr.space, "wrong space (expected %x, got %x\n)", in check_config_address() 205 if (WARN(offset != addr.offset, "wrong offset (expected %x, got %x\n)", in check_config_address() 208 if (WARN(length != addr.length, "wrong space (expected %x, got %x\n)", in check_config_address() 229 WARN(pkg->zero1, "pkg->zero1 is %#x\n", pkg->zero1); in decode_error() [all …]
|
/Linux-v4.19/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-v4.19/tools/include/asm/ |
D | bug.h | 9 #define WARN(condition, format...) ({ \ macro 40 if (WARN(!__warned, format)) \
|
/Linux-v4.19/arch/mips/mm/ |
D | uasm.c | 78 WARN(arg & ~RS_MASK, KERN_WARNING "Micro-assembler field overflow\n"); in build_rs() 85 WARN(arg & ~RT_MASK, KERN_WARNING "Micro-assembler field overflow\n"); in build_rt() 92 WARN(arg & ~RD_MASK, KERN_WARNING "Micro-assembler field overflow\n"); in build_rd() 99 WARN(arg & ~RE_MASK, KERN_WARNING "Micro-assembler field overflow\n"); in build_re() 106 WARN(arg > 0x7fff || arg < -0x8000, in build_simm() 114 WARN(arg & ~IMM_MASK, KERN_WARNING "Micro-assembler field overflow\n"); in build_uimm() 121 WARN(arg & ~SCIMM_MASK, in build_scimm() 129 WARN((arg > 0xff || arg < -0x100), in build_scimm9() 137 WARN(arg & ~FUNC_MASK, KERN_WARNING "Micro-assembler field overflow\n"); in build_func() 144 WARN(arg & ~SET_MASK, KERN_WARNING "Micro-assembler field overflow\n"); in build_set()
|
/Linux-v4.19/arch/arm/mach-picoxcell/ |
D | common.c | 35 if (WARN(!np, "unable to setup watchdog restart")) in picoxcell_setup_restart() 39 WARN(!wdt_regs, "failed to remap watchdog regs"); in picoxcell_setup_restart()
|
/Linux-v4.19/net/core/ |
D | xdp.c | 120 WARN(!(xdp_rxq->reg_state == REG_STATE_REGISTERED), "Driver BUG"); in xdp_rxq_info_unreg() 143 WARN(1, "Driver promised not to register this"); in xdp_rxq_info_reg() 148 WARN(1, "Missing unregister, handled but fix driver"); in xdp_rxq_info_reg() 153 WARN(1, "Missing net_device from driver"); in xdp_rxq_info_reg() 250 WARN(1, "Missing register, driver bug"); in xdp_rxq_info_reg_mem_model()
|
/Linux-v4.19/drivers/power/reset/ |
D | zx-reboot.c | 48 WARN(1, "failed to map base address"); in zx_reboot_probe() 57 WARN(1, "failed to map pcu_base address"); in zx_reboot_probe()
|
/Linux-v4.19/drivers/gpu/drm/i915/ |
D | i915_utils.h | 35 WARN(__i915_warn_cond, "WARN_ON(" #x ")"); }) 37 #define WARN_ON(x) WARN((x), "%s", "WARN_ON(" __stringify(x) ")") 43 #define MISSING_CASE(x) WARN(1, "Missing case (%s == %ld)\n", \
|
/Linux-v4.19/fs/proc/ |
D | generic.c | 175 WARN(1, "name '%s'\n", name); in __xlate_proc_name() 359 WARN(1, "proc_dir_entry '%s/%s' already registered\n", in proc_register() 388 WARN(1, "name len %u\n", qstr.len); in __proc_create() 392 WARN(1, "name '.'\n"); in __proc_create() 396 WARN(1, "name '..'\n"); in __proc_create() 400 WARN(1, "create '/proc/%s' by hand\n", qstr.name); in __proc_create() 404 WARN(1, "attempt to add to permanently empty directory"); in __proc_create() 670 WARN(1, "name '%s'\n", name); in remove_proc_entry() 679 WARN(pde_subdir_first(de), in remove_proc_entry()
|
/Linux-v4.19/drivers/mtd/nand/raw/ |
D | nand_samsung.c | 61 WARN(1, "Invalid OOB size value"); in samsung_nand_decode_id() 88 WARN(1, "Could not decode ECC info"); in samsung_nand_decode_id()
|
/Linux-v4.19/include/linux/ |
D | ratelimit.h | 95 WARN(rtn, format, ##__VA_ARGS__); \ 107 int rtn = WARN(condition, format, ##__VA_ARGS__); \
|
/Linux-v4.19/drivers/clk/ti/ |
D | clk-814x.c | 94 if (WARN(IS_ERR(clock), "could not find init clock %s\n", in dm814x_adpll_enable_init_clocks() 98 if (WARN(err, "could not enable init clock %s\n", in dm814x_adpll_enable_init_clocks()
|