Home
last modified time | relevance | path

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

12345678910>>...38

/OK3568_Linux_fs/kernel/scripts/
H A Dcheckpatch.pl2221 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 …]
/OK3568_Linux_fs/u-boot/scripts/
H A Dcheckpatch.pl2036 sub WARN { subroutine
2080 WARN("USE_RELATIVE_PATH",
2385 WARN("PATCH_PREFIX",
2409 WARN("OBSOLETE",
2471 WARN("BAD_SIGN_OFF",
2475 if (WARN("BAD_SIGN_OFF",
2483 if (WARN("BAD_SIGN_OFF",
2492 if (WARN("BAD_SIGN_OFF",
2514 WARN("BAD_SIGN_OFF",
2524 WARN("BAD_SIGN_OFF",
[all …]
/OK3568_Linux_fs/kernel/include/asm-generic/
H A Dbug.h126 #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)
/OK3568_Linux_fs/kernel/drivers/staging/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) 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 …]
H A Dbh.c74 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()
H A Dbus_sdio.c42 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()
/OK3568_Linux_fs/kernel/lib/
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()
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 …]
/OK3568_Linux_fs/kernel/tools/objtool/
H A Dwarn.h43 #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))
H A Dcheck.c278 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 …]
H A Delf.c320 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 …]
/OK3568_Linux_fs/kernel/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);
/OK3568_Linux_fs/kernel/net/core/
H A Dxdp.c119 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()
/OK3568_Linux_fs/kernel/mm/
H A Dearly_ioremap.c96 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()
H A Dmemremap.c213 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()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Ddhd_custom_exynos.c192 WARN(1, "failed to get device node of bcm4354\n"); in dhd_wlan_init_gpio()
199 WARN(1, "Invalied gpio pin : %d\n", wlan_pwr_on); in dhd_wlan_init_gpio()
204 WARN(1, "fail to request gpio(WLAN_REG_ON)\n"); in dhd_wlan_init_gpio()
225 WARN(1, "Invalied gpio pin : %d\n", wlan_host_wake_up); in dhd_wlan_init_gpio()
230 WARN(1, "fail to request gpio(WLAN_HOST_WAKE)\n"); in dhd_wlan_init_gpio()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Ddhd_custom_exynos.c192 WARN(1, "failed to get device node of bcm4354\n"); in dhd_wlan_init_gpio()
199 WARN(1, "Invalied gpio pin : %d\n", wlan_pwr_on); in dhd_wlan_init_gpio()
204 WARN(1, "fail to request gpio(WLAN_REG_ON)\n"); in dhd_wlan_init_gpio()
225 WARN(1, "Invalied gpio pin : %d\n", wlan_host_wake_up); in dhd_wlan_init_gpio()
230 WARN(1, "fail to request gpio(WLAN_HOST_WAKE)\n"); in dhd_wlan_init_gpio()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/base/arm/protected_memory_allocator/
H A Dprotected_memory_allocator.c106 WARN(epma_dev->rmem_size == 0, "%s: rmem_size is 0", __func__); in small_granularity_alloc()
109 WARN(alloc_bitfield_idx >= alloc_pages_bitfield_size, in small_granularity_alloc()
113 WARN((start_bit + (1 << order)) > PAGES_PER_BITFIELD_ELEM, in small_granularity_alloc()
121 WARN(*bitfield & (1ULL << (start_bit + i)), in small_granularity_alloc()
173 WARN((start_alloc_bitfield_idx + order) >= ALLOC_PAGES_BITFIELD_ARR_SIZE(epma_dev->rmem_size), in large_granularity_alloc()
181 WARN((*bitfield != 0), in large_granularity_alloc()
404 WARN(page_num % PAGES_PER_BITFIELD_ELEM, in simple_pma_free_page()
412 WARN((*bitfield != ~0), in simple_pma_free_page()
/OK3568_Linux_fs/kernel/drivers/tty/
H A Dtty_mutex.c16 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()
/OK3568_Linux_fs/kernel/fs/proc/
H A Dgeneric.c178 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 …]
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/kernel/power/
H A Dqos.c74 WARN(1, "Unknown PM QoS type in %s\n", __func__); in pm_qos_get_value()
273 WARN(1, KERN_ERR "%s called for already added request\n", __func__); in cpu_latency_qos_add_request()
299 WARN(1, KERN_ERR "%s called for unknown object\n", __func__); in cpu_latency_qos_update_request()
325 WARN(1, KERN_ERR "%s called for unknown object\n", __func__); in cpu_latency_qos_remove_request()
540 if (WARN(freq_qos_request_active(req), in freq_qos_add_request()
573 if (WARN(!freq_qos_request_active(req), in freq_qos_update_request()
602 if (WARN(!freq_qos_request_active(req), in freq_qos_remove_request()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/backend/gpu/
H A Dmali_kbase_jm_as.c97 WARN(1, "Attempting to release context without ASID\n"); in kbase_backend_release_ctx_irq()
104 WARN(1, "Attempting to release active ASID\n"); in kbase_backend_release_ctx_irq()
151 WARN(1, "Failed to retain active context\n"); in kbase_backend_find_and_release_free_address_space()
221 WARN(1, "Context is already scheduled in\n"); in kbase_backend_use_ctx()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/backend/gpu/
H A Dmali_kbase_jm_as.c92 WARN(1, "Attempting to release context without ASID\n"); in kbase_backend_release_ctx_irq()
99 WARN(1, "Attempting to release active ASID\n"); in kbase_backend_release_ctx_irq()
147 WARN(1, "Failed to retain active context\n"); in kbase_backend_find_and_release_free_address_space()
217 WARN(1, "Context is already scheduled in\n"); in kbase_backend_use_ctx()
/OK3568_Linux_fs/kernel/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()

12345678910>>...38