Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1138310pxb; Wed, 10 Feb 2021 00:36:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJx2plXmAF4nk270+4+bp1POxknaDV+ovBVbPzL/7vh23nXfXRESuOGzHQPq/5szMFdThNRs X-Received: by 2002:a05:6402:1cc1:: with SMTP id ds1mr2199438edb.10.1612946180927; Wed, 10 Feb 2021 00:36:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612946180; cv=none; d=google.com; s=arc-20160816; b=N9cjHM+/usYGim/mhsUthqNFVrwa1N7fAOTzFqkUEw0n3KponFLXkE4UZqOa+5cQry TuI0lwPS7Xvg5ijmCB1alwsJxq3Gm94XP1W/36bnVkIc8ZX1/WD1a0EPfPvFD2bsTPah W/2sLcyhgEfylaYyhdCnQlNIeftk67wcWFccURHLz1jsEkDamNA33JMEOwJGxdErtVXc wrJymRhOi2AU1C1Z2Cu4A2ow4S6Y0kJUcm77sj2YRMFbg1D2KUEHB8ye9el8BFAAmldf z8+J8N0P4+XKJMwc4GzYlPYhdMCfDJS9nVJ2qQlJSLBIaI3Xr2XkJOXk/UhRNsv5UjPx nfFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=EYC/DUp6zgu6VxQFUQoYksxgB771ELLZNhkq5r+2y4I=; b=0Ar/iEDlEn1prY4cslMP8MyQSMTEvHTiOPEEYZ1IqG8LhkABrxLtXHyuz0K9gtQEbE 0zpqzjP47NAY3JrSBMUwvHKLR3Hs+VIG+PJ2cYk87rqwRdZDV4Euo7fb2lK8t6SV0uH/ nxSeL0kelgwfkkLZX+zFLgb5pGaqr2yE60KuZx8qn/AhoNSaZ1RdqHgClyJg5IcxGj2F FByDpO0PCSbJbB7f0fy9vHw8dU3HmldV7fQhSQtVUpXPr+rfhuvLz1FXolP/qUpX0OO5 qjHK4uRweamkls4crIfVW6ky3SqwynWJG5t3IZ2U7lMLjWi65JH69sduiF7ZAcQsU7Wj 3oXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=mi1iHHso; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c18si963932ede.4.2021.02.10.00.35.57; Wed, 10 Feb 2021 00:36:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=mi1iHHso; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231799AbhBJG1g (ORCPT + 99 others); Wed, 10 Feb 2021 01:27:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231633AbhBJG0U (ORCPT ); Wed, 10 Feb 2021 01:26:20 -0500 Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7E76C0613D6 for ; Tue, 9 Feb 2021 22:25:39 -0800 (PST) Received: by mail-pl1-x630.google.com with SMTP id s15so635155plr.9 for ; Tue, 09 Feb 2021 22:25:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=EYC/DUp6zgu6VxQFUQoYksxgB771ELLZNhkq5r+2y4I=; b=mi1iHHsoMz1TfVP0LLl4zU+I9JjHoHKp7Ryvew9pVpjCEn7azxp5ddNElx6NTu6w1z n/DRGRSbdpY+WbhYTMMXO0fkNIbYXXbo76/HmZjhf+9IaVzE1LSoru4rM+BD6Za+2RIU s4psr2bKwppAAgzm6/uzDJooH1sAskRy5sygIf2f8baHDqpZtTXIrXxCgHB29h8AP8aw 9SJ9uNDXcuFXIuwq2Io5VNSyuMUiz1Mb7wJu6NHUmz+U42DAGEE9g1K8LFXWsYtgljGa OGH0B8HXXTrWbGVVxf5R0cVsuKDAyDDHpyzlcQua60OcaQVe/sDAsZSPhqMvpOhIvYQo S7eQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=EYC/DUp6zgu6VxQFUQoYksxgB771ELLZNhkq5r+2y4I=; b=LnvW2RdyVqNycnsGTmq/LhpeYoJiWWZwKS+1rYWFeUTOL4pskerPhxIvsz+IjcJ/4W U7vszvhnfK3Bm35TumHkPspGNepN/9BATi+1qzCSmkaPSejL6RM2RMkmJT7bhS3Af8ue GgY4JL3mA7WcwpLBsdEQti/52ueIvfNwcLjuW5lnC4FxNLGteIkGt+Kos56ARyUpsby8 Hb35Bz9fhahsxeyYy7mDPKc2Qh7SDtkomN/zOA+VVc2NKm7lcjpiWOBdKyMsiI/VgjPJ bDMIb0zMoYCB4eCzV2mF6ThLEHqUGU73O17PZiJd0OBeZbIU19L2PiheFycZnhMNv2PS 05gg== X-Gm-Message-State: AOAM5304RMeIbtk/HZ2xXJioQAS2zwzeLwvR4Us6WRIVbbTDOc+fGQTH hUAt9e+Gw2L4orwZ9QHtKnGd05oy2uvk4QmuiIY= X-Received: by 2002:a17:903:114:b029:e2:f8fb:b6a1 with SMTP id y20-20020a1709030114b02900e2f8fbb6a1mr1594205plc.77.1612938339482; Tue, 09 Feb 2021 22:25:39 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Jassi Brar Date: Wed, 10 Feb 2021 00:25:28 -0600 Message-ID: Subject: Re: [PATCH Resend] mailbox: arm_mhuv2: Fix sparse warnings To: Viresh Kumar Cc: Tushar Khandelwal , Vincent Guittot , Andrew Morton , kernel test robot , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 9, 2021 at 5:18 AM Viresh Kumar wrote: > > This patch fixes a bunch of sparse warnings in the newly added arm_mhuv2 > driver. > > drivers/mailbox/arm_mhuv2.c:506:24: warning: incorrect type in argument 1 (different address spaces) > drivers/mailbox/arm_mhuv2.c:506:24: expected void const volatile [noderef] __iomem *addr > drivers/mailbox/arm_mhuv2.c:506:24: got unsigned int [usertype] * > drivers/mailbox/arm_mhuv2.c:547:42: warning: incorrect type in argument 2 (different address spaces) > drivers/mailbox/arm_mhuv2.c:547:42: expected unsigned int [usertype] *reg > drivers/mailbox/arm_mhuv2.c:547:42: got unsigned int [noderef] __iomem * > drivers/mailbox/arm_mhuv2.c:625:42: warning: incorrect type in argument 2 (different address spaces) > drivers/mailbox/arm_mhuv2.c:625:42: expected unsigned int [usertype] *reg > drivers/mailbox/arm_mhuv2.c:625:42: got unsigned int [noderef] __iomem * > drivers/mailbox/arm_mhuv2.c:972:24: warning: dereference of noderef expression > drivers/mailbox/arm_mhuv2.c:973:22: warning: dereference of noderef expression > drivers/mailbox/arm_mhuv2.c:993:25: warning: dereference of noderef expression > drivers/mailbox/arm_mhuv2.c:1026:24: warning: dereference of noderef expression > drivers/mailbox/arm_mhuv2.c:1027:22: warning: dereference of noderef expression > drivers/mailbox/arm_mhuv2.c:1048:17: warning: dereference of noderef expression > > Reported-by: kernel test robot > Signed-off-by: Viresh Kumar > --- > Hi, > > This should have been merged to 5.11-rc since the driver got introduced > in 5.11-rc1 itself. I don't see it queued for linux-next as well. It was > posted over 6 weeks back and no response is received yet: > Yup any bug fix should be sent in rc. But this, imo, lies on the boundary of code and cosmetic issues, so I practiced discretion to keep it for the next pull request lest I won't have much to send ;) > https://lore.kernel.org/lkml/db5dd593cfd8b428ce44c1cce7484d887fa5e67c.1609303304.git.viresh.kumar@linaro.org/ > > Would be good if this can still go in 5.11. > Of course it will. thanks.