Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756757Ab0LBCpo (ORCPT ); Wed, 1 Dec 2010 21:45:44 -0500 Received: from mail-qw0-f46.google.com ([209.85.216.46]:35925 "EHLO mail-qw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756010Ab0LBCpn (ORCPT ); Wed, 1 Dec 2010 21:45:43 -0500 Subject: Re: [PATCH] media: rc: lirc_dev: check kobject_set_name() result Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: Jarod Wilson In-Reply-To: <1290791203-21448-1-git-send-email-segoon@openwall.com> Date: Wed, 1 Dec 2010 21:45:39 -0500 Cc: kernel-janitors@vger.kernel.org, Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Content-Transfer-Encoding: 7bit Message-Id: <3F92DE6F-9421-4AE3-B5DB-C69567A95D09@wilsonet.com> References: <1290791203-21448-1-git-send-email-segoon@openwall.com> To: Vasiliy Kulikov X-Mailer: Apple Mail (2.1082) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 542 Lines: 23 On Nov 26, 2010, at 12:06 PM, Vasiliy Kulikov wrote: > kobject_set_name() may fail with -ENOMEM, check for it. > > Signed-off-by: Vasiliy Kulikov > --- > Compile tested only. Works for me. Acked-by: Jarod Wilson -- Jarod Wilson jarod@wilsonet.com -- 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/