Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752142AbdDNHqu (ORCPT ); Fri, 14 Apr 2017 03:46:50 -0400 Received: from a.mx.secunet.com ([62.96.220.36]:52640 "EHLO a.mx.secunet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751502AbdDNHqs (ORCPT ); Fri, 14 Apr 2017 03:46:48 -0400 Date: Fri, 14 Apr 2017 09:46:43 +0200 From: Steffen Klassert To: "Jason A. Donenfeld" CC: , , Subject: Re: [PATCH] padata: get_next is never NULL Message-ID: <20170414074643.GH12763@secunet.com> References: <20170411091601.GA24844@mwanda> <20170412084019.16190-1-Jason@zx2c4.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20170412084019.16190-1-Jason@zx2c4.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Originating-IP: [10.182.7.193] X-G-Data-MailSecurity-for-Exchange-State: 0 X-G-Data-MailSecurity-for-Exchange-Error: 0 X-G-Data-MailSecurity-for-Exchange-Sender: 23 X-G-Data-MailSecurity-for-Exchange-Server: d65e63f7-5c15-413f-8f63-c0d707471c93 X-EXCLAIMER-MD-CONFIG: 2c86f778-e09b-4440-8b15-867914633a10 X-G-Data-MailSecurity-for-Exchange-Guid: ABDD4665-1502-485E-9711-DF314A09D8B6 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 411 Lines: 11 On Wed, Apr 12, 2017 at 10:40:19AM +0200, Jason A. Donenfeld wrote: > Per Dan's static checker warning, the code that returns NULL was removed > in 2010, so this patch updates the comments and fixes the code > assumptions. > > Signed-off-by: Jason A. Donenfeld > Reported-by: Dan Carpenter This looks ok, Acked-by: Steffen Klassert