From patchwork Mon Feb 29 15:10:35 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Klausner X-Patchwork-Id: 8455021 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 089A69F38C for ; Mon, 29 Feb 2016 15:11:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3314420251 for ; Mon, 29 Feb 2016 15:11:00 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id D99B32024C for ; Mon, 29 Feb 2016 15:10:57 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 3A5DA2625CF; Mon, 29 Feb 2016 16:10:56 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NO_DNS_FOR_FROM, RCVD_IN_DNSWL_NONE,UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id C7114260698; Mon, 29 Feb 2016 16:10:49 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 7292C2606CD; Mon, 29 Feb 2016 16:10:47 +0100 (CET) Received: from danbala.ifoer.tuwien.ac.at (danbala.ifoer.tuwien.ac.at [128.130.168.64]) by alsa0.perex.cz (Postfix) with ESMTP id 95A53260535 for ; Mon, 29 Feb 2016 16:10:40 +0100 (CET) Received: by danbala.ifoer.tuwien.ac.at (Postfix, from userid 116) id 31ADCA50E; Mon, 29 Feb 2016 16:10:35 +0100 (CET) Date: Mon, 29 Feb 2016 16:10:35 +0100 From: Thomas Klausner To: alsa-devel@alsa-project.org Message-ID: <20160229151035.GE7216@danbala.tuwien.ac.at> References: <56D010C4.3000804@ladisch.de> <1456758321-2256-1-git-send-email-tk@giga.or.at> <1456758321-2256-3-git-send-email-tk@giga.or.at> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1456758321-2256-3-git-send-email-tk@giga.or.at> Subject: [alsa-devel] [PATCH 4/4] Replace __u* with uint*_t X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" 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 X-Virus-Scanned: ClamAV using ClamSMTP And here's a fourth one. From e98b740f7617830f46e58365f3c0602fcb3ff8c2 Mon Sep 17 00:00:00 2001 From: Thomas Klausner Date: Mon, 29 Feb 2016 16:08:54 +0100 Subject: [PATCH 4/4] Replace __u* with uint*_t. --- include/sound/asound.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/sound/asound.h b/include/sound/asound.h index 4f2202f..0d30eaa 100644 --- a/include/sound/asound.h +++ b/include/sound/asound.h @@ -370,7 +370,7 @@ struct snd_interval { #define SNDRV_MASK_MAX 256 struct snd_mask { - __u32 bits[(SNDRV_MASK_MAX+31)/32]; + uint32_t bits[(SNDRV_MASK_MAX+31)/32]; }; struct snd_pcm_hw_params { @@ -447,10 +447,10 @@ struct snd_pcm_status { snd_pcm_uframes_t avail_max; /* max frames available on hw since last status */ snd_pcm_uframes_t overrange; /* count of ADC (capture) overrange detections from last status */ snd_pcm_state_t suspended_state; /* suspended stream state */ - __u32 audio_tstamp_data; /* needed for 64-bit alignment, used for configs/report to/from userspace */ + uint32_t audio_tstamp_data; /* needed for 64-bit alignment, used for configs/report to/from userspace */ struct timespec audio_tstamp; /* sample counter, wall clock, PHC or on-demand sync'ed */ struct timespec driver_tstamp; /* useful in case reference system tstamp is reported with delay */ - __u32 audio_tstamp_accuracy; /* in ns units, only valid if indicated in audio_tstamp_data */ + uint32_t audio_tstamp_accuracy; /* in ns units, only valid if indicated in audio_tstamp_data */ unsigned char reserved[52-2*sizeof(struct timespec)]; /* must be filled with zero */ }; @@ -900,7 +900,7 @@ struct snd_ctl_elem_info { unsigned int items; /* R: number of items */ unsigned int item; /* W: item number */ char name[64]; /* R: value name */ - __u64 names_ptr; /* W: names list (ELEM_ADD only) */ + uint64_t names_ptr; /* W: names list (ELEM_ADD only) */ unsigned int names_length; } enumerated; unsigned char reserved[128];