Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp627217img; Thu, 28 Feb 2019 05:24:04 -0800 (PST) X-Google-Smtp-Source: AHgI3IZofMOCyRwvrViiMQf/mgaF6OpnW6bdfNNacHGvSj6U/iuutrF5peQHZx9rZtXinJQZVaZC X-Received: by 2002:a17:902:6b4b:: with SMTP id g11mr7802405plt.92.1551360244494; Thu, 28 Feb 2019 05:24:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551360244; cv=none; d=google.com; s=arc-20160816; b=jjjSPwtAsgYKK9zrPVIBFyO+0fk9/4hKLSColX16+I3cSbVAL5N7SK6aU6DO+5f6Jd EmDabQdeYwQgo5QNnVpQFZ3x1jfjYg81iJTAu0o45UNaTqURHFGAUafSUtBYm+Qxb1PF ntUp5VgGrTSWrCd24LeOj8QleNe6uac3CQkNH+gCJbsLIp3JyBd4BO6kIc6kWN4TwKnL 97r5+A/ZqY0UiFxnPikqahCdqOIv/AJwAHw5EtKb25fJQY7wG0YwE3Q6dQl46mRT9Pzp WEV8Md0wUZy9xAs8btgURFvPch37U1fvy0/nrkaG/Ym+mYA0TmTq5Mk7aNOlRcpe0xcs D7Fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=bzKFGYKGHUHEhTS9roOtXBF0XfhAMVzbbepapN3M6s4=; b=v4cbB0EoaZRHvL7IUFLLf0ecnaFEPn0ntUc77CQYWpOIYWxfWez5g6Flo3SW+HWIsS xn4TN5E648Y7kIpMM+hAfQ5WFRq0Us7adAhPwhrEztYf1w6+YgAepG7DndGg5+pLzwzZ x7enaix0kVqEnQByN2pEdHEU7xJQxm1hCUudyL+GWHM03dFdmdbcGDmo8dP+xa8Tlzw0 wOQRUM7AznMLEcM3r3imGvXuD4E/Zu3m8uIjtz+TUr7ogaTqtq1rqn5/98vZWQtz8J8b ZvJfLWwB+aaykh7yWBw2kTXOojtO8AbZxy46xqIgZ82v7d0ezzUZ5GAU7m6IHhrAsmeF G+XQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=MNBEdyw4; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=163.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t66si11283024pfb.178.2019.02.28.05.23.49; Thu, 28 Feb 2019 05:24:04 -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=@163.com header.s=s110527 header.b=MNBEdyw4; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=163.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732192AbfB1Lxy (ORCPT + 99 others); Thu, 28 Feb 2019 06:53:54 -0500 Received: from m12-11.163.com ([220.181.12.11]:51474 "EHLO m12-11.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725896AbfB1Lxx (ORCPT ); Thu, 28 Feb 2019 06:53:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id; bh=bzKFGYKGHUHEhTS9ro OtXBF0XfhAMVzbbepapN3M6s4=; b=MNBEdyw4wTf5gPaOZt6ePUBIdfPydrlVUq Aaii86lgNH1daiw0XkvPNUT3wDlCPZVAks5/viWawNXGyoQIFcqcHIdFV5fPXeZL +lFgOj/s3lPmxPEKVGQ4C7fv/3HGqoEFn5YQbodvLN9xkf/RReUfDwgQc4omTzqm qAeOSXWpc= Received: from localhost.localdomain (unknown [182.139.212.96]) by smtp7 (Coremail) with SMTP id C8CowADHEG11y3dc3QnWHg--.19928S2; Thu, 28 Feb 2019 19:52:22 +0800 (CST) From: WangBo To: linux-kernel@vger.kernel.org Cc: akpm@linux-foundation.org, yamada.masahiro@socionext.com, paulmck@linux.ibm.com, wang.bo116@zte.com.cn Subject: [PATCH] include/linux/types.h: use "unsigned int" instead of "unsigned" Date: Thu, 28 Feb 2019 19:52:19 +0800 Message-Id: <1551354739-6648-1-git-send-email-wdjjwb@163.com> X-Mailer: git-send-email 2.7.4 X-CM-TRANSID: C8CowADHEG11y3dc3QnWHg--.19928S2 X-Coremail-Antispam: 1Uf129KBjvdXoW7Wr4xAw4kAw1xKFy8Zr15CFg_yoW3Arg_Aa 18Ar4xuw4DXFnavFnrKrW5J345ZrWIqFW8WFn3WFnIqrZFyrW5tw48KFyqvrn3ua13Aw43 XF4DWryI9r109jkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IU8gzVUUUUUU== X-Originating-IP: [182.139.212.96] X-CM-SenderInfo: xzgmy4re6rljoofrz/1tbiEBNpGVWBj8mP2wAAs1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use "unsigned int" instead of "unsigned" ,it make code more clear. Signed-off-by: WangBo --- 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