[{"id":1769242,"web_url":"http://patchwork.ozlabs.org/comment/1769242/","msgid":"<c33d0458-803f-c56c-aa32-5fb66e2e2c0d@ti.com>","list_archive_url":null,"date":"2017-09-15T15:10:19","subject":"Re: [U-Boot] [PATCH] spl: Fix compiling warning on gunzip argument","submitter":{"id":70508,"url":"http://patchwork.ozlabs.org/api/people/70508/","name":"Jean-Jacques Hiblot","email":"jjhiblot@ti.com"},"content":"Hi York,\n\n\nOn 14/09/2017 21:41, York Sun wrote:\n> common/spl/spl_fit.c:201:12: warning: passing argument 4 of ‘gunzip’\n> from incompatible pointer type [-Wincompatible-pointer-types]\n>         src, &length))\n>\n> Signed-off-by: York Sun <york.sun@nxp.com>\n> Reported-by: Heinrich Schuchardt <xypron.glpk@gmx.de>\n> ---\n>\n>   common/spl/spl_fit.c | 4 +++-\n>   1 file changed, 3 insertions(+), 1 deletion(-)\n>\n> diff --git a/common/spl/spl_fit.c b/common/spl/spl_fit.c\n> index 49ccf1c..82943cd 100644\n> --- a/common/spl/spl_fit.c\n> +++ b/common/spl/spl_fit.c\n> @@ -135,6 +135,7 @@ static int spl_load_fit_image(struct spl_load_info *info, ulong sector,\n>   \tint offset;\n>   \tsize_t length;\n>   \tint len;\n> +\tulong size;\n>   \tulong load_addr, load_ptr;\n>   \tvoid *src;\n>   \tulong overhead;\n> @@ -197,8 +198,9 @@ static int spl_load_fit_image(struct spl_load_info *info, ulong sector,\n>   \t    IS_ENABLED(CONFIG_SPL_GZIP)\t\t&&\n>   \t    image_comp == IH_COMP_GZIP\t\t&&\n>   \t    type == IH_TYPE_KERNEL) {\n> +\t\tsize = length;\n>   \t\tif (gunzip((void *)load_addr, CONFIG_SYS_BOOTM_LEN,\n> -\t\t\t   src, &length)) {\n> +\t\t\t   src, &size)) {\n>   \t\t\tputs(\"Uncompressing error\\n\");\n>   \t\t\treturn -EIO;\n>   \t\t}\nHere I think you should add a length = size;\nbecause \"length\" is used a few lines after (ln 211) : image_info->size = \nlength;\nJJ","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ti.com header.i=@ti.com header.b=\"bW/+Vg3b\";\n\tdkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xtzNn2Q9hz9sBZ\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 16 Sep 2017 01:10:33 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 1505DC22019; Fri, 15 Sep 2017 15:10:29 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id CCC81C21C4A;\n\tFri, 15 Sep 2017 15:10:26 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid F0ED6C21C4A; Fri, 15 Sep 2017 15:10:25 +0000 (UTC)","from lelnx193.ext.ti.com (lelnx193.ext.ti.com [198.47.27.77])\n\tby lists.denx.de (Postfix) with ESMTPS id AECB1C21C29\n\tfor <u-boot@lists.denx.de>; Fri, 15 Sep 2017 15:10:24 +0000 (UTC)","from dflxv15.itg.ti.com ([128.247.5.124])\n\tby lelnx193.ext.ti.com (8.15.1/8.15.1) with ESMTP id v8FFAJ4S014036; \n\tFri, 15 Sep 2017 10:10:19 -0500","from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24])\n\tby dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id v8FFAJCI007805;\n\tFri, 15 Sep 2017 10:10:19 -0500","from DFLE104.ent.ti.com (10.64.6.25) by DFLE103.ent.ti.com\n\t(10.64.6.24) with Microsoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34;\n\tFri, 15 Sep 2017 10:10:19 -0500","from dflp32.itg.ti.com (10.64.6.15) by DFLE104.ent.ti.com\n\t(10.64.6.25) with Microsoft SMTP Server (version=TLS1_0,\n\tcipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend\n\tTransport; Fri, 15 Sep 2017 10:10:19 -0500","from [172.22.133.147] (ileax41-snat.itg.ti.com [10.172.224.153])\n\tby dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id v8FFAHJi029561;\n\tFri, 15 Sep 2017 10:10:18 -0500"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,\n\tT_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com;\n\ts=ti-com-17Q1; t=1505488219;\n\tbh=Mys0NgFmS1ASZbAneiPpjOpHAHL6/rhNaiQhT9nnp+I=;\n\th=Subject:To:CC:References:From:Date:In-Reply-To;\n\tb=bW/+Vg3b+gFqRL/aV37ukWuFz17/QWneTYTwkyt9CP6h9E6AimE+zih+6gNvGjAXi\n\tDKLlFOe92A3i5w3mAGPEJVExm97C7CRCPzKcBYNjdYULHWQbFb2xWNZOpxE5hJDiVG\n\tdyQOGtTxAf5hIKTsdgy0WegMXHz5DmOD6bCm/w9M=","To":"York Sun <york.sun@nxp.com>, <u-boot@lists.denx.de>","References":"<1505418098-4013-1-git-send-email-york.sun@nxp.com>","From":"Jean-Jacques Hiblot <jjhiblot@ti.com>","Message-ID":"<c33d0458-803f-c56c-aa32-5fb66e2e2c0d@ti.com>","Date":"Fri, 15 Sep 2017 17:10:19 +0200","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101\n\tThunderbird/52.3.0","MIME-Version":"1.0","In-Reply-To":"<1505418098-4013-1-git-send-email-york.sun@nxp.com>","Content-Language":"en-US","X-EXCLAIMER-MD-CONFIG":"e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180","Cc":"Andre Przywara <andre.przywara@arm.com>,\n\t\"Cooper Jr. Franklin\" <fcooper@ti.com>","Subject":"Re: [U-Boot] [PATCH] spl: Fix compiling warning on gunzip argument","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","Content-Transfer-Encoding":"base64","Content-Type":"text/plain; charset=\"utf-8\"; Format=\"flowed\"","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"}},{"id":1769244,"web_url":"http://patchwork.ozlabs.org/comment/1769244/","msgid":"<VI1PR04MB207836859F2FF5936636570C9A6C0@VI1PR04MB2078.eurprd04.prod.outlook.com>","list_archive_url":null,"date":"2017-09-15T15:11:13","subject":"Re: [U-Boot] [PATCH] spl: Fix compiling warning on gunzip argument","submitter":{"id":67822,"url":"http://patchwork.ozlabs.org/api/people/67822/","name":"York Sun","email":"york.sun@nxp.com"},"content":"On 09/15/2017 08:10 AM, Jean-Jacques Hiblot wrote:\n> Hi York,\n> \n> \n> On 14/09/2017 21:41, York Sun wrote:\n>> common/spl/spl_fit.c:201:12: warning: passing argument 4 of ‘gunzip’\n>> from incompatible pointer type [-Wincompatible-pointer-types]\n>>          src, &length))\n>>\n>> Signed-off-by: York Sun <york.sun@nxp.com>\n>> Reported-by: Heinrich Schuchardt <xypron.glpk@gmx.de>\n>> ---\n>>\n>>    common/spl/spl_fit.c | 4 +++-\n>>    1 file changed, 3 insertions(+), 1 deletion(-)\n>>\n>> diff --git a/common/spl/spl_fit.c b/common/spl/spl_fit.c\n>> index 49ccf1c..82943cd 100644\n>> --- a/common/spl/spl_fit.c\n>> +++ b/common/spl/spl_fit.c\n>> @@ -135,6 +135,7 @@ static int spl_load_fit_image(struct spl_load_info *info, ulong sector,\n>>    \tint offset;\n>>    \tsize_t length;\n>>    \tint len;\n>> +\tulong size;\n>>    \tulong load_addr, load_ptr;\n>>    \tvoid *src;\n>>    \tulong overhead;\n>> @@ -197,8 +198,9 @@ static int spl_load_fit_image(struct spl_load_info *info, ulong sector,\n>>    \t    IS_ENABLED(CONFIG_SPL_GZIP)\t\t&&\n>>    \t    image_comp == IH_COMP_GZIP\t\t&&\n>>    \t    type == IH_TYPE_KERNEL) {\n>> +\t\tsize = length;\n>>    \t\tif (gunzip((void *)load_addr, CONFIG_SYS_BOOTM_LEN,\n>> -\t\t\t   src, &length)) {\n>> +\t\t\t   src, &size)) {\n>>    \t\t\tputs(\"Uncompressing error\\n\");\n>>    \t\t\treturn -EIO;\n>>    \t\t}\n> Here I think you should add a length = size;\n> because \"length\" is used a few lines after (ln 211) : image_info->size =\n> length;\n\nYou are correct. I will send an update. Thanks.\n\nYork","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=nxp.com header.i=@nxp.com header.b=\"XUNG/HMs\";\n\tdkim-atps=neutral","spf=none (sender IP is )\n\tsmtp.mailfrom=york.sun@nxp.com; "],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xtzPp6kvcz9sPr\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 16 Sep 2017 01:11:26 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid A6777C21EDC; Fri, 15 Sep 2017 15:11:18 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 0422DC21DA1;\n\tFri, 15 Sep 2017 15:11:17 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 9F997C21DA1; Fri, 15 Sep 2017 15:11:15 +0000 (UTC)","from EUR01-DB5-obe.outbound.protection.outlook.com\n\t(mail-db5eur01on0063.outbound.protection.outlook.com [104.47.2.63])\n\tby lists.denx.de (Postfix) with ESMTPS id 2A5F2C21C4A\n\tfor <u-boot@lists.denx.de>; Fri, 15 Sep 2017 15:11:15 +0000 (UTC)","from VI1PR04MB2078.eurprd04.prod.outlook.com (10.166.43.18) by\n\tVI1PR04MB1535.eurprd04.prod.outlook.com (10.164.84.21) with Microsoft\n\tSMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id\n\t15.20.56.8; Fri, 15 Sep 2017 15:11:13 +0000","from VI1PR04MB2078.eurprd04.prod.outlook.com\n\t([fe80::6943:4a49:ab20:5920]) by\n\tVI1PR04MB2078.eurprd04.prod.outlook.com\n\t([fe80::6943:4a49:ab20:5920%13]) with mapi id 15.20.0056.010;\n\tFri, 15 Sep 2017 15:11:13 +0000"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-1.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,\n\tRCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,T_DKIM_INVALID\n\tautolearn=unavailable autolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1;\n\th=From:Date:Subject:Message-ID:Content-Type:MIME-Version;\n\tbh=BgmFy/t0VO8CFCG3wYwa3vkwf9o+t4hIGeAD5I9HSCg=;\n\tb=XUNG/HMsqDrPppv+yJo7GSom9HCg2504ehuZfFk0NeZYnPfTbk6TPNhOV0tVOidt5EqSE6It5neKIaaa9vKc14rHRAgj0WKG/YEnkPeYIuSC0zWcQV2Tx1J8ztaVGKhkOK/5v1l5TGqC1Hoqsbf112C8w2UnDhPBHWS0fMDcm30=","From":"York Sun <york.sun@nxp.com>","To":"Jean-Jacques Hiblot <jjhiblot@ti.com>, \"u-boot@lists.denx.de\"\n\t<u-boot@lists.denx.de>","Thread-Topic":"[U-Boot] [PATCH] spl: Fix compiling warning on gunzip argument","Thread-Index":"AQHTLZGCeDqcQKoai0am6/jFQ2+atg==","Date":"Fri, 15 Sep 2017 15:11:13 +0000","Message-ID":"<VI1PR04MB207836859F2FF5936636570C9A6C0@VI1PR04MB2078.eurprd04.prod.outlook.com>","References":"<1505418098-4013-1-git-send-email-york.sun@nxp.com>\n\t<c33d0458-803f-c56c-aa32-5fb66e2e2c0d@ti.com>","Accept-Language":"en-US","Content-Language":"en-US","X-MS-Has-Attach":"","X-MS-TNEF-Correlator":"","authentication-results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=nxp.com header.i=@nxp.com header.b=\"XUNG/HMs\";\n\tdkim-atps=neutral","spf=none (sender IP is )\n\tsmtp.mailfrom=york.sun@nxp.com; "],"x-originating-ip":"[24.56.243.53]","x-ms-publictraffictype":"Email","x-microsoft-exchange-diagnostics":"1; VI1PR04MB1535;\n\t6:Y5XHN6AmG5gHBP315ZWrB5N7uEls27lSKE7AXCXa6/GN32whd85okZZxD9rmuy1940u8LCcUJMAhUV3QZ3DrkUe5kUMO+sfbt8RXl05Vk1tkzFSuBy4GZR0LnwDwe5QVpsS50nsSsgirolq8/uE723+4ghbNpg4wy0GRsNwtx3Rc4JUeqV9g9OKQ+2bsXEt+u9hvURpKRuWXsChbCTL0O2VGnV/liLIMlwg30Gx5nw6/Vz/Gh8dqeBXiQ/Q0qW/BxdgsMpFJraJ5XE/dszTTyz7k1lCHRtNUhqnKv2Q1B3pcaWqQaCKAD1qbkGZUIL6D0PZEuFoXehotG4WmN2k+iA==;\n\t5:fa8TBnAz12Fx3U5a11Z0HHXxOdNvjxcsvwkqxYi7SAlajWrZ49CDnlp58wND1QWG8rC04m0CNM7odbvIRsOAeYrXOhcoXKpjSXbBD8+V8vQbr5OCQklQuzif9iGHsmhB/mSgjF2lWo1DSohCK0NUGw==;\n\t24:9uFGFSc4ptGREAxZlaGu6whym0QUTBA+9ih73H+9XjPnvkA0QcjzUfSIC1AE0tLRezBl8sGZqrV9Xmz0orVITXBeF63exxP+AAc730RTins=;\n\t7:joL4rjrZ06YJZeR3FAYIORhvkNtPUUAA4iQ9elBnIelXJ0O28LwAhY+PWt/orA09d3YjmiLui5DbTCe23w5RKWO4LUvwlscO6IBzKsbGK3Xze6Ydlk989mT72kjo+hG5TMfGaj5hW00sr6skyK0jmAR97m7xrw3V42YBcpaFaoTq16lADx0kc8OqxyLKrYaU+sqI3SmvYaIHtKa6QAQ01GOJbNAID6JxriHyZQLL88o=","x-ms-exchange-antispam-srfa-diagnostics":"SSOS;","x-ms-office365-filtering-correlation-id":"b2a70892-18f7-4aa6-858c-08d4fc4c0158","x-ms-office365-filtering-ht":"Tenant","x-microsoft-antispam":"UriScan:; BCL:0; PCL:0;\n\tRULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(48565401081)(300000503095)(300135400095)(2017052603199)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);\n\tSRVR:VI1PR04MB1535; ","x-ms-traffictypediagnostic":"VI1PR04MB1535:","x-exchange-antispam-report-test":"UriScan:(26323138287068)(185117386973197);","x-microsoft-antispam-prvs":"<VI1PR04MB15359042104D8BE4BC62EE189A6C0@VI1PR04MB1535.eurprd04.prod.outlook.com>","x-exchange-antispam-report-cfa-test":"BCL:0; PCL:0;\n\tRULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(3002001)(6055026)(6041248)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123564025)(20161123555025)(20161123562025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);\n\tSRVR:VI1PR04MB1535; BCL:0; PCL:0;\n\tRULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);\n\tSRVR:VI1PR04MB1535; ","x-forefront-prvs":"0431F981D8","x-forefront-antispam-report":"SFV:NSPM;\n\tSFS:(10009020)(6009001)(346002)(376002)(39860400002)(24454002)(199003)(189002)(377454003)(316002)(33656002)(189998001)(105586002)(3846002)(102836003)(3660700001)(54356999)(14454004)(3280700002)(3450700001)(76176999)(101416001)(6116002)(50986999)(43066003)(305945005)(7736002)(74316002)(106356001)(53936002)(8936002)(2900100001)(25786009)(6246003)(8676002)(478600001)(6436002)(81166006)(81156014)(68736007)(6506006)(97736004)(7696004)(9686003)(229853002)(53546010)(55016002)(5660300001)(54906002)(99286003)(5250100002)(4326008)(86362001)(66066001)(2501003)(2906002);\n\tDIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB1535;\n\tH:VI1PR04MB2078.eurprd04.prod.outlook.com; FPR:; SPF:None;\n\tPTR:InfoNoRecords; A:1; MX:1; LANG:en; ","received-spf":"None (protection.outlook.com: nxp.com does not designate\n\tpermitted sender hosts)","spamdiagnosticoutput":"1:99","spamdiagnosticmetadata":"NSPM","MIME-Version":"1.0","X-OriginatorOrg":"nxp.com","X-MS-Exchange-CrossTenant-originalarrivaltime":"15 Sep 2017 15:11:13.5281\n\t(UTC)","X-MS-Exchange-CrossTenant-fromentityheader":"Hosted","X-MS-Exchange-CrossTenant-id":"686ea1d3-bc2b-4c6f-a92c-d99c5c301635","X-MS-Exchange-Transport-CrossTenantHeadersStamped":"VI1PR04MB1535","Cc":"Andre Przywara <andre.przywara@arm.com>,\n\t\"Cooper Jr. Franklin\" <fcooper@ti.com>","Subject":"Re: [U-Boot] [PATCH] spl: Fix compiling warning on gunzip argument","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","Reply-To":"York Sun <york.sun@nxp.com>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"}},{"id":1769550,"web_url":"http://patchwork.ozlabs.org/comment/1769550/","msgid":"<20170916023249.GZ4560@bill-the-cat>","list_archive_url":null,"date":"2017-09-16T02:32:49","subject":"Re: [U-Boot] spl: Fix compiling warning on gunzip argument","submitter":{"id":65875,"url":"http://patchwork.ozlabs.org/api/people/65875/","name":"Tom Rini","email":"trini@konsulko.com"},"content":"On Thu, Sep 14, 2017 at 12:41:38PM -0700, York Sun wrote:\n\n> common/spl/spl_fit.c:201:12: warning: passing argument 4 of ‘gunzip’\n> from incompatible pointer type [-Wincompatible-pointer-types]\n>        src, &length))\n> \n> Signed-off-by: York Sun <york.sun@nxp.com>\n> Reported-by: Heinrich Schuchardt <xypron.glpk@gmx.de>\n\nApplied to u-boot/master, thanks!","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=konsulko.com header.i=@konsulko.com\n\theader.b=\"Bf0z4GKN\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xvGhq6gDgz9s3T\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 16 Sep 2017 12:40:27 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid A41D2C21FB1; Sat, 16 Sep 2017 02:35:31 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 362DDC21F09;\n\tSat, 16 Sep 2017 02:34:37 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 6CE0FC21FA9; Sat, 16 Sep 2017 02:32:56 +0000 (UTC)","from mail-yw0-f171.google.com (mail-yw0-f171.google.com\n\t[209.85.161.171])\n\tby lists.denx.de (Postfix) with ESMTPS id 9B9B2C21F22\n\tfor <u-boot@lists.denx.de>; Sat, 16 Sep 2017 02:32:52 +0000 (UTC)","by mail-yw0-f171.google.com with SMTP id u11so1828401ywh.7\n\tfor <u-boot@lists.denx.de>; Fri, 15 Sep 2017 19:32:52 -0700 (PDT)","from bill-the-cat (cpe-65-184-142-68.ec.res.rr.com.\n\t[65.184.142.68]) by smtp.gmail.com with ESMTPSA id\n\tf4sm890237ywh.49.2017.09.15.19.32.50\n\t(version=TLS1_2 cipher=AES128-SHA bits=128/128);\n\tFri, 15 Sep 2017 19:32:50 -0700 (PDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,\n\tRCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID autolearn=unavailable\n\tautolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com;\n\ts=google; \n\th=date:from:to:cc:subject:message-id:references:mime-version\n\t:content-disposition:in-reply-to:user-agent;\n\tbh=AXHtHdgdIHF2G1fwA/870K+olCMFI0xhyrYd3oYgZ0I=;\n\tb=Bf0z4GKNpdwuID4g36xjRW0ZUEAdYa4k8MSWMzPHOlJMYZ8fH6cuhQwc6z8GTXESUf\n\tlD103Xq6Fhen/QU7ThoyciM2yaSixUMzWF5/uqt9zOY3N8gELA0Jxg2aqR/BErOWVUr8\n\tpl+woiXv6EonkfCciYIi4+QC27TMpVxQSjI9E=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:date:from:to:cc:subject:message-id:references\n\t:mime-version:content-disposition:in-reply-to:user-agent;\n\tbh=AXHtHdgdIHF2G1fwA/870K+olCMFI0xhyrYd3oYgZ0I=;\n\tb=JkFqTWhz/zaQIeATQkV7Qa3YOJoBP1YZSKPtxb4cfGCDSMXYUdDI/l8WcJFMsJomVc\n\t55Lgi57mAjwqFR4BSPKBKsKl0UAWVzMNhRmHbaRKDrVdtp+7XV9SBb12HC28RlfdzRZf\n\tkf8oStcuEbOv0OMdlQgYr0UEnur7LOo2Oh7KYALgbN5goYldVfMc9er5VRVN9Bmofx23\n\tWgKmXbwOmqzHLpED5IWjxLnZVhqtsyRO6OCPH+7aqZ3MA58dUArXN6hsxVr2Js3b3s5N\n\tl5qJYiOcWgtT49uVkH5aMMxJeRao3pHheiBjRXks5MooWqWI28F1qxhj9TARUlPO22eS\n\tnZmg==","X-Gm-Message-State":"AHPjjUgU2vLNrAUkXJc1ZCPxP4+DbxzfvC8dNxMEavDhiusSEeUbJusu\n\tkCk1jNalUFfJKJvX","X-Google-Smtp-Source":"ADKCNb62u07u2VNnbMXIb2K/tkx3HLmamXZ+qJ5l84CgWCk7mxLYf2pK3gFw2HMViDHdPwPyGBG6Fw==","X-Received":"by 10.13.205.195 with SMTP id\n\tp186mr19271670ywd.334.1505529171541; \n\tFri, 15 Sep 2017 19:32:51 -0700 (PDT)","Date":"Fri, 15 Sep 2017 22:32:49 -0400","From":"Tom Rini <trini@konsulko.com>","To":"York Sun <york.sun@nxp.com>","Message-ID":"<20170916023249.GZ4560@bill-the-cat>","References":"<1505418098-4013-1-git-send-email-york.sun@nxp.com>","MIME-Version":"1.0","In-Reply-To":"<1505418098-4013-1-git-send-email-york.sun@nxp.com>","User-Agent":"Mutt/1.5.21 (2010-09-15)","Cc":"u-boot@lists.denx.de, Lokesh Vutla <lokeshvuta@ti.com>,\n\t\"Cooper Jr. Franklin\" <fcooper@ti.com>,\n\tAndre Przywara <andre.przywara@arm.com>","Subject":"Re: [U-Boot] spl: Fix compiling warning on gunzip argument","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","Content-Type":"multipart/mixed;\n\tboundary=\"===============2556734268767158106==\"","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"}},{"id":1769553,"web_url":"http://patchwork.ozlabs.org/comment/1769553/","msgid":"<20170916023452.GC4560@bill-the-cat>","list_archive_url":null,"date":"2017-09-16T02:34:52","subject":"Re: [U-Boot] spl: Fix compiling warning on gunzip argument","submitter":{"id":65875,"url":"http://patchwork.ozlabs.org/api/people/65875/","name":"Tom Rini","email":"trini@konsulko.com"},"content":"On Fri, Sep 15, 2017 at 10:32:49PM -0400, Tom Rini wrote:\n> On Thu, Sep 14, 2017 at 12:41:38PM -0700, York Sun wrote:\n> \n> > common/spl/spl_fit.c:201:12: warning: passing argument 4 of ‘gunzip’\n> > from incompatible pointer type [-Wincompatible-pointer-types]\n> >        src, &length))\n> > \n> > Signed-off-by: York Sun <york.sun@nxp.com>\n> > Reported-by: Heinrich Schuchardt <xypron.glpk@gmx.de>\n> \n> Applied to u-boot/master, thanks!\n\nNo, no I didn't.  I had this email queued, and forgot to delete it.","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=konsulko.com header.i=@konsulko.com\n\theader.b=\"e81qlq0x\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xvGk30GrMz9sPk\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 16 Sep 2017 12:41:30 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid A66AFC22036; Sat, 16 Sep 2017 02:36:22 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id DA3CCC21F89;\n\tSat, 16 Sep 2017 02:36:19 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid A19CBC21F8F; Sat, 16 Sep 2017 02:35:00 +0000 (UTC)","from mail-yw0-f174.google.com (mail-yw0-f174.google.com\n\t[209.85.161.174])\n\tby lists.denx.de (Postfix) with ESMTPS id ADA4CC21F63\n\tfor <u-boot@lists.denx.de>; Sat, 16 Sep 2017 02:34:55 +0000 (UTC)","by mail-yw0-f174.google.com with SMTP id r85so2435254ywg.1\n\tfor <u-boot@lists.denx.de>; Fri, 15 Sep 2017 19:34:55 -0700 (PDT)","from bill-the-cat (cpe-65-184-142-68.ec.res.rr.com.\n\t[65.184.142.68]) by smtp.gmail.com with ESMTPSA id\n\tg3sm887203ywh.94.2017.09.15.19.34.53\n\t(version=TLS1_2 cipher=AES128-SHA bits=128/128);\n\tFri, 15 Sep 2017 19:34:53 -0700 (PDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,\n\tRCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID autolearn=unavailable\n\tautolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com;\n\ts=google; \n\th=date:from:to:cc:subject:message-id:references:mime-version\n\t:content-disposition:in-reply-to:user-agent;\n\tbh=IaJHZipS/emsOtbZFMRzDdntrrmV4bnwJfRXdx4/3qg=;\n\tb=e81qlq0xDTwFUtaOuxQbZcfuuBAmFT7YknoN6VC9/r/TJD4rtsP+cw/se2IK3D2my1\n\tKbt4/Zahw7wwiEZMqX2qP//PYur3y/qX2+Rc0TFmp8ymxTWum+2SUX9B3rOhfHWygqmQ\n\t/76O7a5eUr4+KSy91H4mowbqJCQ+ps+Vhp2CA=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:date:from:to:cc:subject:message-id:references\n\t:mime-version:content-disposition:in-reply-to:user-agent;\n\tbh=IaJHZipS/emsOtbZFMRzDdntrrmV4bnwJfRXdx4/3qg=;\n\tb=igtxtTAXMsJeA/2NV5xda/Ml88ZUnvVf8AepSFAMu31BqRNOgmiBbqnk22E8FqOMkp\n\tF5h99Hc7wfOFT6hOofV4+x6LgLaAxD8nf6auFV4JCl5dicByPkQoZsy8Rpy815YSJzXY\n\tHi16TFn4rLsvsszfWRGPQiEJavsSYRUf2Jhf/ESnrp4GcqiPQMLCoePkEwHrzPkdbtoL\n\t/v1XGacVA2tOfwfTDI7/wIUe0fIRRk6XAlVyoiEaDSUQV1HzsZeNs+xDuQ/a54ibHE9x\n\tgF0LJQoxwSzo/CPtVtc5SRSYvyW0X8V2Fv+sWOuWWqY1ZhatUz/KDUJtYwOCpadZoD+P\n\tfpQw==","X-Gm-Message-State":"AHPjjUiwUX8P7H8DboPdvj9D+0oIKB7BG/cPJYTzzYeee/dTJtYoEbsQ\n\tkP1S+6b5DCMLF9xX","X-Google-Smtp-Source":"ADKCNb5pMhjvELQzYdeWSL4QDn+S/2pp44G1VwFW+830PvIRyBAlPF8ncbG/bEOA6AqI8KWOcXvt8Q==","X-Received":"by 10.13.214.9 with SMTP id y9mr24138581ywd.212.1505529294593;\n\tFri, 15 Sep 2017 19:34:54 -0700 (PDT)","Date":"Fri, 15 Sep 2017 22:34:52 -0400","From":"Tom Rini <trini@konsulko.com>","To":"York Sun <york.sun@nxp.com>","Message-ID":"<20170916023452.GC4560@bill-the-cat>","References":"<1505418098-4013-1-git-send-email-york.sun@nxp.com>\n\t<20170916023249.GZ4560@bill-the-cat>","MIME-Version":"1.0","In-Reply-To":"<20170916023249.GZ4560@bill-the-cat>","User-Agent":"Mutt/1.5.21 (2010-09-15)","Cc":"u-boot@lists.denx.de, Lokesh Vutla <lokeshvuta@ti.com>,\n\t\"Cooper Jr. Franklin\" <fcooper@ti.com>,\n\tAndre Przywara <andre.przywara@arm.com>","Subject":"Re: [U-Boot] spl: Fix compiling warning on gunzip argument","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","Content-Type":"multipart/mixed;\n\tboundary=\"===============3210121945018940780==\"","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"}}]