Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1803658rdb; Tue, 20 Feb 2024 07:30:34 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUandOUAqdV38Tl1DQgHkOsDXrDbwftLuOHZlwnxZ4mPCMA3Ktec3bneBYeN38laRC3QIR7hng86FBfu4MPOVr1hjQ0VVn9LO8HPQQUQg== X-Google-Smtp-Source: AGHT+IHndUE/mAtopVI0IyQJ/WwxLgTb4qff5deWdHCpDEVWDdJRnZfAnUgbd9ZKBF5GLoMhtDOw X-Received: by 2002:a17:90b:112:b0:299:36d5:ce42 with SMTP id p18-20020a17090b011200b0029936d5ce42mr7987442pjz.30.1708443033780; Tue, 20 Feb 2024 07:30:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708443033; cv=pass; d=google.com; s=arc-20160816; b=tDMTQ/Ee9x1HuO9HlKSR4YtXK5FuaakQLFTU5zq4Kh43nRgyleve3Qtzkm8vK74jN4 +OkDlJs2L/M6P3N/tgnXcLuc7mLNMbEcRUl/3Kw/ZCcQpqhjWiTKn23jOGkfCZVYQWl2 YfjsSBpD00jth0Y2wpFVkQFW/OC8eQPVGNXru/m4TV0oUoTam2VqXnA1Q0TJ892DeEFS ooNvaMxrvAVcILZ9J3fEjCLM/eiRy9iUplSLPSp8jZyiZKNHCwHcMNb01Br1NkaqWa9I QGCq1OLiy3QGskNGhc5R7lIJI1DkrD8aQhtJSDGmGpUQw5cpJSXCbuKBO4Uf2HfE/kIP dYKQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=IY5Fl8EiIpjATBqz7xetWyCUjSktN1KtrnTN2tZhCTw=; fh=l/S7E/1nFL7H5ijDCZidaRTMSBhS6QhJUpD11kZ4adY=; b=ZglSq0b51HLpt+RvZNATFFTHOgq18fkyqARcGfDdzHfCpHEoKlFezfIX2Mywy3RVVG Auy39N6VwKgf4oJuz5knKU00sq1ghoBM0rLqaUyxb0kpUBtNa+xFg6bx2yd+fBlendqm Zxf0GezPSWYWqXznJP+z9779Kzu4omZraXLz6x88OpmV5ASxXk8LQ+3TmgsuWcKE8xn5 JF60US/Ngd4GDHGec2rb/ExX4bS+6oViq9CEMlLtwBLLby0LW2MG4OqFyyZ6PGD1JbQ0 5q4rvtvADiJEIMunp1wv6KilFTE4dwV5Q2Wyh3xYOWM7ZbKzRTrvj7h9doXY50T6vPNe pekw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MKITkwRs; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-73241-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73241-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id a9-20020a17090a688900b00299372324a8si6374854pjd.17.2024.02.20.07.30.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 07:30:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-73241-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MKITkwRs; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-73241-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73241-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 42F6BB20ED0 for ; Tue, 20 Feb 2024 15:30:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EC85976046; Tue, 20 Feb 2024 15:30:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="MKITkwRs" Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 542C274E0F for ; Tue, 20 Feb 2024 15:30:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708443019; cv=none; b=AKPgGbv2xvxS1SRfh9OmcIrSNVJzrO852HsqDjF6FOleWfOZdv8RNKIak9sXV8442xfFLGP7bgtRmstBL+54pT69uUasc73+bfzfryeGF8UpSbPZrkbCgJ9J5K94Z32o0UK7MumlauM3uNPEqWtw4431a+Ipf3zQYU6IymDsTss= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708443019; c=relaxed/simple; bh=6zpSeqO7y+SNzwDQbzzOqhJOB01yNdtQEGbzwhAOBHo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CZesgrTpqXAVCxS27TPdEDkv1bpEKaO3pS+9rBLDhbKUkGHnST4oe3+F/9AT8KqdkVZEJcn1oLtIybj4CCK4S77SrMz1Jy+UDWeTOIZNvK0JAFsoUN2g5oZduT9COXxSoiSGBzdFS3GJaS+LUrg/xdOtoxAVfbvPv4Qce7dNpDo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=MKITkwRs; arc=none smtp.client-ip=209.85.128.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-4125cf71eecso22699375e9.1 for ; Tue, 20 Feb 2024 07:30:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708443016; x=1709047816; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=IY5Fl8EiIpjATBqz7xetWyCUjSktN1KtrnTN2tZhCTw=; b=MKITkwRsd5Eu8HuUHaa1uW+ZxcAuLnXgC7jcs6LfbiKVCqaH0bXQWXcrKW2eAQWPTG LGXfx7+aB14MLre93IPbH6xn6SFj9wr3KVGYmhTO9PyVcndB8FhfAUAGXzJ62qXQEHcb CYXnEjXWxi+cIRw0ArGDgmPClFnK3ojqkJbVOsMNS7KKL9sO7LqyNt2zONAMNe8e4CP+ fs+eaHc1ULW8L23OFclrmo2HGPAe6VdbBfpAZFV994VhwzQE+YBq9+o57O5OBiauRCpx rLN7VBiHtbWrQbBI0kRoqS4q776dydABnfVCDUlVsTlDr2mX9KbF50ZiaQknMMR7D0g6 6mmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708443016; x=1709047816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=IY5Fl8EiIpjATBqz7xetWyCUjSktN1KtrnTN2tZhCTw=; b=LkuK/c8Oh16lLKt7+it2YPq8UmuKs3m8rp3sOuCns96fwjsuS5Lz+14Ihm+qE9RJN0 pzZukKugzFHUMHV7yCJhzXwCjBhn/9qTw2xFBueIS395GXMY9p7xxCHj1CoYX11I0cQe KLjrvmIPOklsYvMPiNfa0+7iKduunL3FaAtS5SV140VVKL/RGeP/e3TiLHU9xlpN0Ik+ 5f0lLUvFXzRT24tW0yWsalqcjuaB0AUaTI6Lh82MjWdH/bCd9METzEy9KpN3bkdoAct1 yKQBn4yL7yhkRCMs88Uv8Rja/hq+qiK1E1irrkQ0veMz+4rUeQV8AngezIZ9GpSf6qY0 hRgw== X-Forwarded-Encrypted: i=1; AJvYcCVZ2Kx7KAi3K4QrjbRNFpo/nS4di+RQmKuylKNthHlrguyvlx7B68/RRJsG534byF5sTFFoJHZ27JRLBLrIiiaaTp05tCVJ2shjs4iI X-Gm-Message-State: AOJu0Yw/aEGlTp/Uoyr0tQ184FlJw9M/3EJKiWC8EkO+VoyKvRGvjXJ4 sFt5mPC+NLsx4WGeyYcJ74f5wtuDAxXL9V6aIThBvm3rb8z24U7zS+qs+SRl+hM= X-Received: by 2002:a05:600c:4f49:b0:412:5670:e5c6 with SMTP id m9-20020a05600c4f4900b004125670e5c6mr8316824wmq.13.1708443015690; Tue, 20 Feb 2024 07:30:15 -0800 (PST) Received: from aspen.lan (aztw-34-b2-v4wan-166919-cust780.vm26.cable.virginm.net. [82.37.195.13]) by smtp.gmail.com with ESMTPSA id m4-20020a05600c280400b0040fe308ff25sm14691564wmb.24.2024.02.20.07.30.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 07:30:14 -0800 (PST) From: Daniel Thompson To: Lee Jones , Jingoo Han Cc: Daniel Thompson , Luca Weiss , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/4] Ensure all backlight drivers zero the properties structure Date: Tue, 20 Feb 2024 15:30:04 +0000 Message-ID: <20240220153010.76238-1-daniel.thompson@linaro.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Luca Weiss recently shared a patch to zero the properties structure for lm3630a... and shortly afterwards I realized I should probably scan for a similar class of errors in other drivers. Results follow in the next four patches (they could all be one patch but for the fact there are different Fixes: tags)! Daniel Thompson (4): backlight: da9052: Fully initialize backlight_properties during probe backlight: lm3639: Fully initialize backlight_properties during probe backlight: lp8788: Fully initialize backlight_properties during probe backlight: mp3309c: Fully initialize backlight_properties during probe drivers/video/backlight/da9052_bl.c | 1 + drivers/video/backlight/lm3639_bl.c | 1 + drivers/video/backlight/lp8788_bl.c | 1 + drivers/video/backlight/mp3309c.c | 1 + 4 files changed, 4 insertions(+) base-commit: b401b621758e46812da61fa58a67c3fd8d91de0d -- 2.43.0