[asterisk-bugs] [DAHDI-linux 0015916]: [patch] unused res in dahdi_ioctl_getgains() and dahdi_ioctl_setgains()

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Sep 21 10:26:43 CDT 2009


The following issue has been RESOLVED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15916 
====================================================================== 
Reported By:                ys
Assigned To:                sruffell
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   15916
Category:                   dahdi (the module)
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     resolved
JIRA:                        
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-09-18 04:35 CDT
Last Modified:              2009-09-21 10:26 CDT
====================================================================== 
Summary:                    [patch] unused res in dahdi_ioctl_getgains() and
dahdi_ioctl_setgains()
Description: 

In function dahdi_ioctl_getgains() and dahdi_ioctl_setgains() return value
assigned to res variable, but these function always return 0.

====================================================================== 

---------------------------------------------------------------------- 
 (0111071) svnbot (reporter) - 2009-09-21 10:26
 https://issues.asterisk.org/view.php?id=15916#c111071 
---------------------------------------------------------------------- 
Repository: dahdi
Revision: 7155

U   linux/trunk/drivers/dahdi/dahdi-base.c

------------------------------------------------------------------------
r7155 | sruffell | 2009-09-21 10:26:41 -0500 (Mon, 21 Sep 2009) | 8 lines

dahdi-base: dahdi_ioctl_[get|set]gains should return the res value.

In function dahdi_ioctl_getgains() and dahdi_ioctl_setgains() return value
assigned to res variable, but these function always return 0 which is an
error.

(closes issue https://issues.asterisk.org/view.php?id=15916.)
Patch by: ys
------------------------------------------------------------------------

http://svn.digium.com/view/dahdi?view=rev&revision=7155 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-09-21 10:26 svnbot         Checkin                                      
2009-09-21 10:26 svnbot         Note Added: 0111071                          
2009-09-21 10:26 svnbot         Status                   ready for review =>
assigned
2009-09-21 10:26 svnbot         Assigned To               => sruffell        
2009-09-21 10:26 svnbot         Status                   assigned => resolved
2009-09-21 10:26 svnbot         Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list