[PATCH 00/16] drivers: y2038 updates

Arnd Bergmann arnd at arndb.de
Fri Nov 8 21:32:38 UTC 2019


These are updates to devidce drivers and file systems that for some
reason or another were not included in the kernel in the previous
y2038 series.

I've gone through all users of time_t again to make sure the
kernel is in a long-term maintainable state.

Posting these as a series for better organization, but each change
here is applicable standalone.

Please merge, review, ack/nack etc as you see fit. My plan is to
include any patches that don't get a reply this time around in
a future pull request, probably for linux-5.6.

As mentioned before, the full series of 90 patches is available at
https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git/log/?h=y2038-endgame

    Arnd

Arnd Bergmann (16):
  staging: exfat: use prandom_u32() for i_generation
  fat: use prandom_u32() for i_generation
  net: sock: use __kernel_old_timespec instead of timespec
  dlm: use SO_SNDTIMEO_NEW instead of SO_SNDTIMEO_OLD
  xtensa: ISS: avoid struct timeval
  um: ubd: use 64-bit time_t where possible
  acct: stop using get_seconds()
  tsacct: add 64-bit btime field
  netfilter: nft_meta: use 64-bit time arithmetic
  packet: clarify timestamp overflow
  quota: avoid time_t in v1_disk_dqblk definition
  hostfs: pass 64-bit timestamps to/from user space
  hfs/hfsplus: use 64-bit inode timestamps
  drm/msm: avoid using 'timespec'
  drm/etnaviv: use ktime_t for timeouts
  firewire: ohci: stop using get_seconds() for BUS_TIME

 arch/um/drivers/cow.h                         |  2 +-
 arch/um/drivers/cow_user.c                    |  7 +++--
 arch/um/drivers/ubd_kern.c                    | 10 +++----
 arch/um/include/shared/os.h                   |  2 +-
 arch/um/os-Linux/file.c                       |  2 +-
 .../platforms/iss/include/platform/simcall.h  |  4 +--
 drivers/firewire/ohci.c                       |  2 +-
 drivers/gpu/drm/etnaviv/etnaviv_drv.c         | 19 ++++++-------
 drivers/gpu/drm/etnaviv/etnaviv_drv.h         | 21 ++++++--------
 drivers/gpu/drm/etnaviv/etnaviv_gem.c         |  5 ++--
 drivers/gpu/drm/etnaviv/etnaviv_gem.h         |  2 +-
 drivers/gpu/drm/etnaviv/etnaviv_gpu.c         |  4 +--
 drivers/gpu/drm/etnaviv/etnaviv_gpu.h         |  4 +--
 drivers/gpu/drm/msm/msm_drv.h                 |  3 +-
 drivers/staging/exfat/exfat_super.c           |  4 +--
 fs/dlm/lowcomms.c                             |  6 ++--
 fs/fat/inode.c                                |  3 +-
 fs/hfs/hfs_fs.h                               | 26 +++++++++++++----
 fs/hfs/inode.c                                |  4 +--
 fs/hfsplus/hfsplus_fs.h                       | 26 +++++++++++++----
 fs/hfsplus/inode.c                            | 12 ++++----
 fs/hostfs/hostfs.h                            | 22 +++++++++------
 fs/hostfs/hostfs_kern.c                       | 15 ++++++----
 fs/quota/quotaio_v1.h                         |  6 ++--
 include/linux/skbuff.h                        |  7 +++--
 include/uapi/linux/acct.h                     |  2 ++
 include/uapi/linux/taskstats.h                |  6 +++-
 kernel/acct.c                                 |  4 ++-
 kernel/tsacct.c                               |  9 ++++--
 net/compat.c                                  |  2 +-
 net/ipv4/tcp.c                                | 28 +++++++++++--------
 net/netfilter/nft_meta.c                      | 10 +++----
 net/packet/af_packet.c                        | 27 +++++++++++-------
 net/socket.c                                  |  2 +-
 34 files changed, 184 insertions(+), 124 deletions(-)

-- 
2.20.0

Cc: jdike at addtoit.com
Cc: richard at nod.at
Cc: jcmvbkbc at gmail.com
Cc: stefanr at s5r6.in-berlin.de
Cc: l.stach at pengutronix.de
Cc: linux+etnaviv at armlinux.org.uk
Cc: christian.gmeiner at gmail.com
Cc: airlied at linux.ie
Cc: daniel at ffwll.ch
Cc: robdclark at gmail.com
Cc: sean at poorly.run
Cc: valdis.kletnieks at vt.edu
Cc: gregkh at linuxfoundation.org
Cc: ccaulfie at redhat.com
Cc: teigland at redhat.com
Cc: hirofumi at mail.parknet.co.jp
Cc: jack at suse.com
Cc: davem at davemloft.net
Cc: edumazet at google.com
Cc: pablo at netfilter.org
Cc: kadlec at netfilter.org
Cc: fw at strlen.de
Cc: willemb at google.com
Cc: viro at zeniv.linux.org.uk
Cc: rfontana at redhat.com
Cc: tglx at linutronix.de
Cc: linux-um at lists.infradead.org
Cc: linux-kernel at vger.kernel.org
Cc: linux1394-devel at lists.sourceforge.net
Cc: etnaviv at lists.freedesktop.org
Cc: dri-devel at lists.freedesktop.org>
Cc: linux-arm-msm at vger.kernel.org>
Cc: freedreno at lists.freedesktop.org>
Cc: devel at driverdev.osuosl.org>
Cc: cluster-devel at redhat.com>
Cc: linux-fsdevel at vger.kernel.org>
Cc: netdev at vger.kernel.org>
Cc: netfilter-devel at vger.kernel.org>
Cc: coreteam at netfilter.org>


More information about the devel mailing list