From: Lars-Peter Clausen Subject: [PATCH 0/6] Fix `sparse` warnings Date: Sun, 17 Aug 2014 16:18:16 +0200 Message-ID: <1408285102-24538-1-git-send-email-lars@metafoo.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from smtp-out-166.synserver.de (smtp-out-166.synserver.de [212.40.185.166]) by alsa0.perex.cz (Postfix) with ESMTP id 75020265083 for ; Sun, 17 Aug 2014 16:18:26 +0200 (CEST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Mark Brown , Liam Girdwood Cc: alsa-devel@alsa-project.org, Lars-Peter Clausen , Kuninori Morimoto , Sangbeom Kim , Peter Ujfalusi , Sylwester Nawrocki , Lee Jones List-Id: alsa-devel@alsa-project.org This patch series contains a set of fixes for warnings generated by the sparse tool when building the ASoC tree. None of them are critical and the generated code before and after the patch is the same in all cases. The reason for still fixing them is that it makes it easier to recognize new and potentially serious warnings/errors. With this series applied at least on x86 and ARM a allyesconfig on the ASoC tree builds almost without errors or warnings from sparse. The only remaining warnings are the following two: sound/soc/soc-core.c:108:25: warning: Variable length array is used. sound/soc/soc-core.c:109:29: warning: Variable length array is used. These are part of the legacy ASoC IO code that is deprecated and schedulded for removal in the near future so there is not too much motivation for fixing them. - Lars Lars-Peter Clausen (6): ASoC: edma-pcm: Include edma-pcm.h ASoC: odrodix2_max98090: Make non exported symbols static ASoC: rcar: Use && instead of & for boolean expressions ASoC: sh: Fix dma direction type ASoC: samsung idma: Add proper annotation for casting iomem pointers ASoC: ab8500-codec: Drop bank prefix from AB8500_GPIO_DIR4_REG register define sound/soc/codecs/ab8500-codec.c | 11 +++++------ sound/soc/davinci/edma-pcm.c | 2 ++ sound/soc/samsung/idma.c | 4 ++-- sound/soc/samsung/odroidx2_max98090.c | 4 ++-- sound/soc/sh/fsi.c | 7 ++++++- sound/soc/sh/rcar/gen.c | 2 +- 6 files changed, 18 insertions(+), 12 deletions(-) -- 1.8.0