From patchwork Mon Aug 24 13:58:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 11733241 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BE0A2722 for ; Mon, 24 Aug 2020 14:01:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A4E2C206B5 for ; Mon, 24 Aug 2020 14:01:17 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="GhFho+Wh" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726934AbgHXOBQ (ORCPT ); Mon, 24 Aug 2020 10:01:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725921AbgHXOBM (ORCPT ); Mon, 24 Aug 2020 10:01:12 -0400 Received: from mail-qt1-x843.google.com (mail-qt1-x843.google.com [IPv6:2607:f8b0:4864:20::843]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7275C061573 for ; Mon, 24 Aug 2020 07:01:11 -0700 (PDT) Received: by mail-qt1-x843.google.com with SMTP id o22so6153451qtt.13 for ; Mon, 24 Aug 2020 07:01:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=XdATegxPLjRZ1S4FVShTFf9GHc/aayt9pgohmSeXGf4=; b=GhFho+Whb925lK0QvwZZEgD0KL8uGJe1twqMwtHZtWQaDfE8W0VNo+ipvLaU7nryjW UZM7kB4GEZQ2Bsq/EtYNhpYtIhVGwiwNnQLVpIBzsE0WUBn+1E+KwkeVGJhya/AtjDnp bHaEGkoLh5rJCO0r2U7UtOIELog4bKxkYvJWo8pBec2B50/3Gx2V/WIEYOljIhbcQwVu VRf/zGfsRgoC0v9MadZLvNdExBejZ6zT8a1JpJnl1an7fnEno2ftEMSWuUOSLe6ZHC0Y b8pjkNzxJZJIFWk2XtHzP9tDKe31O4MRj1RQyR3RPXDkn0Obd/psbCMq0TOz1NjCGk2H KLow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=XdATegxPLjRZ1S4FVShTFf9GHc/aayt9pgohmSeXGf4=; b=WiJD/r2ya3SBkhdUyETaRaEmQyQISLUnGFwmCaJVsgbXv/abdhSEFXUbsOHOJ9TrT/ keg//JpSUj0niN4OppG4B/dLrOJbq+WIrkQoobbFbsXb/jPHR1xAr+aPaDkGKAv8tpoZ /cVOUOrfYfxJH4FoYBq0C9empALeJ1mpNuDUGS+NPpTTomjGOjUPr0I6fbDt2lNmKcNm hTfRDFN+4hG61Qi8l1byEa2zI2o3d5Y1T7Psathe4oVsq82nat7gF6vGZdXYcpyLjGFS giLsuaH4HhAmG3wPSNCsmsCuY2mmbIcnKCuHhKNJBOJ7AFjAX2+IH0QW9nEM8b4yJAYw DSMg== X-Gm-Message-State: AOAM532cTwUa4Os1ppbwfkqsElkvl4jxeieyQoCkS/3AunZKuP7Y1qv5 xUVeeZ/rihlXeop8KjmNs79KLzhGKcc= X-Google-Smtp-Source: ABdhPJy3v6o9XZ+hI2AtpPbRiWrP20uHMzFlskDAgpOiz2CxRlsxZqrx8wKYr4u2FNcM2Pfv/5rkog== X-Received: by 2002:ac8:22e2:: with SMTP id g31mr4681700qta.214.1598277669675; Mon, 24 Aug 2020 07:01:09 -0700 (PDT) Received: from localhost.localdomain ([177.194.72.74]) by smtp.gmail.com with ESMTPSA id r20sm3244459qtc.87.2020.08.24.07.01.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Aug 2020 07:01:08 -0700 (PDT) From: Fabio Estevam To: herbert@gondor.apana.org.au Cc: linux-crypto@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, mcoquelin.stm32@gmail.com, Fabio Estevam Subject: [PATCH 1/2] crypto: stm32/crc32 - include Date: Mon, 24 Aug 2020 10:58:39 -0300 Message-Id: <20200824135840.3716-1-festevam@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Building ARM allmodconfig leads to the following warnings: drivers/crypto/stm32/stm32-crc32.c:128:2: error: implicit declaration of function 'writel_relaxed' [-Werror=implicit-function-declaration] drivers/crypto/stm32/stm32-crc32.c:134:17: error: implicit declaration of function 'readl_relaxed' [-Werror=implicit-function-declaration] drivers/crypto/stm32/stm32-crc32.c:176:4: error: implicit declaration of function 'writeb_relaxed' [-Werror=implicit-function-declaration] Include to fix such warnings. Reported-by: Olof's autobuilder Signed-off-by: Fabio Estevam --- drivers/crypto/stm32/stm32-crc32.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/crypto/stm32/stm32-crc32.c b/drivers/crypto/stm32/stm32-crc32.c index 3ba41148c2a4..2994549beba3 100644 --- a/drivers/crypto/stm32/stm32-crc32.c +++ b/drivers/crypto/stm32/stm32-crc32.c @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include From patchwork Mon Aug 24 13:58:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 11733243 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3BCFE13B1 for ; Mon, 24 Aug 2020 14:01:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 241942074D for ; Mon, 24 Aug 2020 14:01:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="kbEqpq12" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725921AbgHXOBR (ORCPT ); Mon, 24 Aug 2020 10:01:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726886AbgHXOBN (ORCPT ); Mon, 24 Aug 2020 10:01:13 -0400 Received: from mail-qt1-x842.google.com (mail-qt1-x842.google.com [IPv6:2607:f8b0:4864:20::842]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 600A5C061574 for ; Mon, 24 Aug 2020 07:01:13 -0700 (PDT) Received: by mail-qt1-x842.google.com with SMTP id 6so6193676qtt.0 for ; Mon, 24 Aug 2020 07:01:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=mi86+WphliiE46rge60tCAlVsMmu7FS4d8IzZESWhL8=; b=kbEqpq12FNAu/2vT9L2fQEO7zBNYtapgY8AMifK5255p+PY9p/NZ4Pii14G9YIRR+0 TgeZM4zpB1iowxqFm3Kc7yOmgUL2ghyxSFB34by1kfH8/asHa8z6MDGe9BA3SLvZqrMY CdpkPZZjwsCVjH1EblUnYRcPMrWQT8WpKFzsnVHR3xOXFYlXWqumKCd8n11MGWDHrP+G ZPfrSyipYHuhNd7gP92m+Gn2D8HcMVwPlBeGRlnGGgAXrs75qNAi2LKx2TTIFlU+s0ko XACx24Avzvxnc8pI1z0ujQBBQkYVPYF5RGG0yTn2jq03GYyI4kKVOp9JTCITPvaNYHDB K44w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=mi86+WphliiE46rge60tCAlVsMmu7FS4d8IzZESWhL8=; b=FBg65fSXMlb39TCCGYF+uE4JGYMBPCCdxZrNvzhQcSWUxJ3qpg4vvn/wHiuPZ0VcqV +vVC08rHbcSntcnKTEefIVo17Kz8Dyx9R/e0fbnXG9PBb8A8FxWK1XUBtmGnF5qS+2eT lmeZgHFGcmYsK23+dZq8AwHbHtcbiIEDHU/YSTKshhwpvhuPwElzhr8zmcdNUtrZVYkm EvT/nwuwoLES50pvDrr1v2YnoAEvqsEhC0pL751CasYkEB0tNRD105eoAqp7JcgsdMOR gkXHl4ftFdmpXlRxx4Kw1Am0IMYJ9/dC1XfZnlHSh3Tz7l+A+1GyNtuaaOcetnFVwGuw acqg== X-Gm-Message-State: AOAM532FCbx52k+RM7lDpPaRbYxnx+zJc+EcEdV3lEkOCeXHNblYc5Lc Kzm5IraQv0wt3M5Gl8Jmks8= X-Google-Smtp-Source: ABdhPJw+LruaJmmWJO+Mtw5M3vgeggarBNQ1YOjhxoESzHvNExHtKePDygkeiBdJjbAieDiAUxQ6XA== X-Received: by 2002:ac8:6c6:: with SMTP id j6mr5025543qth.129.1598277672543; Mon, 24 Aug 2020 07:01:12 -0700 (PDT) Received: from localhost.localdomain ([177.194.72.74]) by smtp.gmail.com with ESMTPSA id r20sm3244459qtc.87.2020.08.24.07.01.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Aug 2020 07:01:11 -0700 (PDT) From: Fabio Estevam To: herbert@gondor.apana.org.au Cc: linux-crypto@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, mcoquelin.stm32@gmail.com, Fabio Estevam Subject: [PATCH 2/2] crypto: stm32/hash - include Date: Mon, 24 Aug 2020 10:58:40 -0300 Message-Id: <20200824135840.3716-2-festevam@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200824135840.3716-1-festevam@gmail.com> References: <20200824135840.3716-1-festevam@gmail.com> Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Building ARM allmodconfig leads to the following warnings: drivers/crypto/stm32/stm32-hash.c:492:18: error: implicit declaration of function 'dma_map_sg'; did you mean 'dma_cap_set'? [-Werror=implicit-function-declaration] drivers/crypto/stm32/stm32-hash.c:493:8: error: 'DMA_TO_DEVICE' undeclared (first use in this function); did you mean 'MT_DEVICE'? drivers/crypto/stm32/stm32-hash.c:501:3: error: implicit declaration of function 'dma_unmap_sg' [-Werror=implicit-function-declaration] drivers/crypto/stm32/stm32-hash.c:589:8: error: 'DMA_TO_DEVICE' undeclared (first use in this function); did you mean 'MT_DEVICE'? Include to fix such warnings Reported-by: Olof's autobuilder Signed-off-by: Fabio Estevam --- drivers/crypto/stm32/stm32-hash.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/crypto/stm32/stm32-hash.c b/drivers/crypto/stm32/stm32-hash.c index 03c5e6683805..092eaabda238 100644 --- a/drivers/crypto/stm32/stm32-hash.c +++ b/drivers/crypto/stm32/stm32-hash.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include