From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756364AbdDRJFH (ORCPT ); Tue, 18 Apr 2017 05:05:07 -0400 Received: from s3.sipsolutions.net ([5.9.151.49]:46166 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756002AbdDRJE2 (ORCPT ); Tue, 18 Apr 2017 05:04:28 -0400 Message-ID: <1492506263.2472.5.camel@sipsolutions.net> Subject: Re: [PATCH] nl80211: Fix enum type of variable in nl80211_put_sta_rate() From: Johannes Berg To: Matthias Kaehlcke , "David S . Miller" , Simon Wunderlich Cc: linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Grant Grundler , Greg Hackmann , Michael Davidson Date: Tue, 18 Apr 2017 11:04:23 +0200 In-Reply-To: <20170417225952.106468-1-mka@chromium.org> (sfid-20170418_010001_948995_47957692) References: <20170417225952.106468-1-mka@chromium.org> (sfid-20170418_010001_948995_47957692) Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.4-1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2017-04-17 at 15:59 -0700, Matthias Kaehlcke wrote: > rate_flg is of type 'enum nl80211_attrs', however it is assigned with > 'enum nl80211_rate_info' values. Change the type of rate_flg > accordingly. Applied this, and the other two patches you had (IBSS enum and array- bounds) johannes