Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752591AbdG1R1C (ORCPT ); Fri, 28 Jul 2017 13:27:02 -0400 Received: from mail-by2nam03on0059.outbound.protection.outlook.com ([104.47.42.59]:48269 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752273AbdG1R1B (ORCPT ); Fri, 28 Jul 2017 13:27:01 -0400 From: "Deucher, Alexander" To: "'Kees Cook'" , Alex Deucher CC: LKML , David Airlie , amd-gfx list , Maling list - DRI developers , "Zhu, Rex" , "Koenig, Christian" , "Zhang, Hawking" Subject: RE: [PATCH] drm/amd/powerplay: rv: Use designated initializers Thread-Topic: [PATCH] drm/amd/powerplay: rv: Use designated initializers Thread-Index: AQHTBY+v6iVoD6cajEyjDuL5hUs7PaJoerWAgAEEdYCAAAL/cA== Date: Fri, 28 Jul 2017 17:26:57 +0000 Message-ID: References: <20170725214756.GA102262@beast> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Deucher@amd.com; x-originating-ip: [165.204.55.251] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;BN6PR12MB1297;20:JQLUwVpOYTmLoXpgvZraNhFQKyeq5d15T+O2M019R20M2XSsctcJOgS1oP5uN+O6bKxLVM8p8sNwo7r+6XDeJGaqAhZvNiVNwFbP4EbMY280L9lwgcklwJwrDET55Nyu8wvPQ9RAMOedSNupUwoUwMYkh+lFa7KrvHyCWBMKhSYHJlbvo2zm06jW8JCfqNEhUhCnYMqi3E0JkIdYLrXCHU+8UlT4Dd5ID1pjtDIvGg2JvXAyML2sKN7OZfxdjZVK x-forefront-antispam-report: SFV:SKI;SCL:-1;SFV:NSPM;SFS:(10009020)(6009001)(39850400002)(39860400002)(39840400002)(39400400002)(39450400003)(39410400002)(377454003)(24454002)(189002)(199003)(13464003)(34040400001)(189998001)(101416001)(97736004)(2906002)(8936002)(33656002)(68736007)(74316002)(86362001)(102836003)(6116002)(5660300001)(7696004)(53546010)(2950100002)(3846002)(66066001)(25786009)(38730400002)(305945005)(8676002)(4326008)(55016002)(54906002)(6246003)(14454004)(99286003)(9686003)(7736002)(6436002)(106356001)(50986999)(76176999)(54356999)(39060400002)(6506006)(478600001)(3280700002)(3660700001)(81156014)(81166006)(53936002)(105586002)(2900100001)(77096006)(229853002)(72206003);DIR:OUT;SFP:1101;SCL:1;SRVR:BN6PR12MB1297;H:BN6PR12MB1652.namprd12.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; x-ms-office365-filtering-correlation-id: 7078515d-a253-4d41-38f2-08d4d5ddd921 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254075)(300000503095)(300135400095)(48565401081)(2017052603031)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:BN6PR12MB1297; x-ms-traffictypediagnostic: BN6PR12MB1297: x-exchange-antispam-report-test: UriScan:(192374486261705)(767451399110)(211936372134217); x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3002001)(100000703101)(100105400095)(920507026)(6055026)(6041248)(20161123560025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123562025)(20161123555025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:BN6PR12MB1297;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:BN6PR12MB1297; x-forefront-prvs: 03827AF76E spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Jul 2017 17:26:57.2253 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR12MB1297 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by nfs id v6SHR7d6025097 Content-Length: 1684 Lines: 49 > -----Original Message----- > From: keescook@google.com [mailto:keescook@google.com] On Behalf Of > Kees Cook > Sent: Friday, July 28, 2017 1:16 PM > To: Alex Deucher > Cc: LKML; David Airlie; amd-gfx list; Maling list - DRI developers; Deucher, > Alexander; Zhu, Rex; Koenig, Christian; Zhang, Hawking > Subject: Re: [PATCH] drm/amd/powerplay: rv: Use designated initializers > > On Thu, Jul 27, 2017 at 6:43 PM, Alex Deucher > wrote: > > On Tue, Jul 25, 2017 at 5:47 PM, Kees Cook > wrote: > >> As done for vega10 in commit 3ddd396f6b57 ("drm/amd/powerplay: Use > >> designated initializers") mark other tableFunction entries with designated > >> initializers. The randstruct plugin requires designated initializers for > >> structures that are entirely function pointers. > >> > >> Cc: Rex Zhu > >> Cc: Hawking Zhang > >> Cc: Alex Deucher > >> Signed-off-by: Kees Cook > >> --- > >> If I can get an Ack for this, I'll carry it in the gcc-plugins tree, unless > >> you think this is worth landing for v4.13, in which case, please take it > >> now. :) > >> > > > > Acked-by: Alex Deucher > > > > I'm happy to take this through my tree if that is ok with you. > > Since the randstruct patch depends on this fix, it's likely best to go > through my tree unless you can get this into v4.13. (Since then when > the randstruct patch lands in v4.14, it'll already be there.) I'm fine > either way. Go ahead and take it through your tree. Thanks! Alex > > Thanks! > > -Kees > > -- > Kees Cook > Pixel Security