[RFC] common: filetype: is_fat_or_mbr() considered harmful

2015-10-07 Thread Peter Mamonov
Deleted pieces of code detect MBR-containig device as a FAT-type device, if it's first partition contains a FAT filesystem. So, one can mount the first partition of a hard drive containing FAT FS using the following command: barebox: mount /dev/ata0.0 /mnt/0 as well as this one: bar

Re: [PATCH 4/5] usb: ehci-hcd: use mdelay_non_inerruptible()

2015-10-07 Thread Peter Mamonov
On Wed, 7 Oct 2015 17:40:24 +0200 Jean-Christophe PLAGNIOL-VILLARD wrote: > On 17:40 Wed 07 Oct , Peter Mamonov wrote: > > On Wed, 7 Oct 2015 15:47:03 +0200 > > Jean-Christophe PLAGNIOL-VILLARD wrote: > > > > > On 18:58 Tue 22 Sep , Peter Mamonov wrote: > > > > Signed-off-by: Peter Mamo

[PATCH] fixup! detect_fs: use device instead of file

2015-10-07 Thread Peter Mamonov
--- fs/fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/fs.c b/fs/fs.c index c041e41..6283cea 100644 --- a/fs/fs.c +++ b/fs/fs.c @@ -1201,7 +1201,7 @@ EXPORT_SYMBOL(register_fs_driver); static const char *detect_fs(const char *filename) { - enum filetype type =

Re: [PATCH 4/5] usb: ehci-hcd: use mdelay_non_inerruptible()

2015-10-07 Thread Jean-Christophe PLAGNIOL-VILLARD
On 17:40 Wed 07 Oct , Peter Mamonov wrote: > On Wed, 7 Oct 2015 15:47:03 +0200 > Jean-Christophe PLAGNIOL-VILLARD wrote: > > > On 18:58 Tue 22 Sep , Peter Mamonov wrote: > > > Signed-off-by: Peter Mamonov > > > --- > > > drivers/usb/host/ehci-hcd.c | 6 +++--- > > > 1 file changed, 3 in

Re: [PATCH 4/5] usb: ehci-hcd: use mdelay_non_inerruptible()

2015-10-07 Thread Peter Mamonov
On Wed, 7 Oct 2015 15:47:03 +0200 Jean-Christophe PLAGNIOL-VILLARD wrote: > On 18:58 Tue 22 Sep , Peter Mamonov wrote: > > Signed-off-by: Peter Mamonov > > --- > > drivers/usb/host/ehci-hcd.c | 6 +++--- > > 1 file changed, 3 insertions(+), 3 deletions(-) > > > > diff --git a/drivers/usb/h

Re: [PATCH 4/5] usb: ehci-hcd: use mdelay_non_inerruptible()

2015-10-07 Thread Jean-Christophe PLAGNIOL-VILLARD
On 18:58 Tue 22 Sep , Peter Mamonov wrote: > Signed-off-by: Peter Mamonov > --- > drivers/usb/host/ehci-hcd.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c > index d6df7b8..03d6150 100644 > --- a/drive

Re: [PATCH] param: dev_add_param_mac() depends on CONFIG_NET

2015-10-07 Thread Markus Pargmann
On Wed, Oct 07, 2015 at 08:34:51AM +0200, Sascha Hauer wrote: > Hi Markus, > > On Fri, Oct 02, 2015 at 02:35:01PM +0200, Markus Pargmann wrote: > > This patch adds the proper inline function for CONFIG_PARAMETER && ! > > CONFIG_NET. > > > > Signed-off-by: Markus Pargmann > > --- > > include/par