Actions
Bug #3351
openHandling error cases of callbacks in envgen for more than two structures
Start date:
08/21/2012
Due date:
% Done:
0%
Estimated time:
Detected in build:
svn
Platform:
Published in build:
Description
If some callback returns error than current generated code will goto module_exit label thus skiping all required callback calls for the other structures.
For example (drivers/net/ethernet/calxeda/xgmac.ko):
1. structure 1: successful xgmac_probe (== 0)
2. structure 2: error case of xgmac_open (< 0)
3. goto module_exit skipping xgmac_remove from structure 1
Actions