From patchwork Thu Aug 30 18:09:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sasha Levin X-Patchwork-Id: 145558 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp205842ljw; Thu, 30 Aug 2018 11:09:51 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbRS7HcmenCHPwQNaDcv/VgmFFkI1BsgYna43iWylZ9kbguWQmDjY/6H0FdbD9aTRtI01AQ X-Received: by 2002:a62:34c4:: with SMTP id b187-v6mr11468611pfa.15.1535652591549; Thu, 30 Aug 2018 11:09:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535652591; cv=none; d=google.com; s=arc-20160816; b=YO3ODHBTXDABlrj8SJMPeTAEpogOPoScUMi9bqH8yxVkscYDfi64ll/Oe5Cqv+YWPu lCXEq4aVg6ffRkS5AFeMhSwWr2gpBIGdMG+x2IcUX/Z+VbD4fYrDrdl+2JSVio+YA1C2 tUXXezZnFKFYhy4nUB4JIbVB1ztJ6gumCyKWBVkGdPdu2UgxvJ+loe6sjCPu0YRpINsO LC2NvL5gufvSkeTC+jaY7k6gve7ldmYdo4uk6cuQv5bULEGzoK+qxLTcx6xsWz0djUES 1NKweUhOzLqv/sNwm99XsATwlIKnyRFvZC2S3gqjDsMU5MtMtbMsmjNye1XbzX/st5IY pcLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=rlceGyccwOKyLegE4FG5VCR7ky7bnOjg2JTuCfV8fwQ=; b=XfIg1r2WUd/3DSFgviLB7llIdOxHdYuJEADKCxgYKLwXZ9zEJ0FE1qrN69QzJnpvfg LbbbfZkqN/KQSO8tuqHytMwWJLI3I41Ht3YLqqtt325///gS3gMZI2gVoDj85uWkVht3 RicgGmWUQdQr1meXxtONMrTOJsjhelbZ37ANWfvViiA/aSHWI+be5ip5V0cXmgygf/Y+ UeycMAdVJq2wjcfdkphqTfqu0yokMRb5SCZUnfMk5qymA2ExlPRDtxMo2qXvyDizE1fW R78St5zTnBZQUcGZ0qxJ0+EjDx6wWW6r+awrKCdt+Y6m5e4nfYRhlO8PGZCW9YFFEiai z5KA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=LLw4GT5p; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l30-v6si7251814plg.12.2018.08.30.11.09.51; Thu, 30 Aug 2018 11:09:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=LLw4GT5p; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727850AbeH3WNM (ORCPT + 13 others); Thu, 30 Aug 2018 18:13:12 -0400 Received: from mail-dm3nam03on0098.outbound.protection.outlook.com ([104.47.41.98]:63488 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727387AbeH3WNM (ORCPT ); Thu, 30 Aug 2018 18:13:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rlceGyccwOKyLegE4FG5VCR7ky7bnOjg2JTuCfV8fwQ=; b=LLw4GT5pSRqn+PHNOxjCXKW3b47k0Ocu0SfJFHqQV/cRwQpduBK/Di73tNgOjX+r0gCj9OUcsoR41xLn/EUK2+JlyBo8gwVIKm8yXOvZ+TSrGctaG/H7TnARzBdddctK5dPCqUlhYo8nnXziKYpNPIJOcbSiwpAsTnYAOmkn2Gk= Received: from CY4PR21MB0776.namprd21.prod.outlook.com (10.173.192.22) by CY4PR21MB0693.namprd21.prod.outlook.com (10.175.121.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1122.2; Thu, 30 Aug 2018 18:09:39 +0000 Received: from CY4PR21MB0776.namprd21.prod.outlook.com ([fe80::7c3a:eea8:1391:1611]) by CY4PR21MB0776.namprd21.prod.outlook.com ([fe80::7c3a:eea8:1391:1611%7]) with mapi id 15.20.1122.009; Thu, 30 Aug 2018 18:09:39 +0000 From: Sasha Levin To: "stable@vger.kernel.org" CC: Arnd Bergmann , Jan Kara , Jeff Mahoney , Andrew Morton , Linus Torvalds , Sasha Levin Subject: [PATCH AUTOSEL 4.14 06/67] reiserfs: change j_timestamp type to time64_t Thread-Topic: [PATCH AUTOSEL 4.14 06/67] reiserfs: change j_timestamp type to time64_t Thread-Index: AQHUQIyduUDtBO4hLkyyJJF85XEpAA== Date: Thu, 30 Aug 2018 18:09:39 +0000 Message-ID: <20180830180918.36327-6-alexander.levin@microsoft.com> References: <20180830180918.36327-1-alexander.levin@microsoft.com> In-Reply-To: <20180830180918.36327-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; CY4PR21MB0693; 6:tjBc/id1zKlH8eCS9HLDOT1bZOzA3BqEfyma0cWAQsRvaDVX0lsKKg+tqbKR9rbqTtWfoXBzlvytwj4msl9vJ75L5CgKYX0ro6dkoEWOSwwIuGzbVVLqFp/gy92q64LKPjUmc+UVEE+aK0cHux175ZwAR7DDUOLeSo63RVwfRkGeqZ2dnX/n97vE+2PXVSUfYL21TPFlQkVU1wHMlSva+cxFJ3UCfJzgS0buWS29p1sbgri1hW8PAtUyBUX3m4lR7EpS75u8vPe4EsnKvI4Er80daRTOMJ+lKt0oCJEE3JTHK/I+emZqOxwWmr15HtrP+lW4+o953CRQydQ2L/LJXuhY5I7UB68wzStUk4au8o8q4j4blJA6qIQxqG01IEzv1Wcc5A0+YjDzaJUZgJS52rbwvWpMWPzgTMA77AGtzgCkTbS6fccFe75k7bXXyRYaawlXeR8dm/FgYQMW7HYl/w==; 5:bGKM97RiRy7kG/alvHpNtCE97hxflqleAeG1z60mE8zr7Azm6ml4O9hci1Fzqx+lh/PKFnhvOXFHgfkqkPxQLaGgAVk1J7q4PQs9S+xjH1Y/eME+izWGgmOKXhkfyrXPVduMgp0iB4dNlHR9N6nokmR+4VehqZDysn2lsBZEdRw=; 7:apNgugZGM/ArOEcM0iHSOBR/j7iNO5M+Duq3gt5ptRvrWQxXVUh5qjE6+r8HBeOTO88z/0EXBWGWsZ9WSpVn84PxFTll2AOY/XWwrSnaAMsr6Eso+amQhmjVzvrvfVt3Vysmg3DEJ8zToPrwDh5D7QGstjabWn7xCoJBHHkz8X/klvW8biPYD/wtodCPyNbp1iMzeoav/mjM5eQjCbweMP9E7I74RH/11p5WlZuDU43vft+y3+oj6lkqdCd1shQ5 x-ms-office365-filtering-correlation-id: 795bd895-8baf-43a9-95e8-08d60ea3c092 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(5600074)(711020)(4618075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7193020); SRVR:CY4PR21MB0693; x-ms-traffictypediagnostic: CY4PR21MB0693: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171)(42068640409301); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(3002001)(3231340)(944501410)(52105095)(2018427008)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(20161123562045)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(201708071742011)(7699049)(76991033); SRVR:CY4PR21MB0693; BCL:0; PCL:0; RULEID:; SRVR:CY4PR21MB0693; x-forefront-prvs: 07807C55DC x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(346002)(396003)(39860400002)(376002)(136003)(366004)(189003)(199004)(6116002)(186003)(8676002)(26005)(102836004)(6346003)(14454004)(8936002)(966005)(478600001)(10290500003)(10090500001)(68736007)(22452003)(72206003)(66066001)(6506007)(14444005)(256004)(4326008)(81166006)(316002)(107886003)(25786009)(1730700003)(81156014)(54906003)(3846002)(53936002)(2906002)(1076002)(6306002)(6512007)(6436002)(5640700003)(86362001)(7736002)(575784001)(305945005)(5660300001)(76176011)(86612001)(105586002)(217873002)(6916009)(99286004)(486006)(6486002)(476003)(36756003)(2616005)(11346002)(97736004)(2351001)(446003)(106356001)(2900100001)(2501003)(5250100002); DIR:OUT; SFP:1102; SCL:1; SRVR:CY4PR21MB0693; H:CY4PR21MB0776.namprd21.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-message-info: S6AV/Gupjs2RzjM3Ga9TWdoiO8T9eFuvcZP8DNNtNIqpUbUZ5NvHXlmuDTIA8GcJK5+bULIyDS3uK0SXM5U4erU9C26JFC8NEkOuR0+JNINyUxtYXDaBw9VY/NGfTjBRreHYsG/MoPs+H00B2z3ITe7+0JcsJFQrlucNDeu73jpVL7Rhn3FlFTTZr+rhRCgLA0ebKOHgJ0VoN0OkgvMzthF7SKhD3ldOtQsuMCxiiyEB/tvTgPhlArsh24QxzvwiyncRjWfrlQmj/HIqdRlho88g6T/e9vF/Py4nXHiCI0Xuc1S9hlDM5sAd9b+uvROnmZokuu3BYWMjBAxvxLPA76KD9wq3xpbCHhlvZKHk8VQ= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 795bd895-8baf-43a9-95e8-08d60ea3c092 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Aug 2018 18:09:39.1352 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR21MB0693 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Arnd Bergmann [ Upstream commit 8b73ce6a4bae4fe12bcb2c361c0da4183c2e1b6f ] This uses the deprecated time_t type but is write-only, and could be removed, but as Jeff explains, having a timestamp can be usefule for post-mortem analysis in crash dumps. In order to remove one of the last instances of time_t, this changes the type to time64_t, same as j_trans_start_time. Link: http://lkml.kernel.org/r/20180622133315.221210-1-arnd@arndb.de Signed-off-by: Arnd Bergmann Cc: Jan Kara Cc: Jeff Mahoney Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Sasha Levin --- fs/reiserfs/reiserfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/fs/reiserfs/reiserfs.h b/fs/reiserfs/reiserfs.h index 48835a659948..eabf85371ece 100644 --- a/fs/reiserfs/reiserfs.h +++ b/fs/reiserfs/reiserfs.h @@ -271,7 +271,7 @@ struct reiserfs_journal_list { struct mutex j_commit_mutex; unsigned int j_trans_id; - time_t j_timestamp; + time64_t j_timestamp; /* write-only but useful for crash dump analysis */ struct reiserfs_list_bitmap *j_list_bitmap; struct buffer_head *j_commit_bh; /* commit buffer head */ struct reiserfs_journal_cnode *j_realblock; From patchwork Thu Aug 30 18:09:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sasha Levin X-Patchwork-Id: 145559 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp206109ljw; Thu, 30 Aug 2018 11:10:07 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYaGEFhIOM5RJmoJDKjIkbY+DNIFa5rXCaDljTRKdEHtqsRnrX+8nNUbcWXYLyi6HjKQrde X-Received: by 2002:a17:902:622:: with SMTP id 31-v6mr11268794plg.153.1535652607781; Thu, 30 Aug 2018 11:10:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535652607; cv=none; d=google.com; s=arc-20160816; b=KcFXYuet+JLUsdHz1vf4jM4gm3aEINyPD6z99s+koZQM/u7ozvrEVn/CYytuIlFxRQ Sbl9eT8VjwC+ksqk7y6p/b7+WXZLhT+CBEhbB5xccc02QvENk99yNNFLAQumImKBO9Al xjUvRbKKqVtSl8GBJyMzDtNVxuv1tRCZei3XmX+cHORaBRou09j7/SBo82NUgLGcMrMU KabMQ3NkosEche/IzbOVQ+fQn0wSwTRip82W9lLN4Bq4+JjMFj/F9xF55oZUqt6Tc2uW 4HEgenu7Ui5vEPEIqrjvOFQducvHfpXiVe6LHgntb/al9RbLP2aDOL5JQHDOGarbWD20 wVBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=aVn1jqQ3DcGkNWkqacTmnDOAqG9FWQqk0NnQIQUdJVQ=; b=gJRzsTDrzAHlV/7uMbLzYeF3gpoJsnRxhIt5qbE3ZZf0lzFyaSVXnRHEws8v4t1QPS Dl6FDSqkCVuxfn7OafTkaQeIb4XKW6wkbAFum728V7rjBA5Ks006UsMTHBu8+4bVLEri FEU1LRu7EbQOzUpUTLlsBlAFUgE4m3847nOVHt/sKKUtVFB8CIoJr6b+vBjqn5RVlQFZ C3SiMFRQPC3BjtsjZAk8XOaBBPo9klpp8M4jocfeIkxq+LQHh5CCSazTqy+ZBX+QxEaH t85D9Lyh3z8O1Gs26zB4I4TCxjvf9JNagIDhe1ubuSTABGvqKYJJI+4Ncbtw3XJdpPh7 GDsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=ETC2xI6L; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l30-v6si7251814plg.12.2018.08.30.11.10.07; Thu, 30 Aug 2018 11:10:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=ETC2xI6L; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727865AbeH3WN2 (ORCPT + 13 others); Thu, 30 Aug 2018 18:13:28 -0400 Received: from mail-co1nam03on0095.outbound.protection.outlook.com ([104.47.40.95]:52320 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727387AbeH3WN2 (ORCPT ); Thu, 30 Aug 2018 18:13:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aVn1jqQ3DcGkNWkqacTmnDOAqG9FWQqk0NnQIQUdJVQ=; b=ETC2xI6LPTHFDMN1gCOiSIVCazdN8539Y4kJO045munRxyuW8FvBdK+qyIKMB7a2++87VjN5ehqHksZv4WavaKGJd3sv6+l2SJhSnAU+DYk/bQ4G8lHtGRdU5kkBOcpRGmKrYJyOjYAky8/23MzuK6nOc20RR0llkUCOj1EHUwk= Received: from CY4PR21MB0776.namprd21.prod.outlook.com (10.173.192.22) by CY4PR21MB0693.namprd21.prod.outlook.com (10.175.121.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1122.2; Thu, 30 Aug 2018 18:09:56 +0000 Received: from CY4PR21MB0776.namprd21.prod.outlook.com ([fe80::7c3a:eea8:1391:1611]) by CY4PR21MB0776.namprd21.prod.outlook.com ([fe80::7c3a:eea8:1391:1611%7]) with mapi id 15.20.1122.009; Thu, 30 Aug 2018 18:09:56 +0000 From: Sasha Levin To: "stable@vger.kernel.org" CC: Arnd Bergmann , Thomas Gleixner , Nicolai Stange , "H. Peter Anvin" , Greg Kroah-Hartman , Borislav Petkov , Sasha Levin Subject: [PATCH AUTOSEL 4.14 13/67] x86/mce: Add notifier_block forward declaration Thread-Topic: [PATCH AUTOSEL 4.14 13/67] x86/mce: Add notifier_block forward declaration Thread-Index: AQHUQIyokzDeodArS024f3/+WG7qtw== Date: Thu, 30 Aug 2018 18:09:56 +0000 Message-ID: <20180830180918.36327-13-alexander.levin@microsoft.com> References: <20180830180918.36327-1-alexander.levin@microsoft.com> In-Reply-To: <20180830180918.36327-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; CY4PR21MB0693; 6:nVwAP1DqKxowbm9grb1Ox+sBNb4gQ2oU1qgMuw3WyspGy55v4ldyYFwvcO0HEITPYJCfvepjR+o9ie3gv/MM5VnNC0voS0VrX8egKGI3lL0lPNml6+chZbUPRzFwdEe4ZL/fpLXRd0xOo3yz/Y3oZZHFwIROaxsF5BXMyGSm2kO8Wtn4e+J+Ovlm/iGPJ/a2988qsF8/vcheLVt0ic4uPvz8NdBgVGFLdzMDgk9vkrBGzzpEfePwQB9uVfZG0VoHB59+oGVfMUBl/UCgbziESyCn+2zLvANf0G+NXKJJdNUYo8Ys6Uy9xB5VYduyC+vk4MeZ8oblD1j0TGa9Kk1lllk3jn0L0UxwYFWqORlIMWOHIE6cQyfP7i+j35vRSHbXeQ/FkPVVTFhgxLKcn86QhZwXFH1mCRt88Qb5k6wTtsIqys+vdoMYfJ/yn6SvmuSWgSo5djXlP605SHjMobGzNQ==; 5:FhALb7O369IpOiyk6vxPaRPfTQorwQEHq2vgpZuC4l3BiDLaGS6qdtd3ifS1PcBQa8JmMTiJIrKuD60KLcU/4UTTNvktOSkhTpAwohcCtwhAUUtYRpdTWR0AizR0wf3IrgjFK2k9qRF4d2yfGGC74u2edYxUZYbE+xXcDi8xNeY=; 7:17OgUST5AxIkH1F6/bobnabakttSXWXAgDAx6Llq527JYb0MWlydZjg7a1B+PcjT1phvb1sJs1iXKT2PfrjSQtwqLo1KkoLZYxtFPljF63MZJyKCV2ebumOzC9bJLnZos6XGb4rVnqxuNC5CtWoAYVa2KxLk17ThHKLRcu6W6bRyqu/1hK9U88haoFZG2HkZ2gIqQSpAGbHIthjhDyJDNuTvj7wTt/M+OPTMU2yim7eR0nkqINes2roEzWFbNywH x-ms-office365-filtering-correlation-id: a55b8c98-b19d-4f15-bebf-08d60ea3caa7 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(5600074)(711020)(4618075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7193020); SRVR:CY4PR21MB0693; x-ms-traffictypediagnostic: CY4PR21MB0693: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171)(42068640409301)(17755550239193); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(3002001)(3231340)(944501410)(52105095)(2018427008)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(20161123562045)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(201708071742011)(7699049)(76991033); SRVR:CY4PR21MB0693; BCL:0; PCL:0; RULEID:; SRVR:CY4PR21MB0693; x-forefront-prvs: 07807C55DC x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(346002)(396003)(39860400002)(376002)(136003)(366004)(189003)(199004)(6116002)(186003)(8676002)(26005)(102836004)(6346003)(14454004)(8936002)(966005)(478600001)(10290500003)(10090500001)(68736007)(22452003)(72206003)(66066001)(6506007)(14444005)(256004)(4326008)(81166006)(316002)(107886003)(25786009)(1730700003)(81156014)(54906003)(3846002)(53936002)(2906002)(1076002)(6306002)(6512007)(6436002)(5640700003)(86362001)(7736002)(305945005)(5660300001)(76176011)(86612001)(105586002)(217873002)(6916009)(99286004)(486006)(6486002)(476003)(36756003)(2616005)(11346002)(97736004)(2351001)(446003)(106356001)(2900100001)(2501003)(5250100002); DIR:OUT; SFP:1102; SCL:1; SRVR:CY4PR21MB0693; H:CY4PR21MB0776.namprd21.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-message-info: IhN2+db/afkwm7RiGS/CGqMDUYwTkW4+xtRxRbwDwhzNQwUX/5r5qB6QVGmoPOTfQE+zFHIndGUXlQitvg9HXqSoGncNdTY/RE7h21Nf/pcxbxcivKhLBg2dV7vl5Xzkz6wMAwwmkdqNEzINaZ8LgiYr/G78Doetj+9BHEXw75Egr87cNPYYkz4uiR4nmJjS6c2u0mq0Fd09JnCUBgAgi8QX8IFuQvb2MWSlVo1qxDQiauSF1PY25Yh1Z9i0w2LyERxQLSK2wzOIyBRAXkvA893KBnKg6iBDRgQZK4hBwZU1f+/zlDHH9PFiFR6HWsfeCW4X4wvnpuAX2ZBNUz4iyuqXtsDz+75QYtKdR71wqwY= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: a55b8c98-b19d-4f15-bebf-08d60ea3caa7 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Aug 2018 18:09:56.1312 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR21MB0693 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Arnd Bergmann [ Upstream commit 704ae091b061082b37a9968621af4c290c641d50 ] Without linux/irq.h, there is no declaration of notifier_block, leading to a build warning: In file included from arch/x86/kernel/cpu/mcheck/threshold.c:10: arch/x86/include/asm/mce.h:151:46: error: 'struct notifier_block' declared inside parameter list will not be visible outside of this definition or declaration [-Werror] It's sufficient to declare the struct tag here, which avoids pulling in more header files. Fixes: 447ae3166702 ("x86: Don't include linux/irq.h from asm/hardirq.h") Signed-off-by: Arnd Bergmann Signed-off-by: Thomas Gleixner Cc: Nicolai Stange Cc: "H. Peter Anvin" Cc: Greg Kroah-Hartman Cc: Borislav Petkov Link: https://lkml.kernel.org/r/20180817100156.3009043-1-arnd@arndb.de Signed-off-by: Sasha Levin --- arch/x86/include/asm/mce.h | 1 + 1 file changed, 1 insertion(+) -- 2.17.1 diff --git a/arch/x86/include/asm/mce.h b/arch/x86/include/asm/mce.h index 340070415c2c..90fef69e4c5a 100644 --- a/arch/x86/include/asm/mce.h +++ b/arch/x86/include/asm/mce.h @@ -200,6 +200,7 @@ enum mce_notifier_prios { MCE_PRIO_LOWEST = 0, }; +struct notifier_block; extern void mce_register_decode_chain(struct notifier_block *nb); extern void mce_unregister_decode_chain(struct notifier_block *nb); From patchwork Thu Aug 30 18:10:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sasha Levin X-Patchwork-Id: 145560 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp206157ljw; Thu, 30 Aug 2018 11:10:10 -0700 (PDT) X-Google-Smtp-Source: ANB0VdarElHlmEXhW0vWc8urkVbK331e0OkUNhf+sPiSXw0BGLTmzWk428xw9cauOnKGWvfnXuuA X-Received: by 2002:a17:902:708a:: with SMTP id z10-v6mr6728340plk.229.1535652610166; Thu, 30 Aug 2018 11:10:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535652610; cv=none; d=google.com; s=arc-20160816; b=K7JGGiZ/QDxi1znt05X1CrHg/bbwRGnKklqh/+X16k2D/jT3n6ps3h4lrqwQuq6OcS 0+Bfmi0LYTI8l3Kfuy2+AZG17Ihyr3iBioivJ86qS73lpIUeCNqNl73HuNFqko4m2d6z FbxSEEaNJ8CfLPEfzoaXEeDl+nquaAsw7fhelxkZ919yKiiUEJV85dAoGjoDxiEifqYD Ledz8mEuE26PNJRObjwwRkj5TOTsQpAcnmyRGeCh5YRNmCgb59bDO16Br+Nwrv3uGVmM hdtlZi380leBBwCAVLg2KHUdmOmK9at8EnLAULauflBVWTf7dosu9MYIWfZNjnVwbw/z y04g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=A74+aZD4TMQ2zTCNsSdLVBRnMbr2OtNpyyJz4vqZaiU=; b=Jg11MoRggyF4H+OCuiPm89oGUngE8ppbbVNPSvqLMhGekI2wZseGEZBeAYulRvqidg gOX2c5iQD2291ZTYR0o898BnxKFvNGVUmFXBY8J1jTpmQD+Tg6EIlIpKtPfO8cWBQt56 2Nl/aWA+5gZ/ZivQQIgG0HN3FoJFgxa57Ni1BdSc9a1OONpb9og7ON7dtv1NJirnLZI6 r56SRstRB9MPUrzkJ9L8WkHR3/Cj7B/QtcoEkHhBiCmcnrgf9iwRage3n31lwbqv+U3f vaq/u05+9ZXUXTEI0ehHpDdFf5bZwItLASk5dh8Q6qTE1idcCfsrXquU79ZzudXC6JXd 7QRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=Le0ZSkO4; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l30-v6si7251814plg.12.2018.08.30.11.10.09; Thu, 30 Aug 2018 11:10:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=Le0ZSkO4; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727868AbeH3WNb (ORCPT + 13 others); Thu, 30 Aug 2018 18:13:31 -0400 Received: from mail-co1nam03on0095.outbound.protection.outlook.com ([104.47.40.95]:52320 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727387AbeH3WNa (ORCPT ); Thu, 30 Aug 2018 18:13:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=A74+aZD4TMQ2zTCNsSdLVBRnMbr2OtNpyyJz4vqZaiU=; b=Le0ZSkO4hMzKGAx4J0K1e6BdsaV/hJVT9c+6ch9e/hZ1wTsT7SW+qAbrg3CDAGFKP7pxcpuCAAifpAEEtFSz8iqK81jxmZfXxxzBmSjPxhR3YyW/CvqWhOkZElu2hWRvapEK0Vo9nZu0pB4hP53hi7Cgy572qTeMHHTTXt6Lbjo= Received: from CY4PR21MB0776.namprd21.prod.outlook.com (10.173.192.22) by CY4PR21MB0693.namprd21.prod.outlook.com (10.175.121.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1122.2; Thu, 30 Aug 2018 18:10:00 +0000 Received: from CY4PR21MB0776.namprd21.prod.outlook.com ([fe80::7c3a:eea8:1391:1611]) by CY4PR21MB0776.namprd21.prod.outlook.com ([fe80::7c3a:eea8:1391:1611%7]) with mapi id 15.20.1122.009; Thu, 30 Aug 2018 18:10:00 +0000 From: Sasha Levin To: "stable@vger.kernel.org" CC: Jerome Brunet , Thierry Reding , Sasha Levin Subject: [PATCH AUTOSEL 4.14 15/67] pwm: meson: Fix mux clock names Thread-Topic: [PATCH AUTOSEL 4.14 15/67] pwm: meson: Fix mux clock names Thread-Index: AQHUQIyq8JdOaVPGiUGooxOepYkkVg== Date: Thu, 30 Aug 2018 18:10:00 +0000 Message-ID: <20180830180918.36327-15-alexander.levin@microsoft.com> References: <20180830180918.36327-1-alexander.levin@microsoft.com> In-Reply-To: <20180830180918.36327-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; CY4PR21MB0693; 6:uzxfcWi5w2J0BR/dxap24diYPMmIZ6P14l+jRgNNsd+TMeAhXlV1Lo+acN8TW/z6lKMl2cJYcJYg4h3ewhbeH0vtUgKe2XMfAEqR5xbpsH0yM7jsBbgMZGp2Ppb0ZTXvFQtPhFSqbmtaOrDBfQMSPB4Kz5blkA7K8p/nv8h3Wsy8yXeEnbu3KR+Pt41M1hOLsIyslShowWYEgkBirH0slr5Va/p4zxlqegkIabmOjdCIupVC+h8/n+fgfYWdPPTUTMRFOa7JhTndBpKPJrY8NAjWHI3A0oNiWAHXPyx0mdU3CUXqv1t9/WLsO2JUu6J7CZl6pUdVyF3tIhagHQGpHInmYpvCAv49pRRz1PlE8uxaQXWdgNNs9gLzVwr0S6xKMmpOSuFViGnrbKFQdAyzFeREF4z45JieM/FGdrI1cIRQ1nqhcgu6kYsE+eYa7r6FwhUQ8sHviqK/6YDdgD940Q==; 5:Q7NVjPLvLrkAxEdL8T3Q80I3bxPPb3HNKermuRsGpbjFyGkE8/3B9iK17lHdIo26bTUCgrv8n+rYqxnykRhCs2Roc3keu94aT7y79aPBfwlW+1ca3MUvov9A051mFsjeaWh5FYhuao+Kt2etH3J4lzJX4Mz1NS4juMfzkPi9gGI=; 7:HyGAIIndBUdRgLlj7Azlv8NMdT5dqfjodhsnNfVBkJiy98OVEKc3coR4YJHWxtO17nnsft/DJXOs4rNZNuxlOePq08nO1ckQo+5rLcKgo0pFHiK630cnVoKBm+rp++ErMkU++YZKOz39Bf20m9m6ZtutbLoOnoLe8Yo77hFt3zcfxgFtLQf+uZutQ3A+uEkZrQqI9DH/QuII+0Xe1pmWzj0hN39QwYw1Ey5OZQyyANjLo6Swgb2cYkUgLeC5jX5e x-ms-office365-filtering-correlation-id: f69832a0-93de-4ce2-5b40-08d60ea3ccf7 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(5600074)(711020)(4618075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7193020); SRVR:CY4PR21MB0693; x-ms-traffictypediagnostic: CY4PR21MB0693: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171)(85827821059158); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(3002001)(3231340)(944501410)(52105095)(2018427008)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(20161123562045)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(201708071742011)(7699049)(76991033); SRVR:CY4PR21MB0693; BCL:0; PCL:0; RULEID:; SRVR:CY4PR21MB0693; x-forefront-prvs: 07807C55DC x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(346002)(396003)(39860400002)(376002)(136003)(366004)(189003)(199004)(6116002)(186003)(8676002)(26005)(102836004)(6346003)(14454004)(8936002)(478600001)(10290500003)(10090500001)(68736007)(22452003)(72206003)(66066001)(6506007)(256004)(4326008)(81166006)(316002)(107886003)(39060400002)(25786009)(1730700003)(81156014)(54906003)(3846002)(53936002)(2906002)(1076002)(6512007)(6436002)(5640700003)(86362001)(7736002)(305945005)(5660300001)(76176011)(86612001)(105586002)(217873002)(6916009)(99286004)(486006)(6486002)(476003)(36756003)(2616005)(11346002)(97736004)(2351001)(446003)(106356001)(2900100001)(2501003)(5250100002); DIR:OUT; SFP:1102; SCL:1; SRVR:CY4PR21MB0693; H:CY4PR21MB0776.namprd21.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-message-info: w3NVY07IoXXgmt3qOrDHOl3ybAhjb0elnf+o+0vV62oHtXKWn5M4j+bKeivWj1Ww+56Srqlx1E9pS7/W8xdh1tEUhVd90KZpCdKVZ/wrjE634raWqpqtCoNdN6vVLeE/mNtM0/URWxQD7+xWVVeC0ii52ue8NIRCCvgFpyk1/QDQ/c9RLxl+eAuIYbpQjQ4a1W1/8W883hmC1ixPfUhhXGrZrxw6dYFUrRZxSWlWQr9LlFc6bVQh80ZxlNdHF+bWyb3L7bzGHmYF6GEV6Jqgg3UZSNVCX7kZDln0Hh5NpwfxoONB6s7N+Wsj7gxVLDDpUL2s3krAmWA4ulSEFiwGSEf8Pvqr3yN5oHgOXfVxQ6g= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: f69832a0-93de-4ce2-5b40-08d60ea3ccf7 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Aug 2018 18:10:00.0434 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR21MB0693 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Jerome Brunet [ Upstream commit b96e9eb62841c519ba1db32d036628be3cdef91f ] Current clock name looks like this: /soc/bus@ffd00000/pwm@1b000#mux0 This is bad because CCF uses the clock to create a directory in clk debugfs. With such name, the directory creation (silently) fails and the debugfs entry end up being created at the debugfs root. With this change, the clock name will now be: ffd1b000.pwm#mux0 This matches the clock naming scheme used in the ethernet and mmc driver. It also fixes the problem with debugfs. Fixes: 36af66a79056 ("pwm: Convert to using %pOF instead of full_name") Signed-off-by: Jerome Brunet Acked-by: Neil Armstrong Signed-off-by: Thierry Reding Signed-off-by: Sasha Levin --- drivers/pwm/pwm-meson.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 2.17.1 diff --git a/drivers/pwm/pwm-meson.c b/drivers/pwm/pwm-meson.c index d589331d1884..3540d00425d0 100644 --- a/drivers/pwm/pwm-meson.c +++ b/drivers/pwm/pwm-meson.c @@ -432,7 +432,6 @@ static int meson_pwm_init_channels(struct meson_pwm *meson, struct meson_pwm_channel *channels) { struct device *dev = meson->chip.dev; - struct device_node *np = dev->of_node; struct clk_init_data init; unsigned int i; char name[255]; @@ -441,7 +440,7 @@ static int meson_pwm_init_channels(struct meson_pwm *meson, for (i = 0; i < meson->chip.npwm; i++) { struct meson_pwm_channel *channel = &channels[i]; - snprintf(name, sizeof(name), "%pOF#mux%u", np, i); + snprintf(name, sizeof(name), "%s#mux%u", dev_name(dev), i); init.name = name; init.ops = &clk_mux_ops;