Skip to contentSkip to conversation

iwlwifi:Fix error handling in the function iwl_pcie_enqueue_hcmd

PATCH Grumbach, Emmanuel 1 participant 2 messages Jul 22, 2015 2 messages not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 4 lines · Nicholas Krause

This fixes error handling in the function iwl_pcie_enqueue_hcmd by checking if all calls to the function wl_pcie_txq_build_tfd have failed by returning a error code and if so jump to the goto label out from the cleaning up of acquired resources before

What tests did you run on your patch?

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw
Quoted 6 lines · nick
Quoted 3 lines · Emmanuel

On 07/22/2015 07:39 PM, Nicholas Krause wrote:

Quoted 8 lines
Quoted 7 lines
Quoted 4 lines

This fixes error handling in the function iwl_pcie_enqueue_hcmd by checking if all calls to the function wl_pcie_txq_build_tfd have failed by returning a error code and if so jump to the goto label out from the cleaning up of acquired resources before

What tests did you run on your patch?

None did I miss something?

I can't really accept a patch if you don't even test it, right? Your patch doesn't look problematic at first glance, but hitting these paths isn't easy and I am not very happy to change the behavior without direct testing.