Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp3134415pxa; Tue, 18 Aug 2020 07:30:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxBjdgQ0AV07eVlpigEyDK/uiNFldFIfxsjA2TqigjCTS6Ad4k50ENyOoejfzoLexkDGHJh X-Received: by 2002:a17:906:c108:: with SMTP id do8mr20997509ejc.88.1597761009488; Tue, 18 Aug 2020 07:30:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597761009; cv=none; d=google.com; s=arc-20160816; b=cvdWCu3kimH+thFG1uLBu7VRyxlqYdmCvUm9WVOU4/1S94Zol+phF/OPXX1Fquk2dv dDF3X0reKz2m0t4nvhAV4PzcsQ1Wx4ztoaWVvBlrlLqtC9mLyjW8zfZ4Mb1uOkz+zC55 5Q9mzxwniThM4hTSp9EtP/2dmaQtxgndHbIW15tqoMtu75cdwu+Caa4j7jBI9a81nE4I 25WQzIZI+YvBFhbJzZtFjf3qfPA6d8+zhHt777oUadD1UXZLs6hdPpG9S2YWYclwfSMG 1f3GTLuPcVp+QJGKN3rHUwmJ0Cbf6dxRBDQ8xyRv5Db2YO3ScDy0hhF/JByIUQdTbTFX rukQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:dkim-signature; bh=VZDYV+ciZiiGk6QTWs9Cp9XFnW9zNuBEfYzoE+JwROc=; b=akGBWArY7k8KACYvdbway4F4ZDNIcKJyD/WHawLrb3DwW9FUM6opl5Seqc1KuX2B+o Zp71DEDHPdHSiAC7mtpo36djHUE17Pq0Brfh8a5dM5Vi9v5T7mMbbVqji/UhiZ0sIiE2 T9OuuCscUZw0+4HMo0j/BJvCHgX+ZyLzRg2qX9DALwqara97DxtfTBdwr1C4UPZ3/lUZ KqKw4x9DM71POwEpYIlH/RsMMSZ4ZyDrQVhhJnKgpi0wSjL7RLeHJeXLqMPT7xXE0Qvz 3BqRvFLLKEM/+OS+0cQVsjZLolou5SVgVvwW6FGye0MKI3TuDqsi0ozuO1CZd49f5ShU hKRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=BntgZ1r7; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h23si13912734ejj.573.2020.08.18.07.29.44; Tue, 18 Aug 2020 07:30:09 -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=fail header.i=@infradead.org header.s=casper.20170209 header.b=BntgZ1r7; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726917AbgHRO3O (ORCPT + 99 others); Tue, 18 Aug 2020 10:29:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726660AbgHRO3J (ORCPT ); Tue, 18 Aug 2020 10:29:09 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3EB92C061389 for ; Tue, 18 Aug 2020 07:29:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:To:Subject:Sender: Reply-To:Cc:Content-ID:Content-Description; bh=VZDYV+ciZiiGk6QTWs9Cp9XFnW9zNuBEfYzoE+JwROc=; b=BntgZ1r7vQGNVtI9n4W/8TiXi8 efkW53rJGrZnaXAT2K3r/3yGyypLaMP0r4Tnvwsscc3UirzQJ9b1iwVBfdaBc1aG7ZNd7iMwtT+cx 8hPTAVY5hcvQnXQbBZVaw9VW1Y+rvev/z1g1FFlxEYLWQ7WQRSWMvRBQvKkhYFxHw1VWuYBJFKhnV pj3dpUHU7b0wGBH7nY0lC+8eiaLiNsDO0zQA+DHuHNawkR+aeTt7WDQqIse/a1lQpKYEEiGU/36sX kKtc7n8kds0LXQ49WBDf/TmodmPVO3iQCkCQLHU8wu7ve7h40MOJ48qNu8GY7sverTumL73r82W70 2nXij/PQ==; Received: from [2601:1c0:6280:3f0::19c2] by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1k82bp-0007nI-Km; Tue, 18 Aug 2020 14:29:06 +0000 Subject: Re: [PATCH] staging: emxx_udc: Use standard BIT() macro To: Alex Dewar , Greg Kroah-Hartman , Saiyam Doshi , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org References: <20200818134922.409195-1-alex.dewar90@gmail.com> From: Randy Dunlap Message-ID: Date: Tue, 18 Aug 2020 07:29:02 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200818134922.409195-1-alex.dewar90@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/18/20 6:49 AM, Alex Dewar wrote: > Currently emxx_udc.h defines bit values using local macros. Use the > standard one instead. > > Also, combine bit values with bitwise-or rather than addition, as > suggested by Coccinelle. > > Signed-off-by: Alex Dewar Hi, Does this build? Just checking. Looks like it would need this: #include since it (indirectly) provides definition of the BIT() macro. > --- > drivers/staging/emxx_udc/emxx_udc.h | 456 +++++++++++++--------------- > 1 file changed, 211 insertions(+), 245 deletions(-) thanks. -- ~Randy