[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20151108070851.GA1483@alpha.sfu-kras.ru>
Date: Sun, 8 Nov 2015 14:08:51 +0700
From: Ivan Safonov <insafonov@...il.com>
To: devel@...verdev.osuosl.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Vaishali Thakkar <vthakkar1994@...il.com>,
Jakub Sitnicki <jsitnicki@...il.com>,
Anish Bhatt <anish@...ech.edu>, Joe Perches <joe@...ches.com>,
Ivan Safonov <insafonov@...il.com>,
Nicholas Mc Guire <der.herr@...r.at>,
Alexey Khoroshilov <khoroshilov@...ras.ru>,
Rémy Oudompheng <remyoudompheng@...il.com>,
Sudip Mukherjee <sudipm.mukherjee@...il.com>,
Shraddha Barke <shraddha.6596@...il.com>,
linux-kernel@...r.kernel.org
Subject: [PATCH v2 03/12] staging: rtl8188eu: change error code from -1 to
-EFBIG
-EFBIG more sutiable then -1
Signed-off-by: Ivan Safonov <insafonov@...il.com>
---
drivers/staging/rtl8188eu/hal/fw.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8188eu/hal/fw.c b/drivers/staging/rtl8188eu/hal/fw.c
index 5b569ef..3e354eb 100644
--- a/drivers/staging/rtl8188eu/hal/fw.c
+++ b/drivers/staging/rtl8188eu/hal/fw.c
@@ -187,7 +187,7 @@ int rtl88eu_download_fw(struct adapter *adapt)
if (fw->size > FW_8188E_SIZE) {
dev_err(device, "Firmware size exceed 0x%X. Check it.\n",
FW_8188E_SIZE);
- return -1;
+ return -EFBIG;
}
pfwdata = kzalloc(FW_8188E_SIZE, GFP_KERNEL);
--
2.4.10
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists