Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1736384

[RFC PATCH 0/7] Fix year 2038 issue for sound subsystem

From Baolin Wang <baolin.wang@linaro.org>
Newsgroups linux.kernel
Subject [RFC PATCH 0/7] Fix year 2038 issue for sound subsystem
Date 2017-09-21 08:20 +0200
Message-ID <us305-5ww-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Since many structures will use timespec type variables to record time stamp
in uapi/asound.h, which are not year 2038 safe on 32bit system. This patchset
tries to introduce new structures removing timespec type to compatible native
mode and compat mode.

Moreover this patchset also converts the internal structrures to use timespec64
type and related APIs. 

Baolin Wang (7):
  sound: Replace timespec with timespec64
  sound: core: Avoid using timespec for struct snd_pcm_status
  sound: core: Avoid using timespec for struct snd_pcm_sync_ptr
  sound: core: Avoid using timespec for struct snd_rawmidi_status
  sound: core: Avoid using timespec for struct snd_timer_status
  uapi: sound: Avoid using timespec for struct snd_ctl_elem_value
  sound: core: Avoid using timespec for struct snd_timer_tread

 include/sound/pcm.h               |  113 ++++++++-
 include/sound/timer.h             |    4 +-
 include/uapi/sound/asound.h       |   15 +-
 sound/core/pcm.c                  |   14 +-
 sound/core/pcm_compat.c           |  466 +++++++++++++++++++++++++++++--------
 sound/core/pcm_lib.c              |   33 +--
 sound/core/pcm_native.c           |  227 ++++++++++++++----
 sound/core/rawmidi.c              |   74 +++++-
 sound/core/rawmidi_compat.c       |   90 +++++--
 sound/core/timer.c                |  247 ++++++++++++++++----
 sound/core/timer_compat.c         |   25 +-
 sound/pci/hda/hda_controller.c    |   10 +-
 sound/soc/intel/skylake/skl-pcm.c |    4 +-
 13 files changed, 1046 insertions(+), 276 deletions(-)

-- 
1.7.9.5

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[RFC PATCH 0/7] Fix year 2038 issue for sound subsystem Baolin Wang <baolin.wang@linaro.org> - 2017-09-21 08:20 +0200
  [RFC PATCH 1/7] sound: Replace timespec with timespec64 Baolin Wang <baolin.wang@linaro.org> - 2017-09-21 08:20 +0200
    Re: [RFC PATCH 1/7] sound: Replace timespec with timespec64 Arnd Bergmann <arnd@arndb.de> - 2017-09-21 12:10 +0200
  Re: [RFC PATCH 0/7] Fix year 2038 issue for sound subsystem Takashi Sakamoto <o-takashi@sakamocchi.jp> - 2017-09-22 06:10 +0200
    Re: [RFC PATCH 0/7] Fix year 2038 issue for sound subsystem Baolin Wang <baolin.wang@linaro.org> - 2017-09-22 07:40 +0200
    Re: [RFC PATCH 0/7] Fix year 2038 issue for sound subsystem Takashi Iwai <tiwai@suse.de> - 2017-09-22 11:20 +0200
    Re: [RFC PATCH 0/7] Fix year 2038 issue for sound subsystem Mark Brown <broonie@kernel.org> - 2017-09-22 11:20 +0200

csiph-web