On Thu, Dec 01, 2016 at 12:58:45AM +0530, Atul Raj wrote: > ENOENT is error code for <No such file or directory> > ENOMEM should be used for <out of memory error> > > Signed-off-by: Atul Raj <atulraj.nith@xxxxxxxxx> > --- > drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c > b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c > index 60d8b05..971956f 100644 > --- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c > +++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c > @@ -1642,7 +1642,7 @@ static int mgmt_tx(struct wiphy *wiphy, > if (ieee80211_is_mgmt(mgmt->frame_control)) { > mgmt_tx = kmalloc(sizeof(struct p2p_mgmt_data), GFP_KERNEL); > if (!mgmt_tx) > - return -EFAULT; > + return -ENOMEM; Changelog doesn't match the patch. regards, dan carpenter _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel