Home
last modified time | relevance | path

Searched refs:WARN (Results 1 – 25 of 959) sorted by relevance

12345678910>>...39

/openbmc/linux/scripts/
H A Dcheckpatch.pl2478 sub WARN { subroutine
2522 WARN("USE_RELATIVE_PATH",
2871 WARN("PATCH_PREFIX",
2895 WARN("OBSOLETE",
2912 WARN("DT_SPLIT_BINDING_PATCH",
2935 WARN("COMMIT_MESSAGE",
3036 WARN("BAD_SIGN_OFF",
3039 if (WARN("BAD_SIGN_OFF",
3047 if (WARN("BAD_SIGN_OFF",
3055 if (WARN("BAD_SIGN_OFF",
[all …]
/openbmc/u-boot/scripts/
H A Dcheckpatch.pl2094 sub WARN { subroutine
2138 WARN("USE_RELATIVE_PATH",
2445 WARN("PATCH_PREFIX",
2469 WARN("OBSOLETE",
2532 WARN("BAD_SIGN_OFF",
2536 if (WARN("BAD_SIGN_OFF",
2544 if (WARN("BAD_SIGN_OFF",
2553 if (WARN("BAD_SIGN_OFF",
2575 WARN("BAD_SIGN_OFF",
2585 WARN("BAD_SIGN_OFF",
[all …]
/openbmc/linux/include/asm-generic/
H A Dbug.h130 #ifndef WARN
131 #define WARN(condition, format...) ({ \ macro
152 DO_ONCE_LITE_IF(condition, WARN, 1, format)
173 #ifndef WARN
174 #define WARN(condition, format...) ({ \ macro
182 #define WARN_ONCE(condition, format...) WARN(condition, format)
183 #define WARN_TAINT(condition, taint, format...) WARN(condition, format)
184 #define WARN_TAINT_ONCE(condition, taint, format...) WARN(condition, format)
/openbmc/linux/drivers/net/wireless/silabs/wfx/
H A Dkey.c29 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 …]
H A Dbh.c72 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()
H A Dbus_sdio.c58 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()
/openbmc/linux/tools/objtool/
H A Delf.c84 WARN("mmap fail " #name); \
366 WARN("unexpected data attributes for %s", in read_sections()
387 WARN("section entry mismatch"); in read_sections()
496 WARN("couldn't find section for symbol %s", in read_symbols()
535 WARN("%s(): parent function name exceeds maximum length of %d characters", in read_symbols()
545 WARN("%s(): can't find parent function", in read_symbols()
643 WARN("index out of range"); in elf_update_symbol()
654 WARN("malloc"); in elf_update_symbol()
669 WARN("malloc"); in elf_update_symbol()
687 WARN("zero size data"); in elf_update_symbol()
[all …]
H A Dcheck.c296 WARN("calloc failed"); in cfi_alloc()
352 WARN("mmap fail cfi_hash"); in cfi_hash_alloc()
408 WARN("malloc failed"); in decode_instructions()
453 WARN("%s(): STT_FUNC at end of section", in decode_instructions()
462 WARN("%s(): can't find starting instruction", in decode_instructions()
599 WARN("unexpected relocation symbol type in %s", rsec->name); in add_dead_ends()
611 WARN("can't find unreachable insn at %s+0x%" PRIx64, in add_dead_ends()
616 WARN("can't find unreachable insn at %s+0x%" PRIx64, in add_dead_ends()
638 WARN("unexpected relocation symbol type in %s", rsec->name); in add_dead_ends()
650 WARN("can't find reachable insn at %s+0x%" PRIx64, in add_dead_ends()
[all …]
H A Dobjtool.c86 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()
/openbmc/linux/lib/
H A Dasn1_encoder.c32 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()
H A Dtest_rhashtable.c300 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 …]
H A Dlogic_iomem.c74 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()
/openbmc/linux/scripts/coccinelle/misc/
H A Dwarn.cocci2 /// 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);
/openbmc/linux/tools/objtool/include/objtool/
H A Dwarn.h44 #define WARN(format, ...) \ macro
52 WARN("%s: " format, _str, ##__VA_ARGS__); \
71 WARN(" %s: " format, _str, ##__VA_ARGS__); \
77 WARN(format ": %s", ##__VA_ARGS__, elf_errmsg(-1))
/openbmc/linux/mm/
H A Dmemremap.c183 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()
H A Dearly_ioremap.c90 if (WARN(count, KERN_WARNING in check_early_ioremap_leak()
118 if (WARN(slot < 0, "%s(%pa, %08lx) not found slot\n", in __early_ioremap()
155 WARN(early_ioremap_debug, "%s(%pa, %08lx) [%d] => %08lx + %08lx\n", in __early_ioremap()
178 if (WARN(slot < 0, "%s(%p, %08lx) not found slot\n", in early_iounmap()
182 if (WARN(prev_size[slot] != size, in early_iounmap()
187 WARN(early_ioremap_debug, "%s(%p, %08lx) [%d]\n", in early_iounmap()
/openbmc/u-boot/drivers/clk/sifive/
H A Dwrpll-cln28hpc.c96 WARN(1, "%s: post-divider reference freq out of range: %lu", in __wrpll_calc_filter_range()
253 WARN(1, "%s called with uninitialized PLL config", __func__); in analogbits_wrpll_configure_for_rate()
259 WARN(1, "%s called with invalid PLL config", __func__); in analogbits_wrpll_configure_for_rate()
264 WARN(1, "%s: external feedback mode not currently supported", in analogbits_wrpll_configure_for_rate()
364 WARN(c->flags & WRPLL_FLAGS_EXT_FEEDBACK_MASK, in analogbits_wrpll_calc_output_rate()
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_mode_config.c592 WARN(!!(encoder->possible_clones & drm_encoder_mask(other)) != in validate_encoder_possible_clones()
603 WARN((encoder->possible_clones & drm_encoder_mask(encoder)) == 0 || in validate_encoder_possible_clones()
626 WARN((encoder->possible_crtcs & crtc_mask) == 0 || in validate_encoder_possible_crtcs()
654 WARN(!crtc->primary, "Missing primary plane on [CRTC:%d:%s]\n", in drm_mode_config_validate()
657 WARN(crtc->cursor && crtc->funcs->cursor_set, in drm_mode_config_validate()
660 WARN(crtc->cursor && crtc->funcs->cursor_set2, in drm_mode_config_validate()
663 WARN(crtc->cursor && crtc->funcs->cursor_move, in drm_mode_config_validate()
668 WARN(!(crtc->primary->possible_crtcs & drm_crtc_mask(crtc)), in drm_mode_config_validate()
672 WARN(primary_with_crtc & drm_plane_mask(crtc->primary), in drm_mode_config_validate()
678 WARN(!(crtc->cursor->possible_crtcs & drm_crtc_mask(crtc)), in drm_mode_config_validate()
[all …]
/openbmc/linux/drivers/misc/cxl/
H A Dhcalls.c68 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()
/openbmc/linux/arch/x86/include/asm/
H A Diosf_mbi.h204 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()
/openbmc/linux/drivers/bus/
H A Darm-cci.c198 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()
/openbmc/linux/fs/proc/
H A Dgeneric.c172 WARN(1, "name '%s'\n", name); in __xlate_proc_name()
375 WARN(1, "proc_dir_entry '%s/%s' already registered\n", in proc_register()
405 WARN(1, "name len %u\n", qstr.len); in __proc_create()
409 WARN(1, "name '.'\n"); in __proc_create()
413 WARN(1, "name '..'\n"); in __proc_create()
417 WARN(1, "create '/proc/%s' by hand\n", qstr.name); in __proc_create()
421 WARN(1, "attempt to add to permanently empty directory"); in __proc_create()
701 WARN(1, "removing permanent /proc entry '%s'", de->name); in remove_proc_entry()
711 WARN(1, "name '%s'\n", name); in remove_proc_entry()
717 WARN(pde_subdir_first(de), in remove_proc_entry()
[all …]
/openbmc/linux/kernel/power/
H A Dqos.c71 WARN(1, "Unknown PM QoS type in %s\n", __func__); in pm_qos_get_value()
275 WARN(1, KERN_ERR "%s called for already added request\n", __func__); in cpu_latency_qos_add_request()
301 WARN(1, KERN_ERR "%s called for unknown object\n", __func__); in cpu_latency_qos_update_request()
327 WARN(1, KERN_ERR "%s called for unknown object\n", __func__); in cpu_latency_qos_remove_request()
547 if (WARN(freq_qos_request_active(req), in freq_qos_add_request()
579 if (WARN(!freq_qos_request_active(req), in freq_qos_update_request()
607 if (WARN(!freq_qos_request_active(req), in freq_qos_remove_request()
/openbmc/linux/arch/powerpc/platforms/pseries/
H A Devent_sources.c21 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()
/openbmc/linux/tools/objtool/arch/x86/
H A Ddecode.c39 WARN("unexpected ELF machine type %d", elf->ehdr.e_machine); in is_x86_64()
170 WARN("can't decode instruction at %s:0x%lx", sec->name, offset); in arch_decode_instruction()
445 WARN("invalid LEA encoding at %s:0x%lx", sec->name, offset); in arch_decode_instruction()
547 WARN("ENQCMD instruction at %s:%lx", sec->name, in arch_decode_instruction()
632 WARN("no func for pv_ops[]"); in arch_decode_instruction()
697 WARN("notrack prefix found at %s:0x%lx", sec->name, offset); in arch_decode_instruction()
703 WARN("notrack prefix found at %s:0x%lx", sec->name, offset); in arch_decode_instruction()
759 WARN("invalid NOP size: %d\n", len); in arch_nop_insn()
779 WARN("invalid RET size: %d\n", len); in arch_ret_insn()

12345678910>>...39