Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1807057rdb; Tue, 20 Feb 2024 07:35:53 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVPyGo7/m3DfFFlyAMLqCfxNEBKAv86TR//gDyEqe07PUjtZ7GBT4BAXcOBV+pOjn2awX+paY8rSHJp3GTT2r8ngIkwFuGu+QUg9Pu0bA== X-Google-Smtp-Source: AGHT+IHxbUXNR1MIpW9OUKpPSYmjbDQb7jqUPN2+StugdGfWUpY+CdqnrdPFZvEI+3u/138hR19X X-Received: by 2002:a05:6214:2509:b0:68f:8587:205e with SMTP id gf9-20020a056214250900b0068f8587205emr4844838qvb.5.1708443353091; Tue, 20 Feb 2024 07:35:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708443353; cv=pass; d=google.com; s=arc-20160816; b=xYEWIkABUOhuYaMXSiMYCEJSsLMjJ/M6UqgzksGk0uBAa7nKiPJG330zIwWvXJltwg S+DkYOBIxGTzDYdekzv3O+VPCquu2raDaje807ecGR6iNkNxciBGfiyllApdg4dS8m5Y v7CpDiE3uEknRP/8DNs8w5i0tfwm1a9hAiQECeVGM0V5Y21fNZUbfV4BKlf3Nx3A+Dk6 giPB1+Qhb48+CfpAtkR0t+kahwLKoHJTaXj1IjJnkXriiy5l908kBXAmVFxfpr4toBe6 RyYpwuogH/5vQrmw+RZbrl6w1p6Gtx6LovRhzK3cmGM4JJh0Uz0cfgBEK29gMNJ0MeiJ 75+w== 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=0tVavBaCJCcUxEWjYt34qLoi7PjbJJd+1sJMJ7iF+N0=; fh=0c0TobgGSQ2ujmsfBOOu2Ec+F8BUCOeT3l6Bho7zCFE=; b=LH0LlMfayuDmHoIhVPvl9hwt5thvMpyPKdaGiSqR5e9JpS42Trv0YxirIrzPsCcR5U IME1O9vCtFJWXs9B48RpNCI3eXYpKGfKhcoYMwJdRfRivbszgmgH1IYs1w6ru0hY21Qx fczI/bJzx3++dEWmW2SQxlW5B0sCe+Ud8WBF8I8fjSWKfj9iOzOlAExurjQ1o7Tc5dp8 djIPeWhTNMvBPOLW4SJFBUqPjzDoKgY2uOZCU86J2pN8Oa7lCIj4qsNlmY1iFTMjrNR+ qaVKzZ6bVoXyBcuAyeO4y/XaTFfao5dEYVEGYk9QTy2Ql0yK3rJMLtLXOLQhcud56UMl ZuYQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Nz0hobpf; 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-73248-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73248-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 5-20020a05621420c500b0068f63187932si5825794qve.166.2024.02.20.07.35.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 07:35:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-73248-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Nz0hobpf; 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-73248-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73248-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id C50F81C21B2B for ; Tue, 20 Feb 2024 15:35:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 85FB67604B; Tue, 20 Feb 2024 15:35:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Nz0hobpf" Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (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 EE1F97602A for ; Tue, 20 Feb 2024 15:35:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708443344; cv=none; b=W9HTA7PTtMrVlrOKUv7zLDPl8oi0bbXeXWce78iqfHcRu3Xe8UyQf7hEFYjOFVwAsizak98ZmGz08vQ6FcsloL9ff4CH5T6LDhPMhE/1Y/wCzhDFQVBzvauoWndtCdL+rM7/Llsee8CHXgctyCIGkG/cCQxEtFIolDlz3xkvKpo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708443344; c=relaxed/simple; bh=pyywoW8h1yIIdmCRv+vC93WCa1+/b1uj7774CP3TyeI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=NGvZ1A5ZZo9Qof5s5LAwpICzeuHU6uV8CuIi9SNBKj23RZlANM/Ag2v7J8mt/kn1MF2XTpSpyD4i/PJ0m/hlclhiXLIxzDc1Ze15HEg4yE9Kw08AxWEfhb2g+IEuq0e5yv/qz6QKrrxZOgszTeP3iOGqjDHTvt9IghAO84kKmZM= 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=Nz0hobpf; arc=none smtp.client-ip=209.85.128.47 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-f47.google.com with SMTP id 5b1f17b1804b1-4126f48411dso4689975e9.0 for ; Tue, 20 Feb 2024 07:35:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708443341; x=1709048141; 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=0tVavBaCJCcUxEWjYt34qLoi7PjbJJd+1sJMJ7iF+N0=; b=Nz0hobpfvjqjmqCJm878lWj6vaLFaiOFVsy81TzbhwowcULZMqyBGEoT7Ffa+qLpSm +7aAgeKTObyfHPgK9nDMc+mwtPIlrPGz/hlAfb3Tc7m2tYnHxhdc6muNgoUXg7mtLTH8 0BK7oN8PeLUDqeBIH7qXJP5WELJHX8G74zxwryQJfkk89j+kD3bN+384YwX76vENfP2X eeDGPpe38oPKaGfyZtPVZAsgjRSNa8Yb/xwRT9AsJljZRosbttujreY47lLPtlNHsmyU rkSLeWM/jaZWYeIGnUhJZpWvQbV69LX+OCfoEmMBXeaxUCP2dXucWOdVnPixzj3yf2pB f5JQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708443341; x=1709048141; 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=0tVavBaCJCcUxEWjYt34qLoi7PjbJJd+1sJMJ7iF+N0=; b=AOYwnxSZz2zcVgu5A7SXSGuMnDcp8u9zQWlfe2N6gN6VCkb7+QvuoIthS91oB0MCBE 2LmIPoYD4E4V+/q2RhEoZDC35GxmaGvOQDAMC1QVjppRGgYp7XLm4wlUdN2hkILtYkxC u4dkuygl3+tq47AlmUJY9Vn6upJ4rXVLiiQ9IsqH99b0zSBikJTAq8PkDx4fjM2j7g8t UsKy/pkFhNIZ6lQ35zREvV8Otf/8zLVB7hexZyxAMo8eTg+RkY82CWJ5lyP15jhYeuwO lTlNUJmOZPRE/Dgok13kby1k56iPUNFAo2MNdLUrfqncgaD6TMTKUI+AbmhWzEXlIM6r 1lMg== X-Forwarded-Encrypted: i=1; AJvYcCXhr/Ab+3SJ3i6ddiyCwFWHWxFXGWHl05bfeZoNYENvcGD0Q4JLu4RWZSSZZMdlb2fx0tLbaDKufCoNwAUUuKROl+GXgO0HcDS+ymfS X-Gm-Message-State: AOJu0YwQNgYQSBUd1go0DoBW42Q/pJgi6ahSIpCtRMe729eQj2nMfRwJ 5ryW3CvN5tLDHPIaf3avWy2qOWGPzNgVfK3vZnJTzyzMY1L03BAVjw7OeVG6g5Wpz7/g6cQ/Tk2 6iR0= X-Received: by 2002:a05:600c:4f8a:b0:412:4731:a5e9 with SMTP id n10-20020a05600c4f8a00b004124731a5e9mr10993841wmq.4.1708443341346; Tue, 20 Feb 2024 07:35:41 -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 g8-20020a05600c310800b004126ec2f541sm2444905wmo.0.2024.02.20.07.35.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 07:35:41 -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 RESEND 0/4] Ensure all backlight drivers zero the properties structure Date: Tue, 20 Feb 2024 15:35:23 +0000 Message-ID: <20240220153532.76613-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 [Sorry for the RESEND so soon... embarrassingly I got Lee's e-mail address wrong the first time!] 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