Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F154587949
D20428.id58092.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
537 B
Referenced Files
None
Subscribers
None
D20428.id58092.diff
View Options
Index: head/sys/dev/ixl/i40e_common.c
===================================================================
--- head/sys/dev/ixl/i40e_common.c
+++ head/sys/dev/ixl/i40e_common.c
@@ -383,13 +383,14 @@
**/
bool i40e_check_asq_alive(struct i40e_hw *hw)
{
- if (hw->aq.asq.len)
+ if (hw->aq.asq.len) {
if (!i40e_is_vf(hw))
return !!(rd32(hw, hw->aq.asq.len) &
I40E_PF_ATQLEN_ATQENABLE_MASK);
- if (i40e_is_vf(hw))
+ else
return !!(rd32(hw, hw->aq.asq.len) &
I40E_VF_ATQLEN1_ATQENABLE_MASK);
+ }
return FALSE;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 29, 11:49 PM (3 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32334494
Default Alt Text
D20428.id58092.diff (537 B)
Attached To
Mode
D20428: ixl(4): fix the code not guarded by the guarded by the if clause
Attached
Detach File
Event Timeline
Log In to Comment