Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp660605imm; Wed, 4 Jul 2018 03:52:58 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeHwdOGa0RM0MbidyArq6DSIR5ii9DXQfrIrGT1ITFCdZgB/hG1c7Sq0RPxEgMplPnpcFAd X-Received: by 2002:a62:569c:: with SMTP id h28-v6mr1653425pfj.201.1530701578079; Wed, 04 Jul 2018 03:52:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530701578; cv=none; d=google.com; s=arc-20160816; b=vqAGea3E1dszcYte3SobCaDdzckKfE7GNiWcMYu1IdcK2nvceC6q11I8n5318PhxU8 n9f+aA1r29n+OZ/Mf0ACdHosAoC3wqbLD1zdd2oWfSwgGR96hx/80ef1JPUia/faIaOa g7aiylZQSLLDdGbuTTi5dItNtoFCs7R8+mHugAOYq/h07HUNEion+W2nIxZFeymiFqr+ Ff+LGKYOQf0tQBDsPnRXkTU1hz7xSBeaJAFo0cFyh5vD//QrTQ6lW2EMPJfcNymWleFX mZW/0OPkv/Mer+Wmi6/uDJvn8QCW+fMD081upqHKMLUBZiL2dbuhxsDlB3saSPlsM4AU 7uGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=d97nbA8hlYg/0Sp2psnEMhlXub4UpyVnwXO7mJq9OEY=; b=kVT2imoA159h/kw8L45LWYEEJR21EXun0HQI1LsicW6joE7dq02tITIJSaSz6cxr/E TTD3n2RAFYBJtABOI1XKMin0iz28NAxRReevkwaj3n6TgUtXAgDNfEDEt975D5CBfPEC F3Id5VsrpRvFYdlEvyT/C39dvGwytB5vg3vDsyF0AM4ClmhmeZYY8j1cq1mhztjEv7Ez 93FF887hQ3Kwt34RKDzPRu6kU6rngqFFRw7L3894z9Zi+mze/7jDN45LdQY7u9DJVz1a SYxtCfJynlYPx56vVpTrKG9NqEaophZM3p9i5EdbhfvjQ1p/apxb0bZkMCA4nKh5Z/aC IPWQ== ARC-Authentication-Results: i=1; mx.google.com; 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 a10-v6si3238550pff.304.2018.07.04.03.52.43; Wed, 04 Jul 2018 03:52:58 -0700 (PDT) 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; 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 S1753756AbeGDKvu (ORCPT + 99 others); Wed, 4 Jul 2018 06:51:50 -0400 Received: from cloudserver094114.home.pl ([79.96.170.134]:50182 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753600AbeGDKvt (ORCPT ); Wed, 4 Jul 2018 06:51:49 -0400 Received: from 79.184.254.38.ipv4.supernova.orange.pl (79.184.254.38) (HELO aspire.rjw.lan) by serwer1319399.home.pl (79.96.170.134) with SMTP (IdeaSmtpServer 0.83) id ed34b3e95326cd13; Wed, 4 Jul 2018 12:51:48 +0200 From: "Rafael J. Wysocki" To: cgxu519 Cc: Pavel Machek , Linux PM , Linux Kernel Mailing List Subject: Re: [PATCH] kernel/power: cast PAGE_SIZE to int when comparing with error code Date: Wed, 04 Jul 2018 12:50:24 +0200 Message-ID: <1745546.7bUhTGqjo6@aspire.rjw.lan> In-Reply-To: References: <20180625053058.25206-1-cgxu519@gmx.com> <0a812d02-d85d-f685-6e7f-f4dfe22f9629@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Monday, July 2, 2018 9:14:03 AM CEST Rafael J. Wysocki wrote: > On Mon, Jul 2, 2018 at 3:10 AM, cgxu519 wrote: > > Hi Rafael, > > > > Could you have a look at this simple patch? > > I've done that already and I'm going to apply it. Applied now, thanks!