Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109750444
D20428.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.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
Mon, Feb 10, 1:53 AM (20 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16568210
Default Alt Text
D20428.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