Home
last modified time | relevance | path

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

12345678910>>...30

/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()
H A Ddata_tx.c28 WARN(1, "wrong rate->idx value: %d", rate->idx); in wfx_get_hw_rate()
38 WARN(1, "wrong rate->idx value: %d", rate->idx); in wfx_get_hw_rate()
53 WARN(rates[0].idx < 0, "invalid rate policy"); in wfx_tx_policy_build()
112 WARN(1, "unable to get a valid Tx policy"); in wfx_tx_policy_get()
346 WARN(queue_id >= IEEE80211_NUM_ACS, "unsupported queue_id"); in wfx_tx_inner()
357 WARN(skb_headroom(skb) < wmsg_len, "not enough space in skb"); in wfx_tx_inner()
358 WARN(offset & 1, "attempt to transmit an unaligned frame"); in wfx_tx_inner()
422 WARN(skb->next || skb->prev, "skb is already member of a list"); in wfx_tx()
536 WARN(!arg->requeue, "incoherent status and result_flags"); in wfx_tx_confirm_cb()
/linux/tools/objtool/
H A Delf.c82 WARN("mmap fail " #name); \
369 WARN("unexpected data attributes for %s", in read_sections()
390 WARN("section entry mismatch"); in read_sections()
499 WARN("couldn't find section for symbol %s", in read_symbols()
539 WARN("%s(): failed to allocate memory", in read_symbols()
548 WARN("%s(): can't find parent function", in read_symbols()
646 WARN("index out of range"); in elf_update_symbol()
657 WARN("malloc"); in elf_update_symbol()
672 WARN("malloc"); in elf_update_symbol()
690 WARN("zero size data"); in elf_update_symbol()
[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()
H A Dcheck.c357 WARN("calloc failed"); in cfi_alloc()
413 WARN("mmap fail cfi_hash"); in cfi_hash_alloc()
469 WARN("malloc failed"); in decode_instructions()
514 WARN("%s(): STT_FUNC at end of section", in decode_instructions()
523 WARN("%s(): can't find starting instruction", in decode_instructions()
639 WARN("file already has .static_call_sites section, skipping"); in create_static_call_sections()
675 WARN("static_call: trampoline name malformed: %s", key_name); in create_static_call_sections()
685 WARN("static_call: can't find static_call_key symbol: %s", tmp); in create_static_call_sections()
724 WARN("file already has .retpoline_sites, skipping"); in create_retpoline_sites_sections()
762 WARN("file already has .return_sites, skipping"); in create_return_sites_sections()
[all …]
/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.c301 if (WARN(err, "error %d on element %d\n", err, i)) in test_rhltable()
321 if (WARN(!h, "key not found during iteration %d of %d", i, entries)) { in test_rhltable()
329 if (WARN(pos == &rhl_test_objects[j].list_node, "old element found, should be gone")) in test_rhltable()
347 if (WARN(!found, "element %d not found", i)) in test_rhltable()
351 WARN(err, "rhltable_remove: err %d for iteration %d\n", err, i); in test_rhltable()
360 WARN(test_bit(i, obj_in_table), "elem %d allegedly still present", i); in test_rhltable()
364 if (WARN(err, "error %d on element %d\n", err, i)) in test_rhltable()
380 if (WARN(err, "cannot remove element at slot %d", i)) in test_rhltable()
383 if (WARN(err != -ENOENT, "removed non-existent element %d, error %d not %d", in test_rhltable()
391 if (WARN(test_and_set_bi 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()
/linux/mm/
H A Dmemremap.c184 WARN(1, "Conflicting mapping in same section\n"); in pagemap_range()
191 WARN(1, "Conflicting mapping in same section\n"); in pagemap_range()
308 WARN(1, "Device private memory not supported\n"); in memremap_pages()
312 WARN(1, "Missing migrate_to_ram method\n"); in memremap_pages()
316 WARN(1, "Missing page_free method\n"); in memremap_pages()
320 WARN(1, "Missing owner\n"); in memremap_pages()
326 WARN(1, "Missing page_free method\n"); in memremap_pages()
330 WARN(1, "Missing owner\n"); in memremap_pages()
336 WARN(1, "File system DAX not supported\n"); in memremap_pages()
347 WARN( in memremap_pages()
[all...]
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()
/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);
/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))
/linux/drivers/gpu/drm/
H A Ddrm_mode_config.c608 WARN(!!(encoder->possible_clones & drm_encoder_mask(other)) != in validate_encoder_possible_clones()
619 WARN((encoder->possible_clones & drm_encoder_mask(encoder)) == 0 || in validate_encoder_possible_clones()
642 WARN((encoder->possible_crtcs & crtc_mask) == 0 || in validate_encoder_possible_crtcs()
670 WARN(!crtc->primary, "Missing primary plane on [CRTC:%d:%s]\n", in drm_mode_config_validate()
673 WARN(crtc->cursor && crtc->funcs->cursor_set, in drm_mode_config_validate()
676 WARN(crtc->cursor && crtc->funcs->cursor_set2, in drm_mode_config_validate()
679 WARN(crtc->cursor && crtc->funcs->cursor_move, in drm_mode_config_validate()
684 WARN(!(crtc->primary->possible_crtcs & drm_crtc_mask(crtc)), in drm_mode_config_validate()
688 WARN(primary_with_crtc & drm_plane_mask(crtc->primary), in drm_mode_config_validate()
694 WARN(!(crtc->cursor->possible_crtcs & drm_crtc_mask(crtc)), in drm_mode_config_validate()
[all …]
/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()
/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()
/linux/fs/proc/
H A Dgeneric.c172 WARN(1, "name '%s'\n", name); in __xlate_proc_name()
377 WARN(1, "proc_dir_entry '%s/%s' already registered\n", in proc_register()
407 WARN(1, "name len %u\n", qstr.len); in __proc_create()
411 WARN(1, "name '.'\n"); in __proc_create()
415 WARN(1, "name '..'\n"); in __proc_create()
419 WARN(1, "create '/proc/%s' by hand\n", qstr.name); in __proc_create()
423 WARN(1, "attempt to add to permanently empty directory"); in __proc_create()
703 WARN(1, "removing permanent /proc entry '%s'", de->name); in remove_proc_entry()
713 WARN(1, "name '%s'\n", name); in remove_proc_entry()
719 WARN(pde_subdir_first(de), in remove_proc_entry()
[all …]
/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()
/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()
/linux/arch/mips/mm/
H A Duasm.c79 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/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()
/linux/tools/include/asm/
H A Dbug.h10 #define WARN(condition, format...) ({ \ macro
41 if (WARN(!__warned, format)) \
/linux/drivers/thunderbolt/
H A Dctl.c194 if (WARN(len != pkg->frame.size, in check_header()
198 if (WARN(type != pkg->frame.eof, "wrong eof (expected %#x, got %#x)\n", in check_header()
201 if (WARN(pkg->frame.sof, "wrong sof (expected 0x0, got %#x)\n", in check_header()
206 if (WARN(header->unknown != 1 << 9, in check_header()
209 if (WARN(route != tb_cfg_get_route(header), in check_header()
220 if (WARN(addr.zero, "addr.zero is %#x\n", addr.zero)) in check_config_address()
222 if (WARN(space != addr.space, "wrong space (expected %x, got %x\n)", in check_config_address()
225 if (WARN(offset != addr.offset, "wrong offset (expected %x, got %x\n)", in check_config_address()
228 if (WARN(length != addr.length, "wrong space (expected %x, got %x\n)", in check_config_address()
1108 WARN( in tb_cfg_read()
[all...]
/linux/drivers/soc/tegra/fuse/
H A Dtegra-apbmisc.c37 WARN(!chipid, "Tegra APB MISC not yet available\n"); in tegra_read_chipid()
86 WARN(!chipid, "Tegra ABP MISC not yet available\n"); in tegra_read_straps()
115 WARN(1, "Only supported for Tegra194 devices!\n"); in tegra194_miscreg_mask_serror()

12345678910>>...30