Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751075AbaGFJXL (ORCPT ); Sun, 6 Jul 2014 05:23:11 -0400 Received: from mail-vc0-f169.google.com ([209.85.220.169]:42491 "EHLO mail-vc0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750758AbaGFJXJ convert rfc822-to-8bit (ORCPT ); Sun, 6 Jul 2014 05:23:09 -0400 MIME-Version: 1.0 In-Reply-To: <1404457379-4193-1-git-send-email-varkab@cdac.in> References: <1404457379-4193-1-git-send-email-varkab@cdac.in> From: Alexandre Courbot Date: Sun, 6 Jul 2014 18:22:48 +0900 Message-ID: Subject: Re: [PATCH v2] drivers/gpio/gpio-sch311x: check return value of gpiochip_remove() To: Varka Bhadram Cc: "linux-gpio@vger.kernel.org" , Linus Walleij , Linux Kernel Mailing List , Varka Bhadram Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 4, 2014 at 4:02 PM, Varka Bhadram wrote: > This patch eliminates the following warning > > drivers/gpio/gpio-sch311x.c: In function ‘sch311x_gpio_probe’: > drivers/gpio/gpio-sch311x.c:286:18: warning: ignoring return value of ‘gpiochip_remove’, declared with attribute warn_unused_result gpiochip_remove() is to have its return value set to void in another patch, so I'm not sure we need this one in the meantime? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/