Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754382Ab0K2ATT (ORCPT ); Sun, 28 Nov 2010 19:19:19 -0500 Received: from sm-d311v.smileserver.ne.jp ([203.211.202.206]:10774 "EHLO sm-d311v.smileserver.ne.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754270Ab0K2ATS (ORCPT ); Sun, 28 Nov 2010 19:19:18 -0500 Message-ID: <003c01cb8f5b$0f13e8b0$66f8800a@maildom.okisemi.com> From: "Tomoya MORINAGA" To: "Marc Kleine-Budde" Cc: "Wolfgang Grandegger" , "Wolfram Sang" , "Christian Pellegrin" , "Barry Song" <21cnbao@gmail.com>, "Samuel Ortiz" , , , , "David S. Miller" , , , , , , References: <4CEF178C.2050506@dsn.okisemi.com> <4CEF835C.7000304@pengutronix.de> Subject: Re: [PATCH net-next-2.6 06/19 v5] can: EG20T PCH: Fix endianness issue Date: Mon, 29 Nov 2010 09:19:13 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1983 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1983 X-Hosting-Pf: 0 X-NAI-Spam-Score: 1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 811 Lines: 25 On Friday, November 26, 2010 6:52 PM, Marc Kleine-Budde wrote : > In an OOM situation the system is under pressure anyway. On low end > systems it not good to print a message to the log. AFAICS no other can > driver does this. Does the above mean it doesn't have to process for returned value of pch_can_rx_msg_lost like below? > + pch_can_rx_msg_lost(ndev, obj_num); > + rcv_pkts++; > + quota--; > AFAICS no other can driver does this. I can see ti_hecc.c calls dev_err when alloc_can_err_skb fails. Thanks, Tomoya MORINAGA OKI SEMICONDUCTOR CO., LTD. -- 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/