Received: by 2002:a9a:4c47:0:b029:116:c383:538 with SMTP id u7csp7565431lko; Fri, 30 Jul 2021 06:34:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyYzH7EbSBGvIH3wvIUva94cvz1NOTACLft8lasWTrrIuVAkL27Kzxn1BVR4LUApTGJq9o8 X-Received: by 2002:a17:906:2413:: with SMTP id z19mr2507006eja.215.1627652080202; Fri, 30 Jul 2021 06:34:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627652080; cv=none; d=google.com; s=arc-20160816; b=bYX9aONotE/5/ZVDG10FxpfRGKxSlmE5yM7hovJ/TZj4GpTesXoeklL31A68P2wOXP UC0iSBLMOnykG4muntuvf08gxaL39VXz7zBr1idvcKxr21QnJ5Xzf/IgoPFs4n84c/oC HXF5MW6ev4a1kRDuxNrSxj9Sex9LKPZMNW1Mx1t4VBY1oWPpCbno+zGYCAJfFW4hiHo1 Hxzx9MWa07ZsSaN17r60tlFT6tu9mhz81f5ERD9e9S1XjEs7+LbIcSarluGJ2PuLwqF9 rxkiQqb3FVmRaUeUeXuJYRUReMQQ7IYbyyMoZgmm5jI9z7USKfp8U9u7hJIyp5/lzFCD tniQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=slIzKuPkpLBhyGawMAxAaRWi5AxWwEK6hge4cLMyXwA=; b=YWQyEMB+8/VO8hH0DJCLe9cCWbeHk66xD3fAE6z5CwwHaHA7ifE+kPK9GqQB+nseI5 coDe7gMoSEylN8F74oJ8slBFHrEazZLTyeW7JypzNtgs3EDvj1V+YW+pjwZGbLTm1Fuv 1tV9rrp2MaCclp/YDde8kbWnSsSW5RjWgks4BVp4NAxoZRwlyvmY9lhpEeFPB7Jb/lo5 079YAEaajdH+zpYeKpEWc3NnVJq1lfiFwpA1L4qVNpzCDeaLDYdAT0DKLP+/OylUpa3Z eI0+JzeyTTJLI/vE827DhtFBTMahI0J8koDDE9sFn6iUNXZG5nQOzLUiHE/lHGo64lT0 nOtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="F+huX1v/"; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q15si1620329edd.558.2021.07.30.06.34.16; Fri, 30 Jul 2021 06:34:40 -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=@linuxfoundation.org header.s=korg header.b="F+huX1v/"; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238925AbhG3Nco (ORCPT + 99 others); Fri, 30 Jul 2021 09:32:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:39806 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231143AbhG3Nco (ORCPT ); Fri, 30 Jul 2021 09:32:44 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3D78C60F4A; Fri, 30 Jul 2021 13:32:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1627651958; bh=//8EMTGFQ3PsCVJ81sYjLhSRQwEHnCX3gMHEDdNpyF8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=F+huX1v/9z7Ir1aZYG0MK+RpWoGVPv3NU1T7RSMq71gSuh9sdV/NuDMiCHUiO9q4d rIL27Y5G2NU6NAaBwiqEhAPi8Z76H1V0bhRs9NMldILzP6/TWwuGqVO7ej/JUbHKns FsLOSOZ31VqJfRS0eXVNfzOVWs1VWxhvYNUk9438= Date: Fri, 30 Jul 2021 15:32:36 +0200 From: Greg KH To: Fabio Aiuto Cc: hdegoede@redhat.com, Larry.Finger@lwfinger.net, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, David Sterba Subject: Re: [PATCH] staging: rtl8723bs: remove unused BIT macros definitions Message-ID: References: <20210730132103.4996-1-fabioaiuto83@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210730132103.4996-1-fabioaiuto83@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 30, 2021 at 03:21:03PM +0200, Fabio Aiuto wrote: > BIT(x) macro used all over the driver is defined in > include/vsdo/bit.h as > > - #define BIT(nr) (UL(1) << (nr)) > > which is safer than the local BIT macros declared. > Local macros shift a signed integer which brings > unespected results. For example: > > (unsigned long)(1 << 31) => 0xffffffff80000000 > > shift.c: > > int main() { > printf("%lx\n", (unsigned long)(1 << 31)); > printf("%lx\n", (unsigned long)(1U << 31)); > return 0; > } > --- > > $ ./shift > ffffffff80000000 > 80000000 > --- Don't put "---" in a changelog text, otherwise the signed-off-by will be cut off. Can you resend it with that changed to something else like "---------------" or anything else? thanks, greg k-h