Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3336310ybd; Fri, 28 Jun 2019 06:57:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqx1whS46eSS0krCg8FZTSZBpY1WUYArak+aZ+OzaE1MMArxBlnqCIGGdMuKRzP74DK48ZNn X-Received: by 2002:a17:902:1003:: with SMTP id b3mr11953934pla.172.1561730269123; Fri, 28 Jun 2019 06:57:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561730269; cv=none; d=google.com; s=arc-20160816; b=Jw1tL+DZ2dzkdRv/qaUhdG2c/Ph3gu71b3MV9ZwijVye/JIucPf8RkgKPMVC9A3HHV CSVIO5mtSD6bTPX0YUo9BThTVkvDqLzEClfnC1sH7GH9MhI/djqIqO7M186GnyMwet51 ayGC6daZo9P4gOjxoh25m+qlXtStfUWVcfwiFK2uedUwbtjLHXP4xWy4guTKGYWMxMts IbiXcQ+GMMVKzcYwH5jQYpEf6+PZeGFyt+XGrg+Sl4x62Cg74JP5M7oAiEShEzC4zFB5 UVa29ol9gUNX02NdSJ5u0CACOtEpCvmEBJ2CSzyLYfEZF5mT8CxZrDhTe0Cj/XYgJuae MquQ== 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:date:cc:to:from:subject:message-id; bh=xxBw66kmrUi0GlwJabOdXVgPF6hgNWkKnkG9AZ+Op9E=; b=fo6kdHeq1jcWeRD/PUTUWFp6JhTHXCVgWfmfDVfYe1X9ztch2Nf9mqziF2MXVBb0IV sQuemkzyCt4nzAyTODP8tSsMHWo9XPGHiEMfTwAL3565A8A0D+1xr0ymxsrG6v11W+/T qUu+h+EyyGgTxA42GN/4RFyYT6lbOncknpJ/YE+9vQU45bKkm2YrkqX6oxy5lPmoVmuG eWgpboSYyylp1lnJjFzJugxtfHMBbti0enrW98QjrzUXuf9TCgsGNPv/Oz0AeS4Rwfg1 /B0nAKMLhqo2vyBWq0mEhJo7JxTNu+GqR7qoMpYc0bzZwxc99ogIxKbm8Vf5QQizRjJp bdnw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-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 j17si2553584pfn.278.2019.06.28.06.57.24; Fri, 28 Jun 2019 06:57:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-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-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726720AbfF1N5L (ORCPT + 99 others); Fri, 28 Jun 2019 09:57:11 -0400 Received: from s3.sipsolutions.net ([144.76.43.62]:51384 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726707AbfF1N5L (ORCPT ); Fri, 28 Jun 2019 09:57:11 -0400 Received: by sipsolutions.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1hgrNE-0002pi-MB; Fri, 28 Jun 2019 15:57:08 +0200 Message-ID: <8b8c44c3ecb8626d9bb5a8f786b1d2b7488df86b.camel@sipsolutions.net> Subject: Re: [Linux-kernel-mentees][PATCH v2] nl80211: Fix undefined behavior in bit shift From: Johannes Berg To: Shuah Khan , Jiunn Chang Cc: linux-kernel-mentees@lists.linuxfoundation.org, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org Date: Fri, 28 Jun 2019 15:57:05 +0200 In-Reply-To: (sfid-20190627_053427_689527_6C7A1CBE) References: <20190627010137.5612-4-c0d1n61at3@gmail.com> <20190627032532.18374-4-c0d1n61at3@gmail.com> (sfid-20190627_053427_689527_6C7A1CBE) Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 (3.28.5-3.fc28) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Wed, 2019-06-26 at 21:34 -0600, Shuah Khan wrote: > On 6/26/19 9:25 PM, Jiunn Chang wrote: > > Shifting signed 32-bit value by 31 bits is undefined. Changing most > > significant bit to unsigned. > > > > Changes included in v2: > > - use subsystem specific subject lines > > - CC required mailing lists > > > > Signed-off-by: Jiunn Chang > > --- > > Move version change lines here. They don't belong in the commit log. FWIW, in many cases people (maintainers) now *do* want them in the commit log. Here, they're just editorial, so agree, but if real technical changes were made due to reviews, they can indeed be useful. johannes