We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d19bac3 commit e741742Copy full SHA for e741742
drivers/net/wireless/ath/ath6kl/bmi.c
@@ -87,7 +87,9 @@ int ath6kl_bmi_get_target_info(struct ath6kl *ar,
87
* We need to do some backwards compatibility to make this work.
88
*/
89
if (le32_to_cpu(targ_info->byte_count) != sizeof(*targ_info)) {
90
- WARN_ON(1);
+ ath6kl_err("mismatched byte count %d vs. expected %zd\n",
91
+ le32_to_cpu(targ_info->byte_count),
92
+ sizeof(*targ_info));
93
return -EINVAL;
94
}
95
0 commit comments