/kernel/linux/linux-5.10/scripts/ |
D | checkpatch.pl | 2221 sub WARN { subroutine 2265 WARN("USE_RELATIVE_PATH", 2600 WARN("PATCH_PREFIX", 2624 WARN("OBSOLETE", 2641 WARN("DT_SPLIT_BINDING_PATCH", 2664 WARN("COMMIT_MESSAGE", 2763 WARN("BAD_SIGN_OFF", 2767 if (WARN("BAD_SIGN_OFF", 2775 if (WARN("BAD_SIGN_OFF", 2784 if (WARN("BAD_SIGN_OFF", [all …]
|
/kernel/linux/linux-5.10/include/asm-generic/ |
D | bug.h | 126 #ifndef WARN 127 #define WARN(condition, format...) ({ \ macro 161 WARN(1, format); \ 193 #ifndef WARN 194 #define WARN(condition, format...) ({ \ macro 202 #define WARN_ONCE(condition, format...) WARN(condition, format) 203 #define WARN_TAINT(condition, taint, format...) WARN(condition, format) 204 #define WARN_TAINT_ONCE(condition, taint, format...) WARN(condition, format)
|
/kernel/linux/linux-5.10/drivers/staging/wfx/ |
D | key.c | 29 WARN(!(wdev->key_map & BIT(idx)), "inconsistent key allocation"); in wfx_free_key() 36 WARN(key->keylen > sizeof(msg->key_data), "inconsistent data"); in fill_wep_pair() 46 WARN(key->keylen > sizeof(msg->key_data), "inconsistent data"); in fill_wep_group() 58 WARN(key->keylen != sizeof(msg->tkip_key_data) in fill_tkip_pair() 77 WARN(key->keylen != sizeof(msg->tkip_key_data) in fill_tkip_group() 98 WARN(key->keylen != sizeof(msg->aes_key_data), "inconsistent data"); in fill_ccmp_pair() 108 WARN(key->keylen != sizeof(msg->aes_key_data), "inconsistent data"); in fill_ccmp_group() 121 WARN(key->keylen != sizeof(msg->wapi_key_data) in fill_sms4_pair() 136 WARN(key->keylen != sizeof(msg->wapi_key_data) in fill_sms4_group() 149 WARN(key->keylen != sizeof(msg->igtk_key_data), "inconsistent data"); in fill_aes_cmac_group() [all …]
|
D | bh.c | 74 WARN(read_len > round_down(0xFFF, 2) * sizeof(u16), in rx_helper() 90 WARN(hif->encrypted & 0x3, "encryption is unsupported"); in rx_helper() 91 if (WARN(read_len < sizeof(struct hif_msg), "corrupted read")) in rx_helper() 109 WARN(wdev->hif.tx_buffers_used < release_count, "corrupted buffer counter"); in rx_helper() 177 WARN(len < sizeof(*hif), "try to send corrupted data"); in tx_helper() 183 WARN(len > wdev->hw_caps.size_inp_ch_buf, in tx_helper() 207 WARN(!mutex_is_locked(&wdev->hif_cmd.lock), "data locking error"); in bh_work_tx() 307 WARN(!wdev->poll_irq, "unexpected IRQ polling can mask IRQ"); in wfx_bh_poll_irq()
|
D | bus_sdio.c | 42 WARN(reg_id > 7, "chip only has 7 registers"); in wfx_sdio_copy_from_io() 43 WARN(((uintptr_t)dst) & 3, "unaligned buffer size"); in wfx_sdio_copy_from_io() 44 WARN(count & 3, "unaligned buffer address"); in wfx_sdio_copy_from_io() 63 WARN(reg_id > 7, "chip only has 7 registers"); in wfx_sdio_copy_to_io() 64 WARN(((uintptr_t)src) & 3, "unaligned buffer size"); in wfx_sdio_copy_to_io() 65 WARN(count & 3, "unaligned buffer address"); in wfx_sdio_copy_to_io()
|
/kernel/linux/linux-5.10/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 | 278 WARN("calloc failed"); in cfi_alloc() 334 WARN("mmap fail cfi_hash"); in cfi_hash_alloc() 376 WARN("malloc failed"); in decode_instructions() 404 WARN("%s(): can't find starting instruction", in decode_instructions() 463 WARN("unexpected relocation symbol type in %s", sec->name); in add_dead_ends() 472 WARN("can't find unreachable insn at %s+0x%" PRIx64, in add_dead_ends() 477 WARN("can't find unreachable insn at %s+0x%" PRIx64, in add_dead_ends() 498 WARN("unexpected relocation symbol type in %s", sec->name); in add_dead_ends() 507 WARN("can't find reachable insn at %s+0x%" PRIx64, in add_dead_ends() 512 WARN("can't find reachable insn at %s+0x%" PRIx64, in add_dead_ends() [all …]
|
D | elf.c | 320 WARN("unexpected data attributes for %s", in read_sections() 337 WARN("section entry mismatch"); in read_sections() 430 WARN("couldn't find section for symbol %s", in read_symbols() 467 WARN("%s(): parent function name exceeds maximum length of %d characters", in read_symbols() 477 WARN("%s(): can't find parent function", in read_symbols() 613 WARN("index out of range"); in elf_update_symbol() 624 WARN("malloc"); in elf_update_symbol() 651 WARN("zero size data"); in elf_update_symbol() 666 WARN("negative index"); in elf_update_symbol() 678 WARN("no .symtab_shndx"); in elf_update_symbol() [all …]
|
/kernel/linux/linux-5.10/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);
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/mm/ |
D | early_ioremap.c | 96 if (WARN(count, KERN_WARNING in check_early_ioremap_leak() 124 if (WARN(slot < 0, "%s(%pa, %08lx) not found slot\n", in __early_ioremap() 161 WARN(early_ioremap_debug, "%s(%pa, %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 | 213 WARN(1, "Conflicting mapping in same section\n"); in pagemap_range() 220 WARN(1, "Conflicting mapping in same section\n"); in pagemap_range() 329 WARN(1, "Device private memory not supported\n"); in memremap_pages() 333 WARN(1, "Missing migrate_to_ram method\n"); in memremap_pages() 337 WARN(1, "Missing page_free method\n"); in memremap_pages() 341 WARN(1, "Missing owner\n"); in memremap_pages() 348 WARN(1, "File system DAX not supported\n"); in memremap_pages() 359 WARN(1, "Invalid pgmap type %d\n", pgmap->type); in memremap_pages() 375 WARN(1, "Missing reference count teardown definition\n"); in memremap_pages()
|
/kernel/linux/linux-5.10/net/core/ |
D | xdp.c | 119 WARN(1, "Missing register, driver bug"); in xdp_rxq_info_unreg_mem_model() 141 WARN(!(xdp_rxq->reg_state == REG_STATE_REGISTERED), "Driver BUG"); in xdp_rxq_info_unreg() 164 WARN(1, "Driver promised not to register this"); in xdp_rxq_info_reg() 169 WARN(1, "Missing unregister, handled but fix driver"); in xdp_rxq_info_reg() 174 WARN(1, "Missing net_device from driver"); in xdp_rxq_info_reg() 271 WARN(1, "Missing register, driver bug"); in xdp_rxq_info_reg_mem_model() 370 WARN(1, "Incorrect XDP memory type (%d) usage", mem->type); in __xdp_return() 459 WARN(1, "XDP_WARN: %s(line:%d): %s\n", func, line, msg); in xdp_warn()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | iosf_mbi.h | 204 WARN(1, "IOSF_MBI driver not available"); in iosf_mbi_read() 211 WARN(1, "IOSF_MBI driver not available"); in iosf_mbi_write() 218 WARN(1, "IOSF_MBI driver not available"); in iosf_mbi_modify()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/kernel/power/ |
D | qos.c | 71 WARN(1, "Unknown PM QoS type in %s\n", __func__); in pm_qos_get_value() 270 WARN(1, KERN_ERR "%s called for already added request\n", __func__); in cpu_latency_qos_add_request() 296 WARN(1, KERN_ERR "%s called for unknown object\n", __func__); in cpu_latency_qos_update_request() 322 WARN(1, KERN_ERR "%s called for unknown object\n", __func__); in cpu_latency_qos_remove_request() 537 if (WARN(freq_qos_request_active(req), in freq_qos_add_request() 569 if (WARN(!freq_qos_request_active(req), in freq_qos_update_request() 597 if (WARN(!freq_qos_request_active(req), in freq_qos_remove_request()
|
/kernel/linux/linux-5.10/fs/proc/ |
D | generic.c | 178 WARN(1, "name '%s'\n", name); in __xlate_proc_name() 381 WARN(1, "proc_dir_entry '%s/%s' already registered\n", in proc_register() 411 WARN(1, "name len %u\n", qstr.len); in __proc_create() 415 WARN(1, "name '.'\n"); in __proc_create() 419 WARN(1, "name '..'\n"); in __proc_create() 423 WARN(1, "create '/proc/%s' by hand\n", qstr.name); in __proc_create() 427 WARN(1, "attempt to add to permanently empty directory"); in __proc_create() 707 WARN(1, "removing permanent /proc entry '%s'", de->name); in remove_proc_entry() 717 WARN(1, "name '%s'\n", name); in remove_proc_entry() 723 WARN(pde_subdir_first(de), in remove_proc_entry() [all …]
|
/kernel/linux/linux-5.10/tools/include/asm/ |
D | bug.h | 10 #define WARN(condition, format...) ({ \ macro 41 if (WARN(!__warned, format)) \
|
/kernel/linux/linux-5.10/drivers/mtd/spi-nor/ |
D | sst.c | 72 WARN(ret != 1, "While writing 1 byte written %i bytes\n", ret); in sst_write() 89 WARN(ret != 2, "While writing 2 bytes written %i bytes\n", ret); in sst_write() 116 WARN(ret != 1, "While writing 1 byte written %i bytes\n", ret); in sst_write()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|