From: Gerhard Sittig Subject: Re: [PATCH] spi: core: Validate lenght of the transfers in message Date: Thu, 13 Feb 2014 22:27:57 +0100 Message-ID: <20140213212757.GM4524@book.gsilab.sittig.org> References: <1392302806-17267-1-git-send-email-iivanov@mm-sol.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Mark Brown , linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: "Ivan T. Ivanov" Return-path: Content-Disposition: inline In-Reply-To: <1392302806-17267-1-git-send-email-iivanov-NEYub+7Iv8PQT0dZR+AlfA@public.gmane.org> Sender: linux-spi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: On Thu, Feb 13, 2014 at 16:46 +0200, Ivan T. Ivanov wrote: > > From: "Ivan T. Ivanov" > > SPI transfer lenght should be a power-of-two multiple > of eight bits. Are you suggesting that an SPI transfer cannot consist of e.g. three bytes? This would be surprising, and certainly would be rather wrong an assumption. Am I missing/misunderstanding something? virtually yours Gerhard Sittig -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr. 5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office-ynQEQJNshbs@public.gmane.org -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html