From patchwork Thu Nov 28 15:02:41 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helia Correia X-Patchwork-Id: 294939 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 38D822C009F for ; Fri, 29 Nov 2013 02:03:20 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755634Ab3K1PDT (ORCPT ); Thu, 28 Nov 2013 10:03:19 -0500 Received: from mga01.intel.com ([192.55.52.88]:39048 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753151Ab3K1PDS (ORCPT ); Thu, 28 Nov 2013 10:03:18 -0500 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 28 Nov 2013 07:03:18 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.93,791,1378882800"; d="scan'208";a="441639245" Received: from helia-latitude-e5420.mp.intel.com (HELO [10.237.24.142]) ([10.237.24.142]) by fmsmga002.fm.intel.com with ESMTP; 28 Nov 2013 07:03:08 -0800 Message-ID: <52975B11.2090006@linux.intel.com> Date: Thu, 28 Nov 2013 16:02:41 +0100 From: Helia Correia User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130404 Thunderbird/17.0.5 MIME-Version: 1.0 To: wsa@the-dreams.de CC: linux-i2c@vger.kernel.org, jerome.blin@intel.com, "Correia, Helia" Subject: [PATCH] Documentation: i2c: Remove obsolete example Sender: linux-i2c-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org Documentation/i2c/fault-codes illustrates EINVAL error code as follows: "One example would be a driver trying an SMBus Block Write with block size outside the range of 1-32 bytes." However, the actual implementation of i2c subsystem truncates data length to be 32 bytes. Hence this example cannot happen anymore, and since it's obsolete, let's simply remove it from Documentation/i2c/fault-codes. Signed-off-by: Helia Correia --- Documentation/i2c/fault-codes | 3 --- 1 file changed, 3 deletions(-) diff --git a/Documentation/i2c/fault-codes b/Documentation/i2c/fault-codes index 045765c0b9b5..47c25abb7d52 100644 --- a/Documentation/i2c/fault-codes +++ b/Documentation/i2c/fault-codes @@ -64,9 +64,6 @@ EINVAL detected before any I/O operation was started. Use a more specific fault code when you can. - One example would be a driver trying an SMBus Block Write - with block size outside the range of 1-32 bytes. - EIO This rather vague error means something went wrong when performing an I/O operation. Use a more specific fault