Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751237AbdHWENw (ORCPT ); Wed, 23 Aug 2017 00:13:52 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:38926 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750931AbdHWENu (ORCPT ); Wed, 23 Aug 2017 00:13:50 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 14B6A603D2 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org From: Kalle Valo To: Himanshu Jha Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH] drivers: net: wireless: atmel: check memory allocation failure References: <1503389481-4988-1-git-send-email-himanshujha199640@gmail.com> Date: Wed, 23 Aug 2017 07:13:43 +0300 In-Reply-To: <1503389481-4988-1-git-send-email-himanshujha199640@gmail.com> (Himanshu Jha's message of "Tue, 22 Aug 2017 13:41:21 +0530") Message-ID: <87efs2yl8o.fsf@kamboji.qca.qualcomm.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 334 Lines: 13 Himanshu Jha writes: > Check memory allocation failure and return -ENOMEM if failure > occurs. > > Signed-off-by: Himanshu Jha The title prefix is wrong: https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches#commit_title_is_wrong -- Kalle Valo