Project

General

Profile

Actions

Bug #3351

open

Handling error cases of callbacks in envgen for more than two structures

Added by Vadim Mutilin over 11 years ago. Updated over 9 years ago.

Status:
Open
Priority:
Normal
Assignee:
Category:
Environment Generation
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


Related issues 1 (1 open0 closed)

Related to Linux Driver Verification - Bug #1313: Infinite sequence models are flawedNewVadim Mutilin06/02/2011

Actions
Actions

Also available in: Atom PDF