Fold status in error code
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest12 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | Introduce mthca_status_to_errnodrivers/ | +50 | 0 replies | |
| 2/12 | Clear status reporting from mthca_cmddrivers/ drivers/ | +146 | 0 replies | |
| 3/12 | Clean status reporting frmom mthca_maindrivers/ | +61 | 0 replies | |
| 4/12 | Clean status from mthca_eqdrivers/ | +10 | 0 replies | |
| 5/12 | Clean status reporting from mthca_cqdrivers/ | +2 | 0 replies | |
| 6/12 | Clear status reporting from mthca_mrdrivers/ | +4 | 0 replies | |
| 7/12 | Clear status reporting from mthca_qpdrivers/ | +15 | 0 replies | |
| 8/12 | Clear status reporting from mthca_mcgdrivers/ | +33 | 0 replies | |
| 9/12 | Clear status reporting from mthca_maddrivers/ | +4 | 0 replies | |
| 10/12 | Clear status reporting from mthca_providerdrivers/ | +11 | 0 replies | |
| 11/12 | Clear status reporting from mthca_memfreedrivers/ | +15 | 0 replies | |
| 12/12 | Clear status from mthca_srqdrivers/ | +7 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/12] Fold status in error code
The firmware command handling in mthca looks like
err = mthca_FOO(..., &status); if (err) ... if (status) ...
Most of the time where status matters, a non-OK status message translates to -EINVAL err.
This patchset folds the status in error code, so that we don't need to repeat error handling code, and yet the type of error is communicated to the calling functions.
This is in parallel to mlx4 code by Roland. The patches were broken per-file basis, and all 12 patches are required before you can compile the module.
Signature · 5 lines
Goldwyn -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html