/linux-6.1.9/scripts/ |
D | checkpatch.pl | 2443 sub WARN { subroutine 2487 WARN("USE_RELATIVE_PATH", 2833 WARN("PATCH_PREFIX", 2857 WARN("OBSOLETE", 2874 WARN("DT_SPLIT_BINDING_PATCH", 2897 WARN("COMMIT_MESSAGE", 2998 WARN("BAD_SIGN_OFF", 3001 if (WARN("BAD_SIGN_OFF", 3009 if (WARN("BAD_SIGN_OFF", 3017 if (WARN("BAD_SIGN_OFF", [all …]
|
/linux-6.1.9/include/asm-generic/ |
D | bug.h | 129 #ifndef WARN 130 #define WARN(condition, format...) ({ \ macro 151 DO_ONCE_LITE_IF(condition, WARN, 1, format) 172 #ifndef WARN 173 #define WARN(condition, format...) ({ \ macro 181 #define WARN_ONCE(condition, format...) WARN(condition, format) 182 #define WARN_TAINT(condition, taint, format...) WARN(condition, format) 183 #define WARN_TAINT_ONCE(condition, taint, format...) WARN(condition, format)
|
/linux-6.1.9/drivers/net/wireless/silabs/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) + sizeof(msg->tx_mic_key) + in fill_tkip_pair() 74 WARN(key->keylen != sizeof(msg->tkip_key_data) + 2 * sizeof(msg->rx_mic_key), in fill_tkip_group() 93 WARN(key->keylen != sizeof(msg->aes_key_data), "inconsistent data"); in fill_ccmp_pair() 102 WARN(key->keylen != sizeof(msg->aes_key_data), "inconsistent data"); in fill_ccmp_group() 115 WARN(key->keylen != sizeof(msg->wapi_key_data) + sizeof(msg->mic_key_data), in fill_sms4_pair() 130 WARN(key->keylen != sizeof(msg->wapi_key_data) + sizeof(msg->mic_key_data), in fill_sms4_group() 142 WARN(key->keylen != sizeof(msg->igtk_key_data), "inconsistent data"); in fill_aes_cmac_group() [all …]
|
D | bh.c | 72 WARN(read_len > round_down(0xFFF, 2) * sizeof(u16), "request exceed the chip capability"); in rx_helper() 87 WARN(hif->encrypted & 0x3, "encryption is unsupported"); in rx_helper() 88 if (WARN(read_len < sizeof(struct wfx_hif_msg), "corrupted read")) in rx_helper() 107 WARN(wdev->hif.tx_buffers_used < release_count, "corrupted buffer counter"); in rx_helper() 175 WARN(len < sizeof(*hif), "try to send corrupted data"); in tx_helper() 181 WARN(len > le16_to_cpu(wdev->hw_caps.size_inp_ch_buf), in tx_helper() 205 WARN(!mutex_is_locked(&wdev->hif_cmd.lock), "data locking error"); in bh_work_tx() 297 WARN(!wdev->poll_irq, "unexpected IRQ polling can mask IRQ"); in wfx_bh_poll_irq()
|
D | bus_sdio.c | 58 WARN(reg_id > 7, "chip only has 7 registers"); in wfx_sdio_copy_from_io() 59 WARN(!IS_ALIGNED((uintptr_t)dst, 4), "unaligned buffer address"); in wfx_sdio_copy_from_io() 60 WARN(!IS_ALIGNED(count, 4), "unaligned buffer size"); in wfx_sdio_copy_from_io() 78 WARN(reg_id > 7, "chip only has 7 registers"); in wfx_sdio_copy_to_io() 79 WARN(!IS_ALIGNED((uintptr_t)src, 4), "unaligned buffer address"); in wfx_sdio_copy_to_io() 80 WARN(!IS_ALIGNED(count, 4), "unaligned buffer size"); in wfx_sdio_copy_to_io()
|
/linux-6.1.9/tools/objtool/include/objtool/ |
D | warn.h | 44 #define WARN(format, ...) \ macro 52 WARN("%s: " format, _str, ##__VA_ARGS__); \ 60 WARN(" %s: " format, _str, ##__VA_ARGS__); \ 65 WARN(format ": %s", ##__VA_ARGS__, elf_errmsg(-1))
|
/linux-6.1.9/lib/ |
D | asn1_encoder.c | 32 if (WARN(integer < 0, in asn1_encode_integer() 148 if (WARN(oid_len < 2, "OID must have at least two elements")) in asn1_encode_oid() 151 if (WARN(oid_len > 32, "OID is too large")) in asn1_encode_oid() 229 if (WARN(len > 0xffffff, "ASN.1 length can't be > 0xffffff")) in asn1_encode_length() 276 if (WARN(tag > 30, "ASN.1 tag can't be > 30")) in asn1_encode_tag() 279 if (!string && WARN(len > 127, in asn1_encode_tag() 379 if (!seq && WARN(len > 127, in asn1_encode_sequence()
|
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() 379 if (WARN(err, "cannot remove element at slot %d", i)) in test_rhltable() 382 if (WARN(err != -ENOENT, "removed non-existent element %d, error %d not %d", in test_rhltable() 390 if (WARN(test_and_set_bit(i, obj_in_table), "succeeded to insert same object %d", i)) in test_rhltable() [all …]
|
D | logic_iomem.c | 74 WARN(1, "invalid ioremap(0x%llx, 0x%zx)\n", in real_ioremap() 81 WARN(1, "invalid iounmap for addr 0x%llx\n", in real_iounmap() 175 WARN(1, "Invalid read" #op " at address %llx\n", \ 183 WARN(1, "Invalid writeq" #op " of 0x%llx at address %llx\n", \ 197 WARN(1, "Invalid memset_io at address 0x%llx\n", in real_memset_io() 204 WARN(1, "Invalid memcpy_fromio at address 0x%llx\n", in real_memcpy_fromio() 213 WARN(1, "Invalid memcpy_toio at address 0x%llx\n", in real_memcpy_toio()
|
/linux-6.1.9/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-6.1.9/mm/ |
D | memremap.c | 183 WARN(1, "Conflicting mapping in same section\n"); in pagemap_range() 190 WARN(1, "Conflicting mapping in same section\n"); in pagemap_range() 307 WARN(1, "Device private memory not supported\n"); in memremap_pages() 311 WARN(1, "Missing migrate_to_ram method\n"); in memremap_pages() 315 WARN(1, "Missing page_free method\n"); in memremap_pages() 319 WARN(1, "Missing owner\n"); in memremap_pages() 325 WARN(1, "Missing page_free method\n"); in memremap_pages() 329 WARN(1, "Missing owner\n"); in memremap_pages() 335 WARN(1, "File system DAX not supported\n"); in memremap_pages() 346 WARN(1, "Invalid pgmap type %d\n", pgmap->type); in memremap_pages()
|
D | early_ioremap.c | 92 if (WARN(count, KERN_WARNING in check_early_ioremap_leak() 120 if (WARN(slot < 0, "%s(%pa, %08lx) not found slot\n", in __early_ioremap() 157 WARN(early_ioremap_debug, "%s(%pa, %08lx) [%d] => %08lx + %08lx\n", in __early_ioremap() 180 if (WARN(slot < 0, "%s(%p, %08lx) not found slot\n", in early_iounmap() 184 if (WARN(prev_size[slot] != size, in early_iounmap() 189 WARN(early_ioremap_debug, "%s(%p, %08lx) [%d]\n", in early_iounmap()
|
/linux-6.1.9/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-6.1.9/drivers/gpu/drm/ |
D | drm_mode_config.c | 584 WARN(!!(encoder->possible_clones & drm_encoder_mask(other)) != in validate_encoder_possible_clones() 595 WARN((encoder->possible_clones & drm_encoder_mask(encoder)) == 0 || in validate_encoder_possible_clones() 618 WARN((encoder->possible_crtcs & crtc_mask) == 0 || in validate_encoder_possible_crtcs() 646 WARN(!crtc->primary, "Missing primary plane on [CRTC:%d:%s]\n", in drm_mode_config_validate() 649 WARN(crtc->cursor && crtc->funcs->cursor_set, in drm_mode_config_validate() 652 WARN(crtc->cursor && crtc->funcs->cursor_set2, in drm_mode_config_validate() 655 WARN(crtc->cursor && crtc->funcs->cursor_move, in drm_mode_config_validate() 660 WARN(!(crtc->primary->possible_crtcs & drm_crtc_mask(crtc)), in drm_mode_config_validate() 664 WARN(primary_with_crtc & drm_plane_mask(crtc->primary), in drm_mode_config_validate() 670 WARN(!(crtc->cursor->possible_crtcs & drm_crtc_mask(crtc)), in drm_mode_config_validate() [all …]
|
/linux-6.1.9/tools/objtool/ |
D | check.c | 290 WARN("calloc failed"); in cfi_alloc() 346 WARN("mmap fail cfi_hash"); in cfi_hash_alloc() 388 WARN("malloc failed"); in decode_instructions() 425 WARN("%s(): can't find starting instruction", in decode_instructions() 561 WARN("unexpected relocation symbol type in %s", sec->name); in add_dead_ends() 570 WARN("can't find unreachable insn at %s+0x%" PRIx64, in add_dead_ends() 575 WARN("can't find unreachable insn at %s+0x%" PRIx64, in add_dead_ends() 596 WARN("unexpected relocation symbol type in %s", sec->name); in add_dead_ends() 605 WARN("can't find reachable insn at %s+0x%" PRIx64, in add_dead_ends() 610 WARN("can't find reachable insn at %s+0x%" PRIx64, in add_dead_ends() [all …]
|
D | elf.c | 47 WARN("mmap fail " #name); \ 344 WARN("unexpected data attributes for %s", in read_sections() 365 WARN("section entry mismatch"); in read_sections() 468 WARN("couldn't find section for symbol %s", in read_symbols() 507 WARN("%s(): parent function name exceeds maximum length of %d characters", in read_symbols() 517 WARN("%s(): can't find parent function", in read_symbols() 654 WARN("index out of range"); in elf_update_symbol() 665 WARN("malloc"); in elf_update_symbol() 692 WARN("zero size data"); in elf_update_symbol() 707 WARN("negative index"); in elf_update_symbol() [all …]
|
D | objtool.c | 86 WARN("won't handle more than one file at a time"); in objtool_open_read() 98 WARN("can't create backup file"); in objtool_open_read() 121 WARN("paravirt confusion"); in objtool_pv_add()
|
/linux-6.1.9/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()
|
/linux-6.1.9/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-6.1.9/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()
|
/linux-6.1.9/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-6.1.9/fs/proc/ |
D | generic.c | 173 WARN(1, "name '%s'\n", name); in __xlate_proc_name() 376 WARN(1, "proc_dir_entry '%s/%s' already registered\n", in proc_register() 406 WARN(1, "name len %u\n", qstr.len); in __proc_create() 410 WARN(1, "name '.'\n"); in __proc_create() 414 WARN(1, "name '..'\n"); in __proc_create() 418 WARN(1, "create '/proc/%s' by hand\n", qstr.name); in __proc_create() 422 WARN(1, "attempt to add to permanently empty directory"); in __proc_create() 702 WARN(1, "removing permanent /proc entry '%s'", de->name); in remove_proc_entry() 712 WARN(1, "name '%s'\n", name); in remove_proc_entry() 718 WARN(pde_subdir_first(de), in remove_proc_entry() [all …]
|
/linux-6.1.9/tools/objtool/arch/x86/ |
D | decode.c | 34 WARN("unexpected ELF machine type %d", elf->ehdr.e_machine); in is_x86_64() 142 WARN("can't decode instruction at %s:0x%lx", sec->name, offset); in arch_decode_instruction() 417 WARN("invalid LEA encoding at %s:0x%lx", sec->name, offset); in arch_decode_instruction() 519 WARN("ENQCMD instruction at %s:%lx", sec->name, in arch_decode_instruction() 604 WARN("no func for pv_ops[]"); in arch_decode_instruction() 669 WARN("notrack prefix found at %s:0x%lx", sec->name, offset); in arch_decode_instruction() 675 WARN("notrack prefix found at %s:0x%lx", sec->name, offset); in arch_decode_instruction() 731 WARN("invalid NOP size: %d\n", len); in arch_nop_insn() 751 WARN("invalid RET size: %d\n", len); in arch_ret_insn()
|
/linux-6.1.9/drivers/soc/tegra/fuse/ |
D | tegra-apbmisc.c | 35 WARN(!chipid, "Tegra APB MISC not yet available\n"); in tegra_read_chipid() 82 WARN(!chipid, "Tegra ABP MISC not yet available\n"); in tegra_read_straps() 111 WARN(1, "Only supported for Tegra194 devices!\n"); in tegra194_miscreg_mask_serror()
|
/linux-6.1.9/tools/include/asm/ |
D | bug.h | 10 #define WARN(condition, format...) ({ \ macro 41 if (WARN(!__warned, format)) \
|