Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp5288259rwb; Wed, 9 Aug 2023 01:27:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHTvsWstlSak28Kx9subD68WTakYymfq6uiR2vuMekxL7p81716q1xq81LqxCTa493zE9gs X-Received: by 2002:a05:6358:921c:b0:134:c8cb:6a00 with SMTP id d28-20020a056358921c00b00134c8cb6a00mr2296950rwb.12.1691569646729; Wed, 09 Aug 2023 01:27:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691569646; cv=none; d=google.com; s=arc-20160816; b=vzmG5rDNGmUotqWGiP3wQnOnzyrsaY0z1oijnRHuTyFafBsXUgyNQrG6U0/mpUD4QP AwEeXobJU5V7wdwyrXIfnW3g+t+rHcr5EObFovJzeFNFW9HH9KauKggn4wDFY2zkWkXh ZPsmnWLKrgueLBdKPEByL2oqlowIp3iKpYuZq8sL8+UTRghAz4f5HCp+zygKv/OmqukD ShC4uE8ec41iQBAxW1r6QNWK3pNyMoe3uxSqZ9Fs+hUh20cs44e8JzUxg/B0pUGIU/Y7 y65EOmNrxZ+6yvFcpD0w3wP7XsX8MbqLmVtni8DcHQBStgpJXj3Ghkza3n2rRvv4nqOT YB+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=bMJG4n4e3C5RDJYdkvp22yI5RYWY5aWICufqZIXmkrA=; fh=OgXX0XUHoyUUVinCYoO31RN3OWlUEkdf7eOPkPEEFlI=; b=MnmnzV+7G3hn7O1CGFeahh6JCu2LN53w8/Vu0TD2mafLlyO4uUGgB7hR+EZh7aXZso bBO8jLTRkpCRP5GOCMn5kbNy/a4ZYB43lRrir2jsP3ktSjxbBvOV/TgFp3EdykOHwTd8 Pl8AKm9ipL64ZZ7AcJqeDrMzEYeYQuWMBGEBAmMSueb0WO6sQg1YLPZyssMzr4KPZzx3 WqGtoHJNGTrC3loLqbyHNxwuMP85Kz8Ywvy/HhN6H4Ifr1pInVmJfUg7GX//n8NB7QsQ kXREwhAT8YI/T13q7Av6ZJIOPUpwUnODuA1v+9rcqBI8JE4p4xvIOASBuVQcIEX8XA4P B/Cg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y23-20020a63de57000000b00543d0bf8632si7058869pgi.866.2023.08.09.01.27.15; Wed, 09 Aug 2023 01:27:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231710AbjHIH2T (ORCPT + 99 others); Wed, 9 Aug 2023 03:28:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231708AbjHIH2A (ORCPT ); Wed, 9 Aug 2023 03:28:00 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A51FF271C; Wed, 9 Aug 2023 00:27:22 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 1819D8105; Wed, 9 Aug 2023 07:27:22 +0000 (UTC) Date: Wed, 9 Aug 2023 10:27:20 +0300 From: Tony Lindgren To: Nishanth Menon Cc: Dhruva Gole , linux-omap@vger.kernel.org, Dave Gerlach , Faiz Abbas , Greg Kroah-Hartman , Keerthy , Kevin Hilman , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 1/3] bus: ti-sysc: Fix build warning for 64-bit build Message-ID: <20230809072720.GC11676@atomide.com> References: <20230804103859.57458-1-tony@atomide.com> <20230805051753.vpwhg52zttpbbntx@dhruva> <20230805172325.4vjb4lb3vtu3dgfe@commodity> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230805172325.4vjb4lb3vtu3dgfe@commodity> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Nishanth Menon [230805 17:23]: > On 10:47-20230805, Dhruva Gole wrote: > > On Aug 04, 2023 at 13:38:57 +0300, Tony Lindgren wrote: > > > match = soc_device_match(sysc_soc_match); > > > if (match && match->data) > > > - sysc_soc->soc = (int)match->data; > > > + sysc_soc->soc = (unsigned long)match->data; > > > > Reviewed-by: Dhruva Gole > > Dumb q: is'nt this an enum? Is it better to cast it as (enum > sysc_soc)match->data ? Good idea, will update. Regards, Tony