Fan Yong
3c8fb1b105
staging: lustre: statahead: set sai_index_wait with lli_sa_lock held
...
It is the sponsor thread of the statahead thread to update the
sai::sai_index_wait. Originally, it didn't hold the lli_sa_lock
when did that. Becuase of out-of-order execution others may miss
to wakeup such thread.
On the other hand, if the statahead RPC gets failure, it should
wakeup the sponsor thread, not the statahead thread.
Signed-off-by: Li Xi <lixi@ddn.com >
Signed-off-by: Fan Yong <fan.yong@intel.com >
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7828
Reviewed-on: http://review.whamcloud.com/18499
Reviewed-by: Lai Siyao <lai.siyao@intel.com >
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com >
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com >
Signed-off-by: James Simmons <jsimmons@infradead.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-06 10:54:33 +01:00
Li Dongyang
817990ba1a
staging: lustre: obdclass: limit lu_site hash table size on clients
...
Allocating a big hash table using the current formula
does not really work for clients. We will create new
hash table for each mount on a single client which is
a lot of memory more than expected.
This patch limits the hash table up to 8M for clients,
which has 524288 entries.
Signed-off-by: Li Dongyang <dongyang.li@anu.edu.au >
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7689
Reviewed-on: http://review.whamcloud.com/18048
Reviewed-by: Fan Yong <fan.yong@intel.com >
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com >
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com >
Signed-off-by: James Simmons <jsimmons@infradead.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-06 10:54:33 +01:00
Wally Wang
bfb9944c21
staging: lustre: llite: Add client mount opt to ignore suppress_pings
...
When Lustre servers enable 'suppress_pings', all clients will stop
pinging. However, some clients may not have external mechanism
to notify Lustre servers for node death and therefore need to
preserve the Lustre ping.
This patch provides a mount option 'always_ping' so that the
client will not stop pinging even if the server has enabled
'suppress_pings'.
Signed-off-by: Wally Wang <wang@cray.com >
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6391
Reviewed-on: http://review.whamcloud.com/14127
Reviewed-by: Li Wei <wei.g.li@intel.com >
Reviewed-by: Chris Horn <hornc@cray.com >
Reviewed-by: Lai Siyao <lai.siyao@intel.com >
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com >
Signed-off-by: James Simmons <jsimmons@infradead.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-06 10:54:33 +01:00
Jinshan Xiong
3c092fdbdb
staging: lustre: clio: revise read ahead algorithm
...
ras_window_len should only be updated in ras_update() by read
pattern and it can't be adjusted in ll_readahead() at all;
ras_consecutive_pages is used to detect read pattern from
mmap. It will be used to increase read ahead window length
gradually.
Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com >
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5505
Reviewed-on: http://review.whamcloud.com/11528
Reviewed-by: John L. Hammond <john.hammond@intel.com >
Reviewed-by: Bobi Jam <bobijam@hotmail.com >
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com >
Signed-off-by: James Simmons <jsimmons@infradead.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-06 10:54:33 +01:00
Alex Zhuravlev
8655818239
staging: lustre: obdclass: lu_site_purge() to handle purge-all
...
if the callers wants to purge all objects, then scanning
should start from the first bucket.
Signed-off-by: Alex Zhuravlev <alexey.zhuravlev@intel.com >
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7038
Reviewed-on: http://review.whamcloud.com/18505
Reviewed-by: Mike Pershin <mike.pershin@intel.com >
Reviewed-by: Faccini Bruno <bruno.faccini@intel.com >
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com >
Signed-off-by: James Simmons <jsimmons@infradead.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-06 10:47:55 +01:00
Parinay Kondekar
d6426a64df
staging: lustre: llite: ll_dir_ioctl cleanup of redundant comparisons
...
In ll_dir_ioctl() two identical comparisions are present for
return code (rc) of ll_dir_getstripe(). This patch removes
the other inside if( ) condition which is not necessary.
Signed-off-by: Parinay Kondekar <parinay.kondekar@seagate.com >
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6512
Reviewed-on: http://review.whamcloud.com/18027
Reviewed-by: Bobi Jam <bobijam@hotmail.com >
Reviewed-by: James Simmons <uja.ornl@yahoo.com >
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com >
Signed-off-by: James Simmons <jsimmons@infradead.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-06 10:47:55 +01:00
Yang Sheng
26c5d2db9c
staging: lustre: libcfs: report hnode value for cfs_hash_putref
...
Add more debugging info.
Signed-off-by: Yang Sheng <yang.sheng@intel.com >
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7084
Reviewed-on: http://review.whamcloud.com/17673
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com >
Reviewed-by: Fan Yong <fan.yong@intel.com >
Reviewed-by: Mike Pershin <mike.pershin@intel.com >
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com >
Signed-off-by: James Simmons <jsimmons@infradead.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-06 10:47:55 +01:00
Li Dongyang
b4f840c15a
staging: lustre: mdt: fail FMODE_WRITE open if the client is read only
...
O_WRONLY/O_RDWR open on a file will get EROFS on a read only client,
but the rpc gets sent to the mdt anyway.
mdt will increase the mot_write_count of the mdt object, blocking
subsequent FMODE_EXEC open to the same file.
This patch makes sure we fail the FMODE_WRITE open with EROFS on the
client straight away without sending the rpc to mdt.
Signed-off-by: Li Dongyang <dongyang.li@anu.edu.au >
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7727
Reviewed-on: http://review.whamcloud.com/18242
Reviewed-by: Ian Costello <icostello@ddn.com >
Reviewed-by: Nathaniel Clark <nathaniel.l.clark@intel.com >
Reviewed-by: Yang Sheng <yang.sheng@intel.com >
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com >
Signed-off-by: James Simmons <jsimmons@infradead.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-06 10:47:55 +01:00
wang di
2ba88d4e10
staging: lustre: llog: reset llog bitmap
...
Once update request fails due to eviction or other failures,
all of update request in the sending list should return fail,
because after the failure, the update log in the following
request will have wrong llog bitmap.
Signed-off-by: wang di <di.wang@intel.com >
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7039
Reviewed-on: http://review.whamcloud.com/16969
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com >
Reviewed-by: James Simmons <uja.ornl@yahoo.com >
Reviewed-by: Lai Siyao <lai.siyao@intel.com >
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com >
Signed-off-by: James Simmons <jsimmons@infradead.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-06 10:47:55 +01:00
wang di
f8e9463889
staging: lustre: mdt: race between open and migrate
...
During intent open, it was found that if the parent has
been migrated to another MDT, it should retry the open
request with the new object, so it needs to keep the
old object in the orphan list, which will be cleanup
during next recovery. Note: if the client still using
the old FID after next recovery, it will return -ENOENT
for the application. Also enqueue the lease lock of
the migrating file, then compare the lease before
migration to make sure no other clients open the file
at the same time.
Signed-off-by: wang di <di.wang@intel.com >
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6475
Reviewed-on: http://review.whamcloud.com/14497
Reviewed-by: James Simmons <uja.ornl@yahoo.com >
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com >
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com >
Signed-off-by: James Simmons <jsimmons@infradead.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-06 10:47:55 +01:00
Ashish Purkar
ea1fb96b65
staging: lustre: osc: fix debug log message formatting
...
Corrected newline specifier in debug log message.
Signed-off-by: Ashish Purkar <ashish.purkar@seagate.com >
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7029
Reviewed-on: http://review.whamcloud.com/16046
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com >
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com >
Signed-off-by: James Simmons <jsimmons@infradead.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-06 10:47:55 +01:00
Jinshan Xiong
219c0c454b
staging: lustre: llite: clear LLIF_DATA_MODIFIED in atomic
...
This flag should be cleared atomically after the op_data flag
MDS_DATA_MODIFIED is packed. Otherwise, if there exists an
operation to dirty the file again, the state may be missed on
the MDT.
Stop using spin lock lli_lock to protect operations of changing
file flags; using bit operations instead.
Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com >
Signed-off-by: James Simmons <uja.ornl@yahoo.com >
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6377
Reviewed-on: http://review.whamcloud.com/14100
Reviewed-by: John L. Hammond <john.hammond@intel.com >
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com >
Signed-off-by: James Simmons <jsimmons@infradead.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-06 10:47:54 +01:00
Dan Carpenter
9aa7c90dce
staging: lustre: cl_page: fix a typo in comments
...
We want to "sever" all the ways to get a new pointer to "pg".
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-06 10:41:04 +01:00
Sandeep Jain
0db184bc25
staging: lustre: Fix function declaration/definition mismatch
...
Fixes following Sparse errors.
lprocfs_status.c:1568:5: error: symbol 'lprocfs_wr_root_squash' redeclared with different type...
lprocfs_status.c:1632:5: error: symbol 'lprocfs_wr_nosquash_nids' redeclared with different type...
Signed-off-by: Sandeep Jain <sandeepjain.linux@gmail.com >
Acked-by: Oleg Drokin <oleg.drokin@intel.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-06 10:41:03 +01:00
Sandeep Jain
8efea9e9b7
staging: lustre: mgc: make llog_process_lock static
...
Fix following sparse warning.
mgc_request.c:376:1:
warning: symbol 'llog_process_lock' was not declared. Should it be static?
Signed-off-by: Sandeep Jain <sandeepjain.linux@gmail.com >
Acked-by: Oleg Drokin <oleg.drokin@intel.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-06 10:41:03 +01:00
Pan Bian
4f9bc53fdc
staging: lustre: lnet: fix improper return value
...
At the end of function lstcon_group_info(), "return 0" seems improper.
It may be better to return the value of rc.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=188811
Signed-off-by: Pan Bian <bianpan2016@163.com >
Acked-by: Oleg Drokin <oleg.drokin@intel.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-06 10:41:03 +01:00
Jinshan Xiong
17037fbd56
staging: lustre: osc: Performance tune for LRU
...
Early launch page LRU work in osc_io_rw_iter_init();
Change the page LRU shrinking policy by OSC attributes;
Delete the contented lock osc_object::oo_seatbelt
Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com >
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5108
Reviewed-on: http://review.whamcloud.com/10458
Reviewed-by: Bobi Jam <bobijam@hotmail.com >
Reviewed-by: Fan Yong <fan.yong@intel.com >
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com >
Signed-off-by: James Simmons <jsimmons@infradead.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-06 10:37:55 +01:00
Jinshan Xiong
aed71a15bb
staging: lustre: osc: create cli_name to get obd name
...
Create the inline function cli_name() to get the name
of the OSC device.
Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com >
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5108
Reviewed-on: http://review.whamcloud.com/10458
Reviewed-by: Bobi Jam <bobijam@hotmail.com >
Reviewed-by: Fan Yong <fan.yong@intel.com >
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com >
Signed-off-by: James Simmons <jsimmons@infradead.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-06 10:37:55 +01:00
Jinshan Xiong
bc32a0de89
staging: lustre: osc: add and fixup comments for LRU handling
...
Add new information about the fields in struct client_obd.
Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com >
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5108
Reviewed-on: http://review.whamcloud.com/10458
Reviewed-by: Bobi Jam <bobijam@hotmail.com >
Reviewed-by: Fan Yong <fan.yong@intel.com >
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com >
Signed-off-by: James Simmons <jsimmons@infradead.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-06 10:37:55 +01:00
Ben Evans
884a136940
staging: lustre: headers: sort headers affected by swab move
...
It was found if you sort the headers alphabetically
that it reduced patch conflicts. This patch sorts
the headers alphabetically and also place linux
header first, then uapi header and finally the
lustre kernel headers.
Signed-off-by: Ben Evans <bevans@cray.com >
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6401
Reviewed-on: http://review.whamcloud.com/16339
Reviewed-by: John L. Hammond <john.hammond@intel.com >
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com >
Reviewed-by: James Simmons <uja.ornl@yahoo.com >
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com >
Signed-off-by: James Simmons <jsimmons@infradead.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-06 10:33:07 +01:00
Ben Evans
36dc51ccb3
staging: lustre: headers: move swab functions to new header files
...
Create headers for pack_generic.c and llog_swab.c
Reference only where needed. This separates out
the kernel only code from lustre_idl.h that is
an UAPI header.
Signed-off-by: Ben Evans <bevans@cray.com >
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6401
Reviewed-on: http://review.whamcloud.com/16339
Reviewed-by: John L. Hammond <john.hammond@intel.com >
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com >
Reviewed-by: James Simmons <uja.ornl@yahoo.com >
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com >
Signed-off-by: James Simmons <jsimmons@infradead.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-06 10:33:07 +01:00
Manoj Sawai
3cea2b2154
Staging: ks7010: ks7010_stio.h: fixed coding style error
...
Fixed 2 coding style errors about trailing whitespaces.
Signed-off-by: Manoj Sawai <mas@iitkgp.ac.in >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-06 10:20:03 +01:00
Yamanappagouda Patil
f416e26457
staging: ks7010: fixed 'space prohibited after that *' erros.
...
Fixed checkpatch.pl errors related to "space prohibited after that '*'
or '&'" in ks_wlan_net.c file.
Signed-off-by: Yamanappagouda Patil <goudapatilk@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-06 10:20:03 +01:00
Yamanappagouda Patil
fe49753069
staging: ks7010: Fixed 'missing blank line after declaration' warnings.
...
Fixed checkpatch.pl warnings 'Missing blank line after declaration'
in ks_wlan_net.c file.
Signed-off-by: Yamanappagouda Patil <goudapatilk@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-06 10:20:02 +01:00
Guillaume Tucker
8d60b47665
staging: android: ashmem: clean up range inline functions
...
Clean up the code in inline functions that deal with page and
range addresses. Use bool instead of int for boolean return
types and remove superfluous brackets.
Signed-off-by: Guillaume Tucker <guillaume.tucker@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-06 10:18:07 +01:00
Guillaume Tucker
40270ca0de
staging: android: ashmem: convert range macros to inlines
...
Convert range_size and range_on_lru macros to inline functions to
fix checkpatch check:
CHECK: Macro argument reuse 'range' - possible side-effects?
Signed-off-by: Guillaume Tucker <guillaume.tucker@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-06 10:18:07 +01:00
Yan Laijun
e895f00a84
Staging: wlan-ng: hfa384x_usb.c Fixed too long code line warnings.
...
Fixed checkpatch warning "line over 80 characters" in
wlan-ng/hfa384x_usb.c file.
Signed-off-by: Yan Laijun <yan.laijun@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-06 10:18:07 +01:00
PrasannaKumar Muralidharan
e5851dc05b
staging: vt6655: Add spaces around +
...
Add spaces around + for better readability of the code.
Signed-off-by: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-06 10:18:07 +01:00
Harsh Jain
30c39a6507
Staging:rtl8712: Fixed coding style issue
...
Fixes following checkpatch.pl warning
Block comments should align the * on each line
Signed-off-by: Harsh Jain <harshjain32@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-06 10:18:07 +01:00
Fernando Apesteguia
dbb804bc42
staging: dgnc: fix unnamed parameter
...
This patch fixes a checkpatch warning.
Signed-off-by: Fernando Apesteguia <fernando.apesteguia@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-06 10:18:07 +01:00
Cheah Kok Cheong
c7ea8b5110
Staging: comedi: kcomedilib: Add module_init/exit function
...
Add init/exit function to follow LKM semantics.
Apparently this module can still load/unload without
the init/exit function.
Tested loading/unloading with and without this patch.
Signed-off-by: Cheah Kok Cheong <thrust73@gmail.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-06 10:08:01 +01:00
Saber Rezvani
b13db6bf53
staging: comedi: s626: use preferred kernel type u32
...
Fix the checkpatch.pl issue:
CHECK: Prefer kernel type 'u32' over 'uint32_t'
Signed-off-by: Saber Rezvani <irsaber@gmail.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-06 10:08:01 +01:00
Saber Rezvani
0bc4538009
staging: comedi: s626: use preferred kernel type u16
...
Fix the checkpatch.pl issue:
CHECK: Prefer kernel type 'u16' over 'uint16_t'
Signed-off-by: Saber Rezvani <irsaber@gmail.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-06 10:08:01 +01:00
Saber Rezvani
d9f9600b8b
staging: comedi: s626: use preferred kernel type u8
...
Fix the checkpatch.pl issue:
CHECK: Prefer kernel type 'u8' over 'uint8_t'
Signed-off-by: Saber Rezvani <irsaber@gmail.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-06 10:08:01 +01:00
Bryan Thompson
af8bc2fb99
staging: unisys: visorbus: Remove two passthrough postcode macros
...
Remove two passthrough macros that are only called from a single
location and make the resultant vmcall directly.
Signed-off-by: Bryan Thompson <bryan.thompson@unisys.com >
Signed-off-by: David Kershner <david.kershner@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-01 09:58:48 +01:00
Bryan Thompson
c6bc82f144
staging: unisys: visorbus: Remove POSTCODE_SEVERITY levels
...
Use the already defined DIAG_SEVERITY values directly instead of special
postcode macro names.
Signed-off-by: Bryan Thompson <bryan.thompson@unisys.com >
Signed-off-by: David Kershner <david.kershner@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-01 09:58:48 +01:00
Bryan Thompson
a96b44f058
staging: unisys: visorbus: Fix spelling error (FAIULRE to FAILURE)
...
There were two instances of FAILURE being misspelled in the s-Par
firmware postcode event enum that are fixed.
Signed-off-by: Bryan Thompson <bryan.thompson@unisys.com >
Signed-off-by: David Kershner <david.kershner@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-01 09:58:48 +01:00
Bryan Thompson
df4c13921e
staging: unisys: visorbus: Remove unused values from guestlinuxdebug
...
Remove guestlinuxdebug enum values that are no longer being used and
renumber remaining values accordingly.
Signed-off-by: Bryan Thompson <bryan.thompson@unisys.com >
Signed-off-by: David Kershner <david.kershner@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-01 09:58:48 +01:00
Bryan Thompson
3d118a421b
staging: unisys: visorbus: Update visorchipset postcode values
...
The visorchipset.c functionality was moved into the visorbus driver
previously. This patch updates the s-Par firmware postcode values to
reflect this status.
Signed-off-by: Bryan Thompson <bryan.thompson@unisys.com >
Signed-off-by: David Kershner <david.kershner@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-01 09:58:48 +01:00
Bryan Thompson
f30c2c355c
staging: unisys: visorbus: Remove POSTCODE_LINUX_4 macro
...
Call POSTCODE_LINUX directly instead of passing through POSTCODE_LINUX_4.
Signed-off-by: Bryan Thompson <bryan.thompson@unisys.com >
Signed-off-by: David Kershner <david.kershner@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-01 09:58:48 +01:00
Bryan Thompson
6daa8205e1
staging: unisys: visorbus: Remove POSTCODE_LINUX_3 macro
...
Call POSTCODE_LINUX directly instead of passing through POSTCODE_LINUX_3.
Signed-off-by: Bryan Thompson <bryan.thompson@unisys.com >
Signed-off-by: David Kershner <david.kershner@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-01 09:58:48 +01:00
Bryan Thompson
3840b772f5
staging: unisys: visorbus: Remove POSTCODE_LINUX_2 macro
...
Call POSTCODE_LINUX directly instead of passing through POSTCODE_LINUX_2.
Signed-off-by: Bryan Thompson <bryan.thompson@unisys.com >
Signed-off-by: David Kershner <david.kershner@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-01 09:58:48 +01:00
Bryan Thompson
c0e87ae270
staging: unisys: visorbus: Use CURRENT_FILE_PC in base postcode macro
...
Use CURRENT_FILE_PC directly in the POSTCODE_LINUX macro instead of
relying on passthrough macros to provide it.
Signed-off-by: Bryan Thompson <bryan.thompson@unisys.com >
Signed-off-by: David Kershner <david.kershner@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-01 09:58:48 +01:00
Bryan Thompson
c7e047768b
staging: unisys: visorbus: Replace two base postcode macros with one
...
Leverage the 3 existing s-Par postcode macros to do a bit more work
and provide only 1 base postcode macro.
Signed-off-by: Bryan Thompson <bryan.thompson@unisys.com >
Signed-off-by: David Kershner <david.kershner@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-01 09:58:48 +01:00
Erik Arfvidson
22744c96c7
staging: unisys: visorbus: vbuschannel.h remove unused pound defines
...
This patch removes all the unused pound defines currently in
vbuschannel.h.
Signed-off-by: Erik Arfvidson <erik.arfvidson@unisys.com >
Signed-off-by: David Kershner <david.kershner@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-01 09:58:48 +01:00
Erik Arfvidson
a96f58c1dc
staging: unisys: visorbus: vmcallinterface.h remove unused pound defines
...
This patch removes all the unused pound defines currently in
vmcallinterface.h.
Signed-off-by: Erik Arfvidson <erik.arfvidson@unisys.com >
Signed-off-by: David Kershner <david.kershner@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-01 09:58:48 +01:00
Greg Kroah-Hartman
1eb388b67a
staging: dgnc: remove sysfs files
...
The dgnc driver has no business creating "custom" sysfs files just for a
single tty driver. Combined with the odd way they are created, it's
just a mess, so remove them entirely as I am tired of tripping over them
when doing driver core changes.
Cc: Lidza Louina <lidza.louina@gmail.com >
Cc: Mark Hounschell <markh@compro.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-12-01 09:57:49 +01:00
Andrea Ghittino
f1706cb74e
staging: sm750fb: fix tabstop style warning
...
Fixes sm750fb tabstop style warning
found by checkpatch.pl tool
Signed-off-by: Andrea Ghittino <aghittino@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-11-30 12:59:53 +01:00
James Simmons
a4424bf50b
staging: lustre: libcfs: repair improper unlikely test
...
The scripts to replace NULL test got confused with the
macro parenthesis so the unlikely test in libcfs_private.h
ended up incorrect. This fixes this error.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com >
Signed-off-by: James Simmons <jsimmons@infradead.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-11-30 12:59:52 +01:00
Colin Ian King
5bcf2a921b
staging: unisys: fix spelling mistake of "outstanding"
...
Trivial fix to spelling mistake "oustanding" to "outstanding".
Signed-off-by: Colin Ian King <colin.king@canonical.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-11-29 22:02:50 +01:00