Received: by 2002:a9a:4c47:0:b029:116:c383:538 with SMTP id u7csp7567007lko; Fri, 30 Jul 2021 06:36:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzhOqlSDDXNwrHr3z2YSOucn2JXVC1bd5I3EuNXuzbvq2//A/HzZk9eIUn3+HXxOsl2jWGn X-Received: by 2002:a02:6606:: with SMTP id k6mr2231315jac.51.1627652210685; Fri, 30 Jul 2021 06:36:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627652210; cv=none; d=google.com; s=arc-20160816; b=bj8zjDrwMj6ftcRLKyW9NAGdvumAHIGxQLGW50JMDeQeM2HxwgLBMn4ZgDBPZtrkbM ck/xYjN/xXfM8bzf9EBddnIg8Vz+cDohyjPXIlJwSHcp7CwNSlx+Fi6IuVHa7gOoFX+s 2V+BIvKq8zF9qpnUfGVAWeqRK31vnEXdurcVBBo7Fse4/C56Nl221f05FQnp9JPD+Qqz Ktj822OLluPc0kyptCrFHkAS/NaEUcZM+CA2ro5nJUK4Vyiam/bo9yTt5JE5V2gGuh5u tEeu9CQKwGyWwgPpg1g9EsgADttjCbJGpYIRlMXKFuDsywKvkwxZAuL/OmbdX476S1FT TIkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=nLxc1jc3feOHhz7WBeAx0UeYJk853JxA+UhIeYOmLsg=; b=c+bcVdnrZDcM1cem8Lh491twzbXhsvSmhiFj2/oIjIwoJr+02EVjJuSMhQuylbiUeC qBLk4oHAEqKlwh8zjfj5gh/rSmTSl6C2vaUIobxv04kFm0evXjnPNAXpwUiGZBPH+T65 P3KblYxTIxLDWXhzeg5icLYdXtnSGh6hwLOqibU8z32aEbGsz17H2K/VdshPIdyKPfs1 QgZuR1uYX9PyLfpy2LxB8cbG4URMotZ2P6Ca+iySKf6V33sZhpPZlZxO5GtpJDY2IDXq mi3gMDbslv54ZoaIphziO/peIMt/Fn4BGTHTWJNjBR8Cp4QKS3ZgfvleqggtxIiij09J ckEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=vGYtC+xa; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x19si1725396ioa.74.2021.07.30.06.36.39; Fri, 30 Jul 2021 06:36:50 -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=@gmail.com header.s=20161025 header.b=vGYtC+xa; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231185AbhG3Nfk (ORCPT + 99 others); Fri, 30 Jul 2021 09:35:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231161AbhG3Nfj (ORCPT ); Fri, 30 Jul 2021 09:35:39 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 911F3C06175F for ; Fri, 30 Jul 2021 06:35:33 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id b7so13245782edu.3 for ; Fri, 30 Jul 2021 06:35:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=nLxc1jc3feOHhz7WBeAx0UeYJk853JxA+UhIeYOmLsg=; b=vGYtC+xatjVO9a7TE1NC52YzEjpr2glEYO2CFpnpeE+wsfIXvFvkzppM7o1B9Wjd82 IERqTP3thMUnY9N7WMJrlEnXGVe7efOrKIwBygiz1MM8neNT3SKcz3n7ktBSjXwr6ibk Inb6kkJcC8Oxx75jPqhSTbZ3isb7lejJFsZYW32sb8MUOqJYWjWbVPp39L+zMsyvbpFW QtbClYod0ZFZnpIzAPkioxjrlVmDWkijB34y6gYqa/p3sY4U4hGnvUkmv/ii/dDpnZGV CU815gpbcJEoEsBuUK3o7qbMHvi0Hp/C/u0YnBdBCXLGXzHYbnPzM1PtbMdQ1w1E4R2T GcWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=nLxc1jc3feOHhz7WBeAx0UeYJk853JxA+UhIeYOmLsg=; b=O10RWKVVKCjx8FxfQ/K5Zlo5rJmOpBwwDnw+viZ1ILm3If6T8YtYDOWMbN3wefK4GL ddMM2suQC49sy24i5hwFty3Hw3w7FPTT6A05MSt/XosLEAHfMU1b1uKqO9PdTb7gcqFN f9y0y4iQHKBNeLzuxJDttB9a7VSfaCX5e2p/3rXutLQPbs1D2XUf4ZcO8EfA6xf+jcu/ FQakmz7+azNobic6730b5Lk3riMBU2wrAyH7RXhytsya7c+zKpwj+msHskgCWW70w8gi qs5eZzwwPjticXSaT76ohiZuiv27VJoMjcYZuUMqqlWmQKRaMIfFxvNLX6O9fQdiKdor EkWQ== X-Gm-Message-State: AOAM531BZWURw7QD0U9WRLDLuFKEfZZ0RiPKqv66vCGQS7CLoZP0OU6q K/0jhkieQMvOZv9h/NOw3xs= X-Received: by 2002:a05:6402:3094:: with SMTP id de20mr2350772edb.272.1627652131890; Fri, 30 Jul 2021 06:35:31 -0700 (PDT) Received: from agape.jhs ([5.171.81.215]) by smtp.gmail.com with ESMTPSA id m3sm702103edb.7.2021.07.30.06.35.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Jul 2021 06:35:31 -0700 (PDT) Date: Fri, 30 Jul 2021 15:35:29 +0200 From: Fabio Aiuto To: Greg KH 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: <20210730133528.GE1433@agape.jhs> References: <20210730132103.4996-1-fabioaiuto83@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Greg, On Fri, Jul 30, 2021 at 03:32:36PM +0200, Greg KH wrote: > 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 sure I'm about to send a v2, thank you, fabio