Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2637574rwd; Fri, 9 Jun 2023 14:33:32 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5r87lD8z8H4krLM4lx9Flh6eN6MJ0xns3RTz1O1LY4R/tYKHHqpLGAw28+cNBhh53bV9Zb X-Received: by 2002:a17:90a:4882:b0:255:3aa8:9d45 with SMTP id b2-20020a17090a488200b002553aa89d45mr2200105pjh.39.1686346412231; Fri, 09 Jun 2023 14:33:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686346412; cv=none; d=google.com; s=arc-20160816; b=hkJJuUYJxvW79Yd4V4fUFQcoU0Fo9K7daeHWzqCbYiODocj4D1afTKxw64l7SvohE6 xwrtYJ06u0KBU/voXQ1SzwnNDlUsbcOqNTJTeOwrpyrMXYhGIZPo1zB8LTJYx8J3w31D yqBme8clAiyzaGyo1m5URzt2lIxml9M2CgcoEfH3fXf0pZWaN2ycfnLC8F7DnjcHVaAc KRAxZKAfkO3ho70W6LyK8sGE+JcKbkV9ew25oMFV2jUpcdeL9UHYry3buQQeJNxJO+3W ovzTqMJkoE4+6inrjNeoZViYg1BsFO/SdPFvithiLdGxhUJHuEizsBW42mveCnmxtJlD 88JA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=3r39wuzTsS9xYxplRKTYr5FPCI7llaPoOWnnNkuMMsk=; b=Bh7gkMs6XtdNC1JoZo1Mv8/Xw1oL9/x1D38A+MvL2PUMqZGQtH7t+akjm1Q5U2nQw6 Sj53BPhdq/FQnvvEnlpbflwdaC6dNEBlf2NkwmDtJhaTtLCLbb9euu5iXQlvFTrFDD60 2+zm+ljM9jO9T0kaMXpd/ija+nuytSD2UyX1iu7lyTEkEn9vtFeoARy3HGMFD9PDIpcZ +NJiqsLojOVEbnhg49P91Y3EuWEdCcHcKZogiO0GquuMlLXif8ug/DbhqJjhR5fOLhA4 39vlFfgBAc04OvCCJd48xajF9T3xqDVAxUL4U1GFEocemJvurxcVM6opNCj/Vh+QQ+dG dYiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oWqsFt8r; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u197-20020a6379ce000000b00535bf852410si190254pgc.313.2023.06.09.14.33.19; Fri, 09 Jun 2023 14:33:32 -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; dkim=pass header.i=@linaro.org header.s=google header.b=oWqsFt8r; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229709AbjFIVF4 (ORCPT + 99 others); Fri, 9 Jun 2023 17:05:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229530AbjFIVFz (ORCPT ); Fri, 9 Jun 2023 17:05:55 -0400 Received: from mail-yw1-x1132.google.com (mail-yw1-x1132.google.com [IPv6:2607:f8b0:4864:20::1132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1EFA4358E for ; Fri, 9 Jun 2023 14:05:54 -0700 (PDT) Received: by mail-yw1-x1132.google.com with SMTP id 00721157ae682-565a022ef06so20166507b3.3 for ; Fri, 09 Jun 2023 14:05:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686344753; x=1688936753; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=3r39wuzTsS9xYxplRKTYr5FPCI7llaPoOWnnNkuMMsk=; b=oWqsFt8rrI2cTkrMOZDO63fKjzVonN2R6CRpJ4Qpv8VrEC9PwLLRdo6fvIDXzMqbWU MCL9JQEYMgGi1cAfDfnBxqXXRhFirceGmIh9iL60Ch2/AzS09A7x84n60XzAcXG7kkvI E/dL1t27A+8gqa5n2KAuJdGMzDDLbUwLnwS1Vny61JNzRWzUW4/llupUDpAAQRfdzTSI PdezuqxMd5C/VOccVnUEzUHKA3ylazNH9wgPNpzbtXI+5a13GmfJ+e9pKnt5zeTkpwTK fw70De7FHPwgvcwqrGfTv48YpBDrha1t7PB3/CxPt1N0DLI0/bwJNVhCnkwN6QtvTav7 zX8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686344753; x=1688936753; 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=3r39wuzTsS9xYxplRKTYr5FPCI7llaPoOWnnNkuMMsk=; b=BkRMA7H6KEIRk25bHdvej74Mc0ZDw1CRLBtkz+Oe3xP+puJuki9/BrfvAenz1UHY8s LIoS88DykerwrKSWL+UVtrNjekH9UBxX55XvGWfKhbtoqqJ28EwCHatb719Wd0DLP9dO tAOP75z1gbjQPHztLt9S7cIpnXNLw+Tn8OSc8UNXvZOpteAy2okXb0k8rR3EkQJvc34S OjM48Myy0n8hgSVkh1Fh8Ag7x7ZxE4eEa/one2ms79OSJugCrTaWQCaHprQ7j60fYh+P 0HayKAnknt0kMLLS6EXoNChzEElGqjIuWfUFTsbdUbFd2/dA+cFcN/J2PHngoOS+MonO QYQg== X-Gm-Message-State: AC+VfDxxViGdO0mhdWntWnBIDN8zmg6BIHLZhHbjucaCz1kKGTVmndYr 5r7dnW0sUm8LaSkrY2mVUeoj3Pt32HOgh6q8Gn0pXg== X-Received: by 2002:a81:d345:0:b0:559:deed:f363 with SMTP id d5-20020a81d345000000b00559deedf363mr2563607ywl.2.1686344753319; Fri, 09 Jun 2023 14:05:53 -0700 (PDT) MIME-Version: 1.0 References: <20230609202722.3634721-1-arnd@kernel.org> In-Reply-To: <20230609202722.3634721-1-arnd@kernel.org> From: Linus Walleij Date: Fri, 9 Jun 2023 23:05:40 +0200 Message-ID: Subject: Re: [PATCH] Input: ads7846 - fix pointer cast warning To: Arnd Bergmann Cc: Dmitry Torokhov , Arnd Bergmann , kernel test robot , Andy Shevchenko , Luca Ellero , Jonathan Cameron , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On Fri, Jun 9, 2023 at 10:27=E2=80=AFPM Arnd Bergmann wro= te: > From: Arnd Bergmann > > The previous bugfix caused a warning on 64-bit builds: > > drivers/input/touchscreen/ads7846.c:1126:17: warning: cast to smaller int= eger type 'u32' (aka 'unsigned int') from 'const void *' [-Wvoid-pointer-to= -int-cast] > > Change the cast back to something that works on both 32-bit and 64-bit > kernels. > > Reported-by: kernel test robot > Closes: https://lore.kernel.org/oe-kbuild-all/202306100442.jStknDT1-lkp@i= ntel.com/ > Fixes: 8f7913c04f6a7 ("Input: ads7846 - Fix usage of match data") > Signed-off-by: Arnd Bergmann Reviewed-by: Linus Walleij Excellent fix, thanks! Sorry for not predicting this. Yours, Linus Walleij