Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2204285lqp; Sun, 24 Mar 2024 07:49:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX6AdORb1NzPE901nTaiciU47orjhkuDL6JYsWWqJHaW6PxZmtPBjgec4zBRW/3xbyWh5XsZ0PvydNXLVfAHWCX7v+8rR82QvW1SPjpMQ== X-Google-Smtp-Source: AGHT+IGmRNe5aeDvDMf8q3i8WIJzUSvSzMDmF2eWp21HtzUvC+wiq8GPoPmEkahRo3JOwjhM6h5Q X-Received: by 2002:a05:6a00:a8c:b0:6ea:ad5e:54fb with SMTP id b12-20020a056a000a8c00b006eaad5e54fbmr187424pfl.12.1711291748235; Sun, 24 Mar 2024 07:49:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711291748; cv=pass; d=google.com; s=arc-20160816; b=0ZY+o/tAYO8CQMBDOLd6Rl6YCSy/A24+rX4JwTF+sOlTG9RiBTk2N/YFWNTg7RATJI hfJ0Xj2QO4FvN+FPBQK++TWXj4J0gAfuFHpy06/60HGv/uEpikeU0D4MrHDzzmlm3+fd zqAchIxeYgIOil0pjWw97888Uv3q/fWLcSyCJWT4wa5jUZwtRrJf8FwSu4Yr/Xzx4psZ MVMYh+4STylUrn4Jjd7fsJLuYt1SouRYFH/nzSSmXmRNiiZOdGZft8eQ6uWemC0zN4bV vTO8CI2IvQgKd1VRfJldBIacmBQG7l1viWATqx/ifGRjBZGlnqhzjQanlTPXfA+n8GBs 3gZA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=P6C7+8Wp6+2qZOsRGd4+RkqMnsrYwdbiueBVs6ZMFIQ=; fh=8cyI0TDNjxTTa2jeC84O6qAQ/4GSQpPXsk9x01lV+Zs=; b=wC61zus+E90BcKu9odFuknr+BOjcWcTGGNY6STZXuAn9UBa/TBUS22GOy0f6uYjH5M P02x65aygkhww6mgPFfJEDv+Fh6n+gOOj70khcLDsPpe80aBfSbnSLoSihir948Kt33K mkTwqDZvRjLr3fA9pmMpaITgdat2jUcJceMq9Uga/29wCEmE96gJE1zP7/C4J1B9Kn+q npnno/Hcp30EeE05ZYO6hYCg5WCg4ZBqWqK8ClznHPYvbfPIqJ5krCZjppkqfkf94pvy AvWzdgVByIw44lKNci8teykx4K33ULG7EYFF45/wSVFhf5y2WdBw2j3EYoXNtEA5p/yU GQeA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=W7ENOZGf; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-112711-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-112711-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id o25-20020a635a19000000b005ee3f1a19c2si6081337pgb.244.2024.03.24.07.49.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 07:49:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-112711-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=W7ENOZGf; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-112711-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-112711-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id CDC62281597 for ; Sun, 24 Mar 2024 14:49:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 609A618624; Sun, 24 Mar 2024 14:49:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="W7ENOZGf" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 06AF618030 for ; Sun, 24 Mar 2024 14:48:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711291739; cv=none; b=B8NsahqkWtno6IfVdLF1cDgd3UZNZ4BC1T4pAXN13YvGryC8CYn2Pia5PJKahc4r26oYfexFLs3uKUvrxc//nKCXfWO9FzGazTb/+PSu3T2nvmhyR4IYKJVH+JuhCCGTEKcTVrNy7t1ORyyHbXaESDqOI5IxMg3IFW0710oxGUA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711291739; c=relaxed/simple; bh=+hmNad4AcBKeWQma6Izd7CkEUkildK4LrIOj1dEfDRg=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=ltVpYPN6ecODPvIX86olmjZD2kSC1EfBzsU9aFWDcotmFT2+BldjylPL4R34aAMs50esabeQzuM4h4xagLLSjDEm+3JUUVGQ/2TKxbkl4wyygeRrPmKSFAB8q7LmEl40BbVE8aALaRyVeJEmoP9v+vAWNu0Q/VNGk3/gJe6StfM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=W7ENOZGf; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1711291736; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=P6C7+8Wp6+2qZOsRGd4+RkqMnsrYwdbiueBVs6ZMFIQ=; b=W7ENOZGfYNHCzGi+ZsZ3/pK9Lu14EfBxYNvZONg+2TwpcwVucsWVPYMalhHjzY+t9L/xbt XSpVsjdV/xBfQTEamH4M87bBs/Y/+SDhYcxpHj4L6JoCEAfjDHzm+x8cL1u+jp4db0jdrp m4Svy6hlCoRQG1WO4DXyogQOQQsUBOg= Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-460-QpYV1TKSORG8UeZIs3bxqw-1; Sun, 24 Mar 2024 10:48:54 -0400 X-MC-Unique: QpYV1TKSORG8UeZIs3bxqw-1 Received: by mail-pj1-f69.google.com with SMTP id 98e67ed59e1d1-2a00fbe5192so2797571a91.1 for ; Sun, 24 Mar 2024 07:48:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711291734; x=1711896534; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=P6C7+8Wp6+2qZOsRGd4+RkqMnsrYwdbiueBVs6ZMFIQ=; b=tvVmUo5yj29nEAJXNK3QkzdeMUbAfYjWCcvKdUp4ttdCgNErzytoVL34CyD5ocnROn fF8EI5z/E7hPippGp/g6CGDYX7lB+ZRvUME+/+DcknCc0weP0Ujf3b5W67XggHqFyAlO j1lrKuLWGFxfUIOsh2wzJwtj3YM24bTW18P/lnJ2mf6917/s4PqJlTD4RnsTLaWvlMdz nVfDPL9RMq8y6uVkSyR8zlsn5Rj+2Jxqs431GLaHgtI6tzBSHotpHzGPCegc9jotyIec VakHIUL3jjl0/CIOYDHadYF7Hy5ZzXK0tB8jL1qV9aXOuR8RnvVRRJkrnMIFncE6nzQx ki9A== X-Forwarded-Encrypted: i=1; AJvYcCUD0GM8iQJBmko6ih2M5o1EZwajMtU0Sq3YfUg6J1dnbbHFAWa7S/VU3HnK52AVfMTM/4VPmkXDSOtP9Cl3T65ZMtKNtRd9TywxjUbw X-Gm-Message-State: AOJu0YxzjgLX9ppL/fFpCRhbpH6d27MriMXCPNG44m+1zhQra3SnVm2X dER6iOMbbF8edeSHmGmx3sfksIeTHqfYltji3pqhT9T196CV/M7t5VXGO6fQPE7OCpA1/yQ8L4H g+QiJgMV8ajOaaSpuhDIVz4GGle2/x8KoOAv6Ly6H4hd2Nmq39f427EvWaKlFBVzgADkpXnA+cz hC1Y1v3lDv36kzycUaODCqyWGTpHj/BrPe9T8q X-Received: by 2002:a17:90b:1004:b0:29c:6000:a12b with SMTP id gm4-20020a17090b100400b0029c6000a12bmr3410706pjb.38.1711291733809; Sun, 24 Mar 2024 07:48:53 -0700 (PDT) X-Received: by 2002:a17:90b:1004:b0:29c:6000:a12b with SMTP id gm4-20020a17090b100400b0029c6000a12bmr3410693pjb.38.1711291733484; Sun, 24 Mar 2024 07:48:53 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240306025801.8814-1-hpa@redhat.com> <20240306025801.8814-3-hpa@redhat.com> In-Reply-To: From: Kate Hsuan Date: Sun, 24 Mar 2024 22:48:42 +0800 Message-ID: Subject: Re: [PATCH v4 2/2] leds: rgb: leds-ktd202x: Get device properties through fwnode to support ACPI To: Andy Shevchenko Cc: Pavel Machek , Lee Jones , linux-leds@vger.kernel.org, platform-driver-x86@vger.kernel.org, Hans de Goede , =?UTF-8?Q?Ilpo_J=C3=A4rvinen?= , =?UTF-8?Q?Andr=C3=A9_Apitzsch?= , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Mar 23, 2024 at 12:02=E2=80=AFAM Andy Shevchenko wrote: > > On Fri, Mar 22, 2024 at 7:45=E2=80=AFAM Kate Hsuan wrote= : > > On Tue, Mar 12, 2024 at 7:04=E2=80=AFAM Andy Shevchenko > > wrote: > > ... > > > > > + chip->num_leds =3D (unsigned long)i2c_get_match_data(client); > > > > > > No warnings during compilation? > > Yes, the compiler doesn't complain about it. > > And for 32-bit mode as well? > Hi Andy, I've tested it with 32bits kernel build and the compiler didn't complain about the warnings. > ... > > P.S. You have commented only on the two comments. What about the rest? For the rest, including variable renaming, error number shadowing, and "%pfw" were fixed in the v5 patch. I sent the patch but I forgot to add you. I'll resend the v5 patch and keep you in the loop. Thank you :) > > -- > With Best Regards, > Andy Shevchenko > --=20 BR, Kate