Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp733031img; Thu, 28 Feb 2019 07:04:09 -0800 (PST) X-Google-Smtp-Source: AHgI3IbPytmxCqtx1l7KNclKKnVHdukiv+IsSWpkE3rq5mJBFfpNxgAILDwZ6hjVS3rSshs2rMdU X-Received: by 2002:a17:902:ba84:: with SMTP id k4mr8541866pls.103.1551366249109; Thu, 28 Feb 2019 07:04:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551366249; cv=none; d=google.com; s=arc-20160816; b=BtC61N5z2Lp2OCAnTgg6vThAGJFkvhRc3G0g0hkPxLw1fHpCIHuvOHsWe6ekapc5W1 kXMPvH4RSIHWX0xbsOexLAABLzSgP2Whfy5z4rueUEBoQH/z0uDmo/0neJsUBqBSeMVR UzlYDj5uKgslTxt2GflI2kKgUZSpL5A/kgvut8ZCp5jYyzji7CGtUVco/6+AbyCZ8aNL A8DzeM3MnVrxjov7i7bOxHPN6BACbUv9T8hI08JHMP0ILTW+qzaQOvBVtqWJsJbovsTh FtBpoTS+808djU7w6zLxjvBnl8CqdiMKO+j1a0QJXyefBLnKUerav4pFdM3FQzZLtOmg McoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature:dkim-filter; bh=vqBEZCQiWIroU1NjDU7+o8Bhv78NU69t71qRenVlVJs=; b=e75piFaKkTdTWi2hfeoJzMacnq5n3eiz6ieJwob/JZVhF+dLkCiCyKgS43b+HOssJN +fylopXY9alBsckKrClwRDkCUA8k3jqMOVTXBgPyKw77WWR6QEn4XGtCPaLP1PBlJcMK mCr3wLQZ2JUSoVvAxrrODjTPhgsnOCzapbF13LtlXbZKB5SL2Gpsx8ABfJk5nKTsesAk nq2RIy5Cbtr1+rEwwBOcHDwWuGZVmgSqR9UtH3mrbjC9z1eBAWdE2JTVDk3rDrKJ4UK9 t4TulZOfHfFE3EwZjS5GXqXrxvpzfHAw1cWIKwpcSBYmey/ZbkYtqL6U6+KBooapgvIs Dduw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=LJPhTa9O; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u84si18884124pfa.134.2019.02.28.07.03.52; Thu, 28 Feb 2019 07:04:09 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=@nifty.com header.s=dec2015msa header.b=LJPhTa9O; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731565AbfB1Ojr (ORCPT + 99 others); Thu, 28 Feb 2019 09:39:47 -0500 Received: from conssluserg-01.nifty.com ([210.131.2.80]:53982 "EHLO conssluserg-01.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730388AbfB1Ojr (ORCPT ); Thu, 28 Feb 2019 09:39:47 -0500 Received: from mail-ua1-f46.google.com (mail-ua1-f46.google.com [209.85.222.46]) (authenticated) by conssluserg-01.nifty.com with ESMTP id x1SEdhIG014817 for ; Thu, 28 Feb 2019 23:39:43 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com x1SEdhIG014817 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1551364784; bh=vqBEZCQiWIroU1NjDU7+o8Bhv78NU69t71qRenVlVJs=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=LJPhTa9O6GdsRgzeuuSy93W1kaBkSFQil05DpjpcrAh2n/ZAliAfhKTXxuUOzfIFX 6Zv1oivqSramjbkFlCxn++cpbXYjPm6IuUTDA3roO4oizddSQb3gfDp60RM6PPcavV JZWQo3P9U9Z/0Q3DXoKnqWpZfZVe3TZLONOwidqGMLZVhp2SX5o1eLLTi/UrxeHGOS JmZ+/tjx9XEpmi+Xr4FqrKdKoaNhceC9rkuXj2+pC6CPM7SwnPgBG7cuwzwR5tNAhP MTSdJC//udTFdYXvCbZhcsKq1LJzOw7UXZ814vo+ShPEtbLtdROZcUGbkZn0LCA0Mm yWnb3cysmfCoA== X-Nifty-SrcIP: [209.85.222.46] Received: by mail-ua1-f46.google.com with SMTP id g1so8199499uae.10 for ; Thu, 28 Feb 2019 06:39:43 -0800 (PST) X-Gm-Message-State: AHQUAuYlrFgA40f4Ctn2b87ykrtj9T4x63VVBA35LiIPZ3ym3BiXxbBn VTH9MPkxkgvXfPeOvrD731ekItRnSS/6pp8jV2k= X-Received: by 2002:a9f:314d:: with SMTP id n13mr5368163uab.6.1551364782745; Thu, 28 Feb 2019 06:39:42 -0800 (PST) MIME-Version: 1.0 References: <1551354739-6648-1-git-send-email-wdjjwb@163.com> In-Reply-To: <1551354739-6648-1-git-send-email-wdjjwb@163.com> From: Masahiro Yamada Date: Thu, 28 Feb 2019 23:39:06 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] include/linux/types.h: use "unsigned int" instead of "unsigned" To: WangBo Cc: Linux Kernel Mailing List , Andrew Morton , "Paul E . McKenney" , wang.bo116@zte.com.cn Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 28, 2019 at 9:21 PM WangBo wrote: > > Use "unsigned int" instead of "unsigned" ,it make code more clear. > > Signed-off-by: WangBo Reviewed-by: Masahiro Yamada > --- > include/linux/types.h | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/include/linux/types.h b/include/linux/types.h > index c2615d6..cc0dbbe 100644 > --- a/include/linux/types.h > +++ b/include/linux/types.h > @@ -155,9 +155,9 @@ typedef u64 dma_addr_t; > typedef u32 dma_addr_t; > #endif > > -typedef unsigned __bitwise gfp_t; > -typedef unsigned __bitwise slab_flags_t; > -typedef unsigned __bitwise fmode_t; > +typedef unsigned int __bitwise gfp_t; > +typedef unsigned int __bitwise slab_flags_t; > +typedef unsigned int __bitwise fmode_t; > > #ifdef CONFIG_PHYS_ADDR_T_64BIT > typedef u64 phys_addr_t; > -- > 2.7.4 > > -- Best Regards Masahiro Yamada