summaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/pxa2xx_mainstone.c
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-08-26 15:32:01 +0800
committerJohn W. Linville <linville@tuxdriver.com>2013-08-26 14:10:39 -0400
commit58fe431342fdcf53fe93c4482351a9aa46762a11 (patch)
treee30361d55b8a274ba7ff505a78d416b346845a43 /drivers/pcmcia/pxa2xx_mainstone.c
parentcfcd926ea2bc46aaca4e9ca3f0a3b8ac35b9d691 (diff)
zd1201: fix error return code
Fix to return -ENOMEM in the memory alloc error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/pcmcia/pxa2xx_mainstone.c')
0 files changed, 0 insertions, 0 deletions