From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-qk0-f194.google.com ([209.85.220.194]:43714 "EHLO mail-qk0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756328AbeDFOQs (ORCPT ); Fri, 6 Apr 2018 10:16:48 -0400 Received: by mail-qk0-f194.google.com with SMTP id v2so1292013qkh.10 for ; Fri, 06 Apr 2018 07:16:47 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20180406111537.04375bdf@vento.lan> References: <24a526280e4eb319147908ccab786e2ebc8f8076.1522949748.git.mchehab@s-opensource.com> <20180406064718.2cdb69ea@vento.lan> <20180406111537.04375bdf@vento.lan> From: Arnd Bergmann Date: Fri, 6 Apr 2018 16:16:46 +0200 Message-ID: Subject: Re: [PATCH 05/16] media: fsl-viu: allow building it with COMPILE_TEST To: Mauro Carvalho Chehab Cc: Linux Media Mailing List , Mauro Carvalho Chehab , Hans Verkuil , Stanimir Varbanov , Benjamin Gaignard , Ramesh Shanmugasundaram , Al Viro , Bhumika Goyal , Arvind Yadav , Kees Cook , Geliang Tang Content-Type: text/plain; charset="UTF-8" Sender: linux-media-owner@vger.kernel.org List-ID: On Fri, Apr 6, 2018 at 4:15 PM, Mauro Carvalho Chehab wrote: > Em Fri, 6 Apr 2018 11:51:16 +0200 > Arnd Bergmann escreveu: > >> On Fri, Apr 6, 2018 at 11:47 AM, Mauro Carvalho Chehab >> wrote: >> >> > [PATCH] media: fsl-viu: allow building it with COMPILE_TEST >> > >> > There aren't many things that would be needed to allow it >> > to build with compile test. >> > >> > Add the needed bits. >> > >> > Signed-off-by: Mauro Carvalho Chehab >> >> Reviewed-by: Arnd Bergmann > > Actually, in order to avoid warnings with smatch, the COMPILE_TEST > macros should be declared as: > > +#define out_be32(v, a) iowrite32be(a, (void __iomem *)v) > +#define in_be32(a) ioread32be((void __iomem *)a) I would just add the correct annotations, I think they've always been missing. 2 patches coming in a few minutes. Arnd