2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 05:34:00 +08:00
linux-next/drivers/staging/i2o
Somya Anand 68f4b73796 Staging: i2o: Move assignment out of if statement
Checkpatch.pl suggest to avoid assignment in if statement.

This patch moves assignments out of the if statement and place
it before the if statement. This is done using following coccinelle
script.

@@
expression E1;
identifier p;
statement S;
@@
- if ((p = E1))
+ p = E1;
+ if (p)
	S

Signed-off-by: Somya Anand <somyaanand214@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-03-16 16:22:16 +01:00
..
bus-osm.c Staging: i2o: Move assignment out of if statement 2015-03-16 16:22:16 +01:00
config-osm.c
core.h
debug.c Staging: i2o: Add blank line 2015-02-26 12:23:59 -08:00
device.c Staging: i2o: Remove unnecessary braces 2015-02-26 12:23:58 -08:00
driver.c Staging: i2o: Join quoted string split across lines 2015-02-26 12:23:58 -08:00
exec-osm.c Staging: i2o: Fix quoted string split across lines 2015-03-01 15:10:15 -08:00
i2o_block.c staging: i2o: remove intialization of static ints 2015-03-16 16:17:31 +01:00
i2o_block.h
i2o_config.c staging: i2o: remove intialization of static ints 2015-03-16 16:17:31 +01:00
i2o_proc.c staging: i2o: Remove use of seq_printf return value 2015-03-06 16:35:54 -08:00
i2o_scsi.c
i2o.h
iop.c Staging: i2o: Move assignment out of if statement 2015-03-16 16:22:16 +01:00
Kconfig
Makefile
memory.c
pci.c Staging: i2o: Move assignment out of if statement 2015-03-16 16:22:16 +01:00
README
README.ioctl

	Linux I2O Support	(c) Copyright 1999 Red Hat Software
					and others.

	This program is free software; you can redistribute it and/or
	modify it under the terms of the GNU General Public License
	as published by the Free Software Foundation; either version
	2 of the License, or (at your option) any later version.

AUTHORS (so far)

Alan Cox, Building Number Three Ltd.
	Core code, SCSI and Block OSMs

Steve Ralston, LSI Logic Corp.
	Debugging SCSI and Block OSM

Deepak Saxena, Intel Corp.
	Various core/block extensions
	/proc interface, bug fixes
	Ioctl interfaces for control
	Debugging LAN OSM

Philip Rumpf
	Fixed assorted dumb SMP locking bugs

Juha Sievanen, University of Helsinki Finland
	LAN OSM code
	/proc interface to LAN class
	Bug fixes
	Core code extensions

Auvo Häkkinen, University of Helsinki Finland
	LAN OSM code
	/Proc interface to LAN class
	Bug fixes
	Core code extensions

Taneli Vähäkangas, University of Helsinki Finland
	Fixes to i2o_config

CREDITS

	This work was made possible by 

Red Hat Software
	Funding for the Building #3 part of the project

Symbios Logic (Now LSI)
	Host adapters, hints, known to work platforms when I hit
	compatibility problems

BoxHill Corporation
	Loan of initial FibreChannel disk array used for development work.

European Commission
	Funding the work done by the University of Helsinki

SysKonnect
        Loan of FDDI and Gigabit Ethernet cards

ASUSTeK
        Loan of I2O motherboard 

STATUS:

o	The core setup works within limits.
o	The scsi layer seems to almost work. 
           I'm still chasing down the hang bug.
o	The block OSM is mostly functional
o	LAN OSM works with FDDI and Ethernet cards.

TO DO:

General:
o	Provide hidden address space if asked
o	Long term message flow control
o	PCI IOP's without interrupts are not supported yet
o	Push FAIL handling into the core
o	DDM control interfaces for module load etc
o       Add I2O 2.0 support (Deffered to 2.5 kernel)

Block:
o	Multiple major numbers
o	Read ahead and cache handling stuff. Talk to Ingo and people
o	Power management
o	Finish Media changers

SCSI:
o	Find the right way to associate drives/luns/busses

Lan:	
o	Performance tuning
o	Test Fibre Channel code

Tape:
o	Anyone seen anything implementing this ?
           (D.S: Will attempt to do so if spare cycles permit)