From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751174AbdFAUZg (ORCPT ); Thu, 1 Jun 2017 16:25:36 -0400 Received: from mail-pf0-f179.google.com ([209.85.192.179]:35555 "EHLO mail-pf0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751029AbdFAUZf (ORCPT ); Thu, 1 Jun 2017 16:25:35 -0400 Date: Thu, 1 Jun 2017 13:25:33 -0700 From: Kees Cook To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, Christoph Hellwig , Trond Myklebust Subject: [GIT PULL] gcc-plugin updates for v4.12-rc4 Message-ID: <20170601202533.GA124695@beast> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Christoph Hellwig recommended that I send these fixes now, rather than waiting for the v4.13 merge window. These are all initializer and cast fixes needed for the future randstruct plugin that haven't been picked up by the respective maintainers. If this is agreeable, please pull these gcc-plugins updates for v4.12-rc4. Thanks! -Kees The following changes since commit 08332893e37af6ae779367e78e444f8f9571511d: Linux 4.12-rc2 (2017-05-21 19:30:23 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/gcc-plugins-v4.12-rc4 for you to fetch changes up to 243dd05d39aa14fac2ffde75cc66dee3270896f8: mtk-vcodec: Use designated initializers (2017-05-28 10:23:02 -0700) ---------------------------------------------------------------- Use designated initializers for mtk-vcodec, powerplay, amdgpu, and sgi-xp. Use ERR_CAST() to avoid cross-structure cast in ocf2, ntfs, and NFS. ---------------------------------------------------------------- Kees Cook (7): NFS: Use ERR_CAST() to avoid cross-structure cast ntfs: Use ERR_CAST() to avoid cross-structure cast ocfs2: Use ERR_CAST() to avoid cross-structure cast sgi-xp: Use designated initializers drm/amdgpu: Use designated initializers drm/amd/powerplay: Use designated initializers mtk-vcodec: Use designated initializers drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c | 10 +++--- .../gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c | 20 ++++++------ .../media/platform/mtk-vcodec/vdec/vdec_h264_if.c | 8 ++--- .../media/platform/mtk-vcodec/vdec/vdec_vp8_if.c | 8 ++--- .../media/platform/mtk-vcodec/vdec/vdec_vp9_if.c | 8 ++--- drivers/misc/sgi-xp/xp.h | 12 +++++++- drivers/misc/sgi-xp/xp_main.c | 36 +++++----------------- fs/nfs/namespace.c | 2 +- fs/ntfs/namei.c | 2 +- fs/ocfs2/export.c | 2 +- 10 files changed, 48 insertions(+), 60 deletions(-) -- Kees Cook Pixel Security