diff options
Diffstat (limited to 'drivers/infiniband/hw/ehca')
| -rw-r--r-- | drivers/infiniband/hw/ehca/ehca_main.c | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/drivers/infiniband/hw/ehca/ehca_main.c b/drivers/infiniband/hw/ehca/ehca_main.c index f8a62918a88d..cd8d290a09fc 100644 --- a/drivers/infiniband/hw/ehca/ehca_main.c +++ b/drivers/infiniband/hw/ehca/ehca_main.c @@ -211,6 +211,7 @@ static int ehca_create_slab_caches(void)  	if (!ctblk_cache) {  		ehca_gen_err("Cannot create ctblk SLAB cache.");  		ehca_cleanup_small_qp_cache(); +		ret = -ENOMEM;  		goto create_slab_caches6;  	}  #endif @@ -713,8 +714,7 @@ static struct attribute_group ehca_dev_attr_grp = {  	.attrs = ehca_dev_attrs  }; -static int ehca_probe(struct platform_device *dev, -		      const struct of_device_id *id) +static int ehca_probe(struct platform_device *dev)  {  	struct ehca_shca *shca;  	const u64 *handle; @@ -937,7 +937,7 @@ static struct of_device_id ehca_device_table[] =  };  MODULE_DEVICE_TABLE(of, ehca_device_table); -static struct of_platform_driver ehca_driver = { +static struct platform_driver ehca_driver = {  	.probe       = ehca_probe,  	.remove      = ehca_remove,  	.driver = { |