From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751550AbdB0X0j (ORCPT ); Mon, 27 Feb 2017 18:26:39 -0500 Received: from mail-yw0-f196.google.com ([209.85.161.196]:33613 "EHLO mail-yw0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751285AbdB0X0h (ORCPT ); Mon, 27 Feb 2017 18:26:37 -0500 Date: Mon, 27 Feb 2017 15:51:29 -0500 From: Tejun Heo To: Linus Torvalds Cc: linux-kernel@vger.kernel.org Subject: [GIT PULL] workqueue changes for v4.11-rc1 Message-ID: <20170227205129.GA11758@htj.duckdns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.7.1 (2016-10-04) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, Just one patch to silence clang's warnings. Thanks. The following changes since commit 6d04dfc8966019b8b0977b2cb942351f13d2b178: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2017-02-01 11:52:27 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq.git for-4.11 for you to fetch changes up to a45463cbf3f9dcdae683033c256f50bded513d6a: workqueue: avoid clang warning (2017-02-02 15:22:18 -0500) ---------------------------------------------------------------- Arnd Bergmann (1): workqueue: avoid clang warning include/linux/workqueue.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h index a26cc437..bde063c 100644 --- a/include/linux/workqueue.h +++ b/include/linux/workqueue.h @@ -106,9 +106,9 @@ struct work_struct { #endif }; -#define WORK_DATA_INIT() ATOMIC_LONG_INIT(WORK_STRUCT_NO_POOL) +#define WORK_DATA_INIT() ATOMIC_LONG_INIT((unsigned long)WORK_STRUCT_NO_POOL) #define WORK_DATA_STATIC_INIT() \ - ATOMIC_LONG_INIT(WORK_STRUCT_NO_POOL | WORK_STRUCT_STATIC) + ATOMIC_LONG_INIT((unsigned long)(WORK_STRUCT_NO_POOL | WORK_STRUCT_STATIC)) struct delayed_work { struct work_struct work; -- tejun