CHECK: Prefer kernel type 'u32' over 'uint32_t' #31: FILE: include/sound/sof/dai-intel.h:86: + uint32_t link_dma_ch; CHECK: Alignment should match open parenthesis #57: FILE: sound/soc/sof/intel/hda-dai.c:37: +int hda_dai_config(struct snd_sof_dev *sdev, + struct snd_soc_dai_link *link, CHECK: Alignment should match open parenthesis #69: FILE: sound/soc/sof/intel/hda-dai.c:49: + stream = snd_hdac_ext_stream_assign(sof_to_bus(sdev), &substream, + HDAC_EXT_STREAM_TYPE_LINK); ERROR: space required before the open parenthesis '(' #77: FILE: sound/soc/sof/intel/hda-dai.c:57: + if(!dai) { ERROR: space required before the open parenthesis '(' #85: FILE: sound/soc/sof/intel/hda-dai.c:65: + if(direction == SNDRV_PCM_STREAM_CAPTURE) CHECK: Alignment should match open parenthesis #133: FILE: sound/soc/sof/intel/hda.h:517: +int hda_dai_config(struct snd_sof_dev *sdev, + struct snd_soc_dai_link *link, CHECK: Alignment should match open parenthesis #148: FILE: sound/soc/sof/ops.h:317: +snd_sof_dai_config(struct snd_sof_dev *sdev, + struct snd_soc_dai_link *link, WARNING: Statements should start on a tabstop #152: FILE: sound/soc/sof/ops.h:321: + if (sdev->ops && sdev->ops->dai_config) WARNING: suspect code indent for conditional statements (9, 17) #152: FILE: sound/soc/sof/ops.h:321: + if (sdev->ops && sdev->ops->dai_config) + return sdev->ops->dai_config(sdev, link, config, direction); WARNING: Statements should start on a tabstop #153: FILE: sound/soc/sof/ops.h:322: + return sdev->ops->dai_config(sdev, link, config, direction); WARNING: Statements should start on a tabstop #154: FILE: sound/soc/sof/ops.h:323: + else WARNING: suspect code indent for conditional statements (9, 17) #154: FILE: sound/soc/sof/ops.h:323: + else + return 0; WARNING: Statements should start on a tabstop #155: FILE: sound/soc/sof/ops.h:324: + return 0; CHECK: Alignment should match open parenthesis #170: FILE: sound/soc/sof/sof-priv.h:161: + int (*dai_config)(struct snd_sof_dev *sdev, + struct snd_soc_dai_link *link, WARNING: line over 80 characters #190: FILE: sound/soc/sof/topology.c:2061: + snd_sof_dai_config(sdev, link, config, SNDRV_PCM_STREAM_PLAYBACK); WARNING: line over 80 characters #206: FILE: sound/soc/sof/topology.c:2074: + snd_sof_dai_config(sdev, link, config, SNDRV_PCM_STREAM_CAPTURE); total: 2 errors, 8 warnings, 6 checks, 157 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. ./linux-sof-driver/0001-RFC-ASoC-SOF-set-link-dma-channel-in-hda-config.patch has style problems, please review. NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS.