From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Tue, 20 Nov 2018 09:56:03 -0500 Subject: [U-Boot] [U-Boot, 1/1] fs: fat: validate sector and cluster size In-Reply-To: <20181031204636.15149-1-xypron.glpk@gmx.de> References: <20181031204636.15149-1-xypron.glpk@gmx.de> Message-ID: <20181120145603.GV11247@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Oct 31, 2018 at 09:46:36PM +0100, Heinrich Schuchardt wrote: > In the rest of the FAT driver we want to be able to rely on the fact that > the cluster size is a power of two. So let's check that both the sector > size and the number of sectors per cluster are valid. > > Signed-off-by: Heinrich Schuchardt This breaks a number of tests under test/py/tests/test_fs/test_basic.py as seen under 'make tests'. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: