- 30 11月, 2016 14 次提交
-
-
由 Sergio Paracuellos 提交于
This patch remove UPDATE_STATS macro from header slic.h which is not being used. Signed-off-by: NSergio Paracuellos <sergio.paracuellos@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Yamanappagouda Patil 提交于
Fixed checkpatch.pl warnings related to {} brace warnings for single statement blocks. Signed-off-by: NYamanappagouda Patil <goudapatilk@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Jason Litzinger 提交于
Fix checkpatch warnings regarding the use of symbolic permissions. Where the MOST_CHANNEL_ATTR macro is used, convert to octal permissions over symbolic. Where _ATTR is used directly, replace with _ATTR_RW/_ATTR_WO and update the show/store function names appropriately. Signed-off-by: NJason Litzinger <jlitzingerdev@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Fan Yong 提交于
This is a feature for the client and server to use obd_connect_flags2 to communicate future feature flags. The client should set this flag whenever any flags in that field are requested, and the server should mask unsupported features from this field (assuming it understands OBD_CONNECT_FLAGS2). When checking if an OBD_CONNECT2_xxxx feature is supported, the client/server needs to firstly check if OBD_CONNECT_FLAGS2 is supported, since this field is also beyond the end of the old obd_connect_data. Land the connection flags to upstream client earlier for reserving the slot to avoid potential conflict with others. Signed-off-by: NFan Yong <fan.yong@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7543 Reviewed-on: http://review.whamcloud.com/17647Reviewed-by: NAndreas Dilger <andreas.dilger@intel.com> Reviewed-by: NPatrick Farrell <paf@cray.com> Signed-off-by: NJames Simmons <jsimmons@infradead.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Fan Yong 提交于
The connection flag OBD_CONNECT_OBDOPACK will be used for the following the patch: LU-4215 optimize OUT protocol http://review.whamcloud.com/15336 Land the connection flags to upstream client earlier for reserving the slot to avoid potential conflict with others. Signed-off-by: NFan Yong <fan.yong@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7543 Reviewed-on: http://review.whamcloud.com/17646Reviewed-by: NAndreas Dilger <andreas.dilger@intel.com> Reviewed-by: NPatrick Farrell <paf@cray.com> Signed-off-by: NJames Simmons <jsimmons@infradead.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Fan Yong 提交于
The connection flag OBD_CONNECT_LOCK_AHEAD will be used for the following the patch: LU-6917 LDLM lock ahead http://review.whamcloud.com/13564 Land the connection flags to upstream client earlier for reserving the slot to avoid potential conflict with others. Signed-off-by: NFan Yong <fan.yong@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7543 Reviewed-on: http://review.whamcloud.com/17645Reviewed-by: NAndreas Dilger <andreas.dilger@intel.com> Reviewed-by: NPatrick Farrell <paf@cray.com> Signed-off-by: NJames Simmons <jsimmons@infradead.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Fan Yong 提交于
The connection flag OBD_CONNECT_SUBTREE will be used for the following the patch: LU-28 mounting of filesystem from MDS http://review.whamcloud.com/5007 Land the connection flags to master earlier for reserving the slot to avoid potential conflict with others. Signed-off-by: NFan Yong <fan.yong@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7543 Reviewed-on: http://review.whamcloud.com/17644Reviewed-by: NAndreas Dilger <andreas.dilger@intel.com> Reviewed-by: NPatrick Farrell <paf@cray.com> Signed-off-by: NJames Simmons <jsimmons@infradead.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Andreas Dilger 提交于
Fix users of flags that were using "int" instead of named enum. Rename some "flags" variables to distinguish between different flags. Signed-off-by: NAndreas Dilger <andreas.dilger@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6142 Reviewed-on: http://review.whamcloud.com/15300 Reviewed-on: http://review.whamcloud.com/15301Reviewed-by: NJames Simmons <uja.ornl@yahoo.com> Reviewed-by: NBob Glossman <bob.glossman@intel.com> Reviewed-by: Nfrank zago <fzago@cray.com> Reviewed-by: NDmitry Eremin <dmitry.eremin@intel.com> Reviewed-by: NJohn L. Hammond <john.hammond@intel.com> Reviewed-by: NOleg Drokin <oleg.drokin@intel.com> Signed-off-by: NJames Simmons <jsimmons@infradead.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Andreas Dilger 提交于
Rename LDLM_CANCEL_* flags (used with enum ldlm_lru_flags) to LDLM_LRU_FLAGS_* to avoid confusion with enum ldlm_cancel_flags. Signed-off-by: NAndreas Dilger <andreas.dilger@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6142 Reviewed-on: http://review.whamcloud.com/15300 Reviewed-on: http://review.whamcloud.com/15301Reviewed-by: NJames Simmons <uja.ornl@yahoo.com> Reviewed-by: NBob Glossman <bob.glossman@intel.com> Reviewed-by: Nfrank zago <fzago@cray.com> Reviewed-by: NDmitry Eremin <dmitry.eremin@intel.com> Reviewed-by: NJohn L. Hammond <john.hammond@intel.com> Reviewed-by: NOleg Drokin <oleg.drokin@intel.com> Signed-off-by: NJames Simmons <jsimmons@infradead.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Andreas Dilger 提交于
Replace usage of ldlm_wire_policy_data_t with named enums to conform to upstream coding style. Signed-off-by: NAndreas Dilger <andreas.dilger@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6142 Reviewed-on: http://review.whamcloud.com/15300 Reviewed-on: http://review.whamcloud.com/15301Reviewed-by: NJames Simmons <uja.ornl@yahoo.com> Reviewed-by: NBob Glossman <bob.glossman@intel.com> Reviewed-by: Nfrank zago <fzago@cray.com> Reviewed-by: NDmitry Eremin <dmitry.eremin@intel.com> Reviewed-by: NJohn L. Hammond <john.hammond@intel.com> Reviewed-by: NOleg Drokin <oleg.drokin@intel.com> Signed-off-by: NJames Simmons <jsimmons@infradead.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Andreas Dilger 提交于
Replace usage of ldlm_side_t with named enums to conform to upstream coding style. Signed-off-by: NAndreas Dilger <andreas.dilger@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6142 Reviewed-on: http://review.whamcloud.com/15300 Reviewed-on: http://review.whamcloud.com/15301Reviewed-by: NJames Simmons <uja.ornl@yahoo.com> Reviewed-by: NBob Glossman <bob.glossman@intel.com> Reviewed-by: Nfrank zago <fzago@cray.com> Reviewed-by: NDmitry Eremin <dmitry.eremin@intel.com> Reviewed-by: NJohn L. Hammond <john.hammond@intel.com> Reviewed-by: NOleg Drokin <oleg.drokin@intel.com> Signed-off-by: NJames Simmons <jsimmons@infradead.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Andreas Dilger 提交于
Replace usage of ldlm_policy_data_t with named enums to conform to upstream coding style. Signed-off-by: NAndreas Dilger <andreas.dilger@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6142 Reviewed-on: http://review.whamcloud.com/15300 Reviewed-on: http://review.whamcloud.com/15301Reviewed-by: NJames Simmons <uja.ornl@yahoo.com> Reviewed-by: NBob Glossman <bob.glossman@intel.com> Reviewed-by: Nfrank zago <fzago@cray.com> Reviewed-by: NDmitry Eremin <dmitry.eremin@intel.com> Reviewed-by: NJohn L. Hammond <john.hammond@intel.com> Reviewed-by: NOleg Drokin <oleg.drokin@intel.com> Signed-off-by: NJames Simmons <jsimmons@infradead.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Dan Carpenter 提交于
We want sizeof(struct lstcon_node) but instead we're getting the sizeof a pointer. Fixes: 8d78f0f2 ("staging: lustre: lnet: cleanup some of the > 80 line issues") Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com> Reviewed-by: NAndreas Dilger <andreas.dilger@intel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Dan Carpenter 提交于
We should free "desc" before returning NULL. Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com> Reviewed-by: NAndreas Dilger <andreas.dilger@intel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
- 28 11月, 2016 1 次提交
-
-
由 Greg Kroah-Hartman 提交于
Merge tag 'iio-for-4.10d' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-next Jonathan writes: Fourth set of IIO new device support, features and cleaups for the 4.10 cycle. Probably the final set before the merge window unless things get significantly delayed. New device support * STM32 ADC core - new driver. Interesting device with up to 3 ADCs with complex triggering options that will follow later. Note split into an 'mfd like' core that handles the interrupt sharing etc between the various instances present and a per ADC section that is instantiated as many times as needed. - device tree bindings. Cleanups and minor fixes * st_accel - inline per sensor data as the defines don't add any meaning and make it much harder to check if a given sensor has the right values. * hid-magnetometer - sort out the associations of the associated attributes with the two types.
-
- 25 11月, 2016 2 次提交
-
-
由 Ooi, Joyce 提交于
iio: magnetometer: separate the values of attributes based on their usage type for HID compass sensor There are 2 usage types (Magnetic Flux and Heading data field) for HID compass sensor, thus the values of offset, scale, and sensitivity should be separated according to their respective usage type. The changes made are as below: 1. Hysteresis: A struct hid_sensor_common rot_attributes is created in struct magn_3d_state to contain the sensitivity for IIO_ROT. 2. Scale: scale_pre_decml and scale_post_decml are separated for IIO_MAGN and IIO_ROT. 3. Offset: Same as scale, value_offset is separated for IIO_MAGN and IIO_ROT. For sensitivity, HID_USAGE_SENSOR_ORIENT_MAGN_FLUX and HID_USAGE_SENSOR_ORIENT_MAGN_HEADING are used for sensivitity fields based on the HID Sensor Usages specifications. Hence, these changes are added on the sensitivity field. Signed-off-by: NOoi, Joyce <joyce.ooi@intel.com> Acked-by: NSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
由 Dan Carpenter 提交于
This array is supposed to have 10 elements. Smatch complains that with the current code we can have n == max_ints and read beyond the end of the array. Fixes: ac4f6eee ("staging: iio: TAOS tsl258x: Device driver") Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com> Acked-by: NBrian Masney <masneyb@onstation.org> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
-
- 23 11月, 2016 23 次提交
-
-
由 Walt Feasel 提交于
Make suggested checkpatch modification for CHECK: Alignment should match open parenthesis Signed-off-by: NWalt Feasel <waltfeasel@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Walt Feasel 提交于
Make modifications to comment style Signed-off-by: NWalt Feasel <waltfeasel@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Walt Feasel 提交于
Make suggested checkpatch modification for CHECK: Blank lines aren't necessary after an open brace '{' Signed-off-by: NWalt Feasel <waltfeasel@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Walt Feasel 提交于
Make suggested checkpatch modification for CHECK: Please don't use multiple blank lines Signed-off-by: NWalt Feasel <waltfeasel@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Walt Feasel 提交于
Make suggested checkpatch modification for CHECK: Logical continuations should be on the previous line Signed-off-by: NWalt Feasel <waltfeasel@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Walt Feasel 提交于
Make suggested checkpatch modification for CHECK: spaces preferred around that '|' Signed-off-by: NWalt Feasel <waltfeasel@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Walt Feasel 提交于
Make suggested checkpatch modification for CHECK: spaces preferred around that '|' Signed-off-by: NWalt Feasel <waltfeasel@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Walt Feasel 提交于
Make modifications to comments Signed-off-by: NWalt Feasel <waltfeasel@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Walt Feasel 提交于
Make suggested checkpatch modification for CHECK: spaces preferred around that '|' Signed-off-by: NWalt Feasel <waltfeasel@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Walt Feasel 提交于
Make modifications to comments Signed-off-by: NWalt Feasel <waltfeasel@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Walt Feasel 提交于
Make suggested checkpatch modification for CHECK: spaces preferred around that '+' Signed-off-by: NWalt Feasel <waltfeasel@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Walt Feasel 提交于
Make modifications to align columns Signed-off-by: NWalt Feasel <waltfeasel@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Walt Feasel 提交于
Make suggested checkpatch modification for CHECK: Alignment should match open parenthesis Signed-off-by: NWalt Feasel <waltfeasel@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Walt Feasel 提交于
Make modifications to comment style Signed-off-by: NWalt Feasel <waltfeasel@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Walt Feasel 提交于
Make suggested checkpatch modification for CHECK: Alignment should match open parenthesis Signed-off-by: NWalt Feasel <waltfeasel@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Walt Feasel 提交于
Make suggested checkpatch modification for CHECK: spaces preferred around that '|' Signed-off-by: NWalt Feasel <waltfeasel@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Walt Feasel 提交于
Make suggested checkpatch modification for WARNING: braces {} are not necessary for single statement blocks Signed-off-by: NWalt Feasel <waltfeasel@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Walt Feasel 提交于
Make suggested checkpatch modification for CHECK: Logical continuations should be on the previous line Signed-off-by: NWalt Feasel <waltfeasel@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Walt Feasel 提交于
Make suggested checkpatch modification for CHECK: Blank lines aren't necessary after an open brace '{' Signed-off-by: NWalt Feasel <waltfeasel@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 David Kershner 提交于
Add proper error handling to bus_configure and have it propagate errors back up the stack. This helped to streamline the function as well. Signed-off-by: NDavid Kershner <david.kershner@unisys.com> Reported-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 David Kershner 提交于
It really isn't an error when you call visorchannel_signalremove and there isn't anything in the queue. Just means that the IOSP didn't process anything since the last time you checked. Just inform the caller that it is empty by returning -EAGAIN. Signed-off-by: NDavid Kershner <david.kershner@unisys.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 David Kershner 提交于
The function controlvm_respond returns proper error handling, so now we can propagate the error up and handle it appropriately. Signed-off-by: NDavid Kershner <david.kershner@unisys.com> Reported-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 David Kershner 提交于
Pass the error returned from visorchannel_signalinsert up the stack instead of just ignoring it. Signed-off-by: NDavid Kershner <david.kershner@unisys.com> Reported-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-