Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp785524pxj; Thu, 3 Jun 2021 20:46:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxSiAr4BSALLpiZb32Bw9RFppCVxrUBU1FlV8poJuhXxKHLKXjoyhz0s4HTBwO+Z92mrwhA X-Received: by 2002:a05:6402:34cb:: with SMTP id w11mr2581342edc.299.1622778373957; Thu, 03 Jun 2021 20:46:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622778373; cv=none; d=google.com; s=arc-20160816; b=ELpQQhQUSu9mpzKg2wb2x6sSmXA3YFStFjxu3VkbucNmrKDtG7PsbF9H55CspicQDA Cl0KElRkuZjmxFF/prJ8rfO5Ks2oU8+ai5UzB/UCb8bWNNJg5Q5fgU4XXfBOtbw9GtH5 uxCmz8pinM/OCeR5KKcToKuRtllauf1FZJdWleG2FBMrd5uyGVG/DUvw2Gfnx3cGJcH/ Z8Y0D+01TkgrJTVnyPi7yns1oSo6qdv+ca5Q5qeVNeHUsPPsxIAw8Ql0f+hEpnMVd0oO 4khOIqbkW8t0jYXIHU5kW4VUgKe57vTiH46r/8XG3WDthyTCVJ8D1FCvTwY2zG9ZvzEa 1a8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=FmxUjKVQIuJAaq3lGa+6X572w1A/7Qnk6NsprRvzZpI=; b=0Lbjyuj2GsyYoglJkrkeEa8G8qEZWD/CbPEfotFIHqx98R2rJ1D/TvTAaXMZ0OTAXU XC7EIaX5AzVGljMHvG3ZZC2QKnHTVh5NErB7xHxgn2mSwxfYqbMG+6R3JUarZDGSygxz JpQVIcoFSRmlv53dNty+OshTs6N8CT07/IT2KE8XFuexYyN46lqE/YaSqTr5EpTgLAby HgfvKXn9S7unf92CdWFD9EtetOCP+BVLMGa/ItkJxvTk9dxhh/uAU/9I9+kKzkT5ymGn utxCk3IOwdFnrchR3/yfztdvyKo06ZHLiu6xoICjb8pEnAw9av5yBGMKSx0CmALN7rur oy/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b="EV0Fp/V0"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id nb19si4234813ejc.305.2021.06.03.20.45.50; Thu, 03 Jun 2021 20:46:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b="EV0Fp/V0"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S229775AbhFDDqJ (ORCPT + 99 others); Thu, 3 Jun 2021 23:46:09 -0400 Received: from m12-11.163.com ([220.181.12.11]:38944 "EHLO m12-11.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229752AbhFDDqJ (ORCPT ); Thu, 3 Jun 2021 23:46:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=FmxUj KVQIuJAaq3lGa+6X572w1A/7Qnk6NsprRvzZpI=; b=EV0Fp/V0DlhX49xj0KzBs XZ8Ise12m/uK/W1c/l2tvQQs/1Y/VUyMw5IZmgtYEP4wGpd1ChTMz6tihI3Y1L6j BqqW6V46bZoA9hFqQgopdeDF0P/Vi7nmFhiyfB+s/sa+qddeotQL/PHwKoO67fAY z4IWwUklvqdpSECqdWJgys= Received: from localhost.localdomain (unknown [218.17.89.92]) by smtp7 (Coremail) with SMTP id C8CowACnoJiSoblgMnNogA--.1235S2; Fri, 04 Jun 2021 11:44:19 +0800 (CST) From: lijian_8010a29@163.com To: linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org Cc: linux-kernel@vger.kernel.org, lijian Subject: [PATCH] video: fbdev: aty: mach64_gx: Added parentheses for the macro Date: Fri, 4 Jun 2021 11:43:21 +0800 Message-Id: <20210604034321.167789-1-lijian_8010a29@163.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-CM-TRANSID: C8CowACnoJiSoblgMnNogA--.1235S2 X-Coremail-Antispam: 1Uf129KBjvdXoW7Xry8Zr1DXr4xXF48Zr1fJFb_yoWxAFb_Cr 42v3s7Jr90kFs2yrykZr1rury2va4xZFn3uFn0qrZak342yrWYgr1rWFy0qry5Gr4UXFWD WF1qgr1Fv34fGjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IU5PrcDUUUUU== X-Originating-IP: [218.17.89.92] X-CM-SenderInfo: 5olmxttqbyiikqdsmqqrwthudrp/1tbiRQenUFl9181h0gABs5 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: lijian Macros with complex values should be enclosed in parentheses, so Added parentheses for the macro 'MAX_N'. Signed-off-by: lijian --- drivers/video/fbdev/aty/mach64_gx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/aty/mach64_gx.c b/drivers/video/fbdev/aty/mach64_gx.c index 9619661b7843..4d89c05e5a65 100644 --- a/drivers/video/fbdev/aty/mach64_gx.c +++ b/drivers/video/fbdev/aty/mach64_gx.c @@ -33,7 +33,7 @@ #define MIN_M 2 #define MAX_M 30 #define MIN_N 35 -#define MAX_N 255-8 +#define MAX_N (255-8) /* -- 2.25.1