Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp256505imm; Wed, 18 Jul 2018 01:24:16 -0700 (PDT) X-Google-Smtp-Source: AAOMgpejTnMCGB++vArLROn8yAaLyHqb1qJ0SyctdkYscWOC5qsNjhziBEQ2S62bWxOZkb1CZoul X-Received: by 2002:a63:7d48:: with SMTP id m8-v6mr4954794pgn.0.1531902256119; Wed, 18 Jul 2018 01:24:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531902256; cv=none; d=google.com; s=arc-20160816; b=sKhIp7Rph7QI0ihyH8ZqLKk3NTLwR7SwLn1L0PGR/9Immh41OIx1GJpXbYtAO27AGc K+w1vHDeiQiCnNz15jhAN7IHHXKu+Bt8Br6uRgK1o2XGkKxYFIje4tyJERb/YrIbr8+c FD6GR9Cs/TgWVSXPLdcmy4bXCRfkPPF5iedzb0XigjSW59LjcjyUx+FQes8tSiGx6MAd D55ytMLIA79m50kJeDKGFF/ScFwbTKJU6YezpS3NGuRzW7/26WRgxzcUFaagKScoDwx6 ICF1GWcYSq/P0k3yeIoqoZO3vr6KvEbg6zsILeWYBEIMFeVhoWSoWoXChRho088hiWTU txkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:spamdiagnosticmetadata:spamdiagnosticoutput :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=gVu7JP0fLPns8w9AhjvM48VOtqxbMtm1bwW+nCCzpuE=; b=omCV1Rm2OQy4J+lCCRA8QvIkaAxDBNmSMMzLdGmAE98CtaY4oPPW0keluVRv7CF3yX JYxa5JaMFl9nBqO5d69k0MG96Lbz5jEs9Nq5RFMm8JRINAGFPtCpSOggPI1DYkvCao7U mPq8gr29g2w+cRxbFVGfj8GhPFOvgBHs+1EMEyB6gRbVligO+L9/3Oi8qMY2sUEyIcDq q1PK8m9GR/DTRiS+syOACADBNkv5pFsEJog44OWy1/BibzqSG1iNVciD7MZdMg01MA+E Fv7ucVOOQF4eGnjBQqK6Sw3TuVI/8z0WDrAQkkrERkUK57JoYVCVPvzM3z0ZbENPFrOz rn2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@toradex.com header.s=selector1 header.b=QqmYBorx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=toradex.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t10-v6si2821568pfk.228.2018.07.18.01.24.01; Wed, 18 Jul 2018 01:24:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@toradex.com header.s=selector1 header.b=QqmYBorx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=toradex.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730054AbeGRI6w (ORCPT + 99 others); Wed, 18 Jul 2018 04:58:52 -0400 Received: from mail-ve1eur01on0108.outbound.protection.outlook.com ([104.47.1.108]:38144 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726282AbeGRI6w (ORCPT ); Wed, 18 Jul 2018 04:58:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toradex.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gVu7JP0fLPns8w9AhjvM48VOtqxbMtm1bwW+nCCzpuE=; b=QqmYBorxqZIqTPlJ6CLEFkeZEcVXa2C12i2U7klnN1eoaHwjOacoCI/tg9/oyX4XAlLr3lYTOMmypO4glidzwh922qz1lHN7N2PLD9uLD0XkeU1pgufgEpl+9rrgG1ABdUEoYifmgAnd0QxQnULI/u33klJJVDxxAJbcZYn/sZw= Received: from VI1PR0501MB2590.eurprd05.prod.outlook.com (10.168.137.14) by VI1PR0501MB2623.eurprd05.prod.outlook.com (10.172.13.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.973.16; Wed, 18 Jul 2018 08:22:01 +0000 Received: from VI1PR0501MB2590.eurprd05.prod.outlook.com ([fe80::dc61:4a61:b84:357e]) by VI1PR0501MB2590.eurprd05.prod.outlook.com ([fe80::dc61:4a61:b84:357e%8]) with mapi id 15.20.0973.016; Wed, 18 Jul 2018 08:22:01 +0000 From: Marcel Ziswiler To: "daniel.thompson@linaro.org" , "lee.jones@linaro.org" CC: "linux-kernel@vger.kernel.org" , "jingoohan1@gmail.com" , "linux-pwm@vger.kernel.org" , "linux-fbdev@vger.kernel.org" , "b.zolnierkie@samsung.com" , "thierry.reding@gmail.com" , "dri-devel@lists.freedesktop.org" , "patches@linaro.org" Subject: Re: [PATCH] backlight: pwm_bl: Fix uninitialized variable Thread-Topic: [PATCH] backlight: pwm_bl: Fix uninitialized variable Thread-Index: AQHUHUhtmsif0KNc40KlPUM2WKHIC6SUoqmAgAADkYA= Date: Wed, 18 Jul 2018 08:22:01 +0000 Message-ID: <1531902119.16896.13.camel@toradex.com> References: <20180716210241.9457-1-daniel.thompson@linaro.org> <20180718080913.GB4641@dell> In-Reply-To: <20180718080913.GB4641@dell> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=marcel.ziswiler@toradex.com; x-originating-ip: [46.140.72.82] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;VI1PR0501MB2623;6:zdWESwb40ehhpjGDncm+C8hN4z4TTzk/1v/Z4TOCwKkSCBxXc4vWfp/lED76MG/mY8MPBsXRgmw6o2a/JIPdi+UJPtw32hi5J2RQH3wPyQNTVleQNYlhZtNiDeUHcwKEYa+cZjdN3IR1nbRV1eat7nYMemKMw59AweY5QsAwGaZrKi1tzuL8wdLfhZfCMlGWwYE8k2tteDpQ6W6j0ckc70af55n/+SWEnMvr6QI5Ko6VQTcoXLx/Z9a+cObX0OLDd4cFPZwxH88A5sKBglrKAYqBoTviz89V+qgShEiPULR+wpuW0kMX1X1zQeSTT860g27Op/lh09WtfkY8Wpg0EQgoggRFmpxpCtbf7ZyaMVoyObRlJ4cs04C1udOvxObuOeAmTh0X4mqzCkyLwWSfHPrjzbSJuy7e0F6TWsQ3tOguhTtKmilOhuwcRQbzHMbhMgmTvgT9YHPbwPFAcaBN+w==;5:4AjORB42Y4DEmK2OjS4M51BG4CZBpXo9LmuOqQ0yml4yrvJ9dpEUcRwlAYfiVSYW/XS8xK4ldGA6ZVg900xpjqZXcVQFIyByrb9jP1iaYKN+dKNR9m/sSdMQt4xwtnuiWU950NUC0Nhi9aOATnAqBTXV+UzNyr2JqGXAUEf+voo=;7:pj15pLsptWARScSciyAXvObbRUFVVwVgqOu32CVTDx0yTP8WC6JyajcMGne2CCtYf8GrkMgoUBmudA+/EjSywE2Upp8t/HzuI3XLXNfS8ieimQiyg0xLicGc4MkwVU0s5QF7rbTNOrUaUisT3+S6T+I0xkHal7Z+UZfBLCkNT2q5LaDOkkRIGPGx6q1lyHc1bGxXpG+boDnYUZfEaYb7A5YLbsI31cuagXbVR0o6yghVLfp+hflhu/Y9esa8i8jS x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 8ac95564-a4d9-4ce2-7934-08d5ec878955 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989117)(5600053)(711020)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020);SRVR:VI1PR0501MB2623; x-ms-traffictypediagnostic: VI1PR0501MB2623: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3231311)(944501410)(52105095)(3002001)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123558120)(20161123562045)(20161123564045)(6072148)(201708071742011)(7699016);SRVR:VI1PR0501MB2623;BCL:0;PCL:0;RULEID:;SRVR:VI1PR0501MB2623; x-forefront-prvs: 0737B96801 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(979002)(396003)(39840400004)(136003)(366004)(346002)(376002)(189003)(199004)(8936002)(2501003)(6436002)(76176011)(5250100002)(5660300001)(4326008)(3846002)(8676002)(81156014)(316002)(36756003)(105586002)(25786009)(106356001)(6486002)(86362001)(97736004)(81166006)(7416002)(6116002)(446003)(6512007)(6246003)(305945005)(26005)(99286004)(68736007)(7736002)(102836004)(11346002)(53936002)(2616005)(186003)(2900100001)(476003)(54906003)(103116003)(14454004)(256004)(478600001)(2906002)(110136005)(44832011)(229853002)(6506007)(486006)(66066001)(39060400002)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1102;SCL:1;SRVR:VI1PR0501MB2623;H:VI1PR0501MB2590.eurprd05.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: toradex.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: W3qQhei9GbVPC18gyAIajsJCmdm2h0Ewb6AnWCjjKY/CMyZIga/f9Nqn/WHLuHLQaDSbD5G2vBlGxvqmeN1c3gTG/9gV5dXYz4TTgWjWeMa2tnFz3MKrNiQAaODr8fn9Z7zF20vj7bSkL9tx2WOXvy4T2qgLGzowZgStoAANXdDx+ylOPOkMCJup6BXAhqGSiW22rn8wW5zLoKd1t4Dh3LZn4rReJom5WGWzJty4cJj5MjjbqiyIc54ln+JIcPmc+vP8uvHFzfFnJ8hWDEW9YP0Yl3uAzIYbr1OFR/aRpLrj6Zv5c73klqp/gu6cMjWnavBG7UvD4gRy2kQzj9tp9ngCm0W+7/pn00KOz2KkuHo= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <04A66DB3B544DD4A9C4AE4761D15A658@eurprd05.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8ac95564-a4d9-4ce2-7934-08d5ec878955 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jul 2018 08:22:01.0442 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: d9995866-0d9b-4251-8315-093f062abab4 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0501MB2623 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gV2VkLCAyMDE4LTA3LTE4IGF0IDA5OjA5ICswMTAwLCBMZWUgSm9uZXMgd3JvdGU6DQo+IE9u IE1vbiwgMTYgSnVsIDIwMTgsIERhbmllbCBUaG9tcHNvbiB3cm90ZToNCj4gDQo+ID4gQ3VycmVu dGx5LCBpZiB0aGUgRFQgZG9lcyBub3QgZGVmaW5lIG51bS1pbnRlcnBvbGF0ZWQtc3RlcHMgdGhl bg0KPiA+IG51bV9zdGVwcyBpcyB1bmRlZmluZWQgYW5kIHRoZSBpbnRlcnBvbGF0aW9uIGNvZGUg d2lsbCBkZXBsb3kNCj4gPiByYW5kb21seS4NCj4gPiBGaXggdGhpcy4NCj4gPiANCj4gPiBGaXhl czogNTczZmU2ZDFjMjVjIC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