[kbuild] [wireless-next:master 65/103] drivers/net/wireless/rsi/rsi_91x_mgmt.c:992 rsi_send_auto_rate_request() error: buffer overflow 'rsi_rates' 12 = 15

2014-06-20 Thread kbuild test robot
tree:   
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next.git master
head:   2e91606f5e1ec7329557dfc0e298c4c021acbb80
commit: 0d59f5267d93f71b3d0c3c80f4948065e77ee75c [65/103] rsi: Changed rate 
handling.

drivers/net/wireless/rsi/rsi_91x_mgmt.c:992 rsi_send_auto_rate_request() error: 
buffer overflow 'rsi_rates' 12 = 15

git remote add wireless-next 
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next.git
git remote update wireless-next
git checkout 0d59f5267d93f71b3d0c3c80f4948065e77ee75c
vim +/rsi_rates +992 drivers/net/wireless/rsi/rsi_91x_mgmt.c

dad0d04f Fariya Fatima 2014-03-16   976 auto_rate-desc_word[1] = 
cpu_to_le16(AUTO_RATE_IND);
dad0d04f Fariya Fatima 2014-03-16   977  
dad0d04f Fariya Fatima 2014-03-16   978 if (common-channel_width == 
BW_40MHZ)
dad0d04f Fariya Fatima 2014-03-16   979 auto_rate-desc_word[7] 
|= cpu_to_le16(1);
dad0d04f Fariya Fatima 2014-03-16   980  
0d59f526 Jahnavi Meher 2014-06-16   981 if (band == 
IEEE80211_BAND_2GHZ) {
0d59f526 Jahnavi Meher 2014-06-16   982 min_rate = RSI_RATE_1;
0d59f526 Jahnavi Meher 2014-06-16   983 rate_table_offset = 0;
0d59f526 Jahnavi Meher 2014-06-16   984 } else {
0d59f526 Jahnavi Meher 2014-06-16   985 min_rate = RSI_RATE_6;
0d59f526 Jahnavi Meher 2014-06-16   986 rate_table_offset = 4;
0d59f526 Jahnavi Meher 2014-06-16   987 }
dad0d04f Fariya Fatima 2014-03-16   988  
dad0d04f Fariya Fatima 2014-03-16   989 for (ii = 0, jj = 0; ii  
ARRAY_SIZE(rsi_rates); ii++) {
dad0d04f Fariya Fatima 2014-03-16   990 if (rate_bitmap  
BIT(ii)) {
0d59f526 Jahnavi Meher 2014-06-16   991 
selected_rates[jj++] =
0d59f526 Jahnavi Meher 2014-06-16  @992 (rsi_rates[ii + 
rate_table_offset].bitrate / 5);
  
^^^
We added the + rate_table_offset which puts us past the end of the
array.  It's not clear what was intended.

dad0d04f Fariya Fatima 2014-03-16   993 rate_offset++;
dad0d04f Fariya Fatima 2014-03-16   994 }
dad0d04f Fariya Fatima 2014-03-16   995 }
dad0d04f Fariya Fatima 2014-03-16   996 num_supported_rates = jj;
dad0d04f Fariya Fatima 2014-03-16   997  
dad0d04f Fariya Fatima 2014-03-16   998 if (common-vif_info[0].is_ht) {
dad0d04f Fariya Fatima 2014-03-16   999 for (ii = 0; ii  
ARRAY_SIZE(mcs); ii++)
dad0d04f Fariya Fatima 2014-03-16  1000 
selected_rates[jj++] = mcs[ii];

---
0-DAY kernel build testing backend  Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild Intel Corporation
___
kbuild mailing list
kbuild@lists.01.org
https://lists.01.org/mailman/listinfo/kbuild


[kbuild] [mmotm:master 191/230] ipc/shm.c:335:9: sparse: context imbalance in 'exit_shm' - different lock contexts for basic block

2014-06-20 Thread kbuild test robot
TO: Jack Miller mille...@us.ibm.com
CC: Johannes Weiner han...@cmpxchg.org
CC: Milton Miller milt...@bga.com
CC: Andrew Morton a...@linux-foundation.org
CC: Linux Memory Management List linux...@kvack.org

tree:   git://git.cmpxchg.org/linux-mmotm.git master
head:   df25ba7db0775d87018e2cd92f26b9b087093840
commit: e0f24ccae6b51cffbc1f1ed6b6c2f401f3cbee31 [191/230] shm: allow exit_shm 
in parallel if only marking orphans
reproduce: make C=1 CF=-D__CHECK_ENDIAN__
:: branch date: 8 hours ago
:: commit date: 8 hours ago

   ipc/shm.c:493:31: sparse: implicit cast to nocast type
   ipc/shm.c:534:36: sparse: implicit cast to nocast type
   ipc/shm.c:545:36: sparse: implicit cast to nocast type
   ipc/shm.c:95:17: sparse: context imbalance in 'do_shm_rmid' - unexpected 
unlock
   ipc/shm.c:195:9: sparse: context imbalance in 'shm_open' - unexpected unlock
   ipc/shm.c:210:13: sparse: context imbalance in 'shm_destroy' - unexpected 
unlock
   ipc/shm.c:267:17: sparse: context imbalance in 'shm_close' - unexpected 
unlock
   ipc/shm.c:272:12: sparse: context imbalance in 'shm_try_destroy_orphaned' - 
different lock contexts for basic block
 ipc/shm.c:335:9: sparse: context imbalance in 'exit_shm' - different lock 
 contexts for basic block
   arch/x86/include/asm/current.h:14:16: sparse: context imbalance in 'newseg' 
- unexpected unlock
   ipc/shm.c:827:9: sparse: context imbalance in 'shmctl_down' - different lock 
contexts for basic block
   ipc/shm.c:1205:17: sparse: context imbalance in 'do_shmat' - unexpected 
unlock

git remote add mmotm git://git.cmpxchg.org/linux-mmotm.git
git remote update mmotm
git checkout e0f24ccae6b51cffbc1f1ed6b6c2f401f3cbee31
vim +/exit_shm +335 ipc/shm.c

e0f24cca Jack Miller   2014-06-20  329  /*
e0f24cca Jack Miller   2014-06-20  330   * Destroy all already created 
segments, that were not yet mapped,
e0f24cca Jack Miller   2014-06-20  331   * and mark any mapped as 
orphan to cover the sysctl toggling.
e0f24cca Jack Miller   2014-06-20  332   * Destroy is skipped if 
shm_may_destroy() returns false.
e0f24cca Jack Miller   2014-06-20  333   */
d9a605e4 Davidlohr Bueso   2013-09-11  334  down_write(shm_ids(ns).rwsem);
e0f24cca Jack Miller   2014-06-20 @335  list_for_each_entry_safe(shp, 
n, task-sysvshm.shm_clist, shm_clist) {
e0f24cca Jack Miller   2014-06-20  336  shp-shm_creator = NULL;
e0f24cca Jack Miller   2014-06-20  337  
e0f24cca Jack Miller   2014-06-20  338  if (shm_may_destroy(ns, 
shp)) {
e0f24cca Jack Miller   2014-06-20  339  
shm_lock_by_ptr(shp);
e0f24cca Jack Miller   2014-06-20  340  shm_destroy(ns, 
shp);
e0f24cca Jack Miller   2014-06-20  341  }
e0f24cca Jack Miller   2014-06-20  342  }
e0f24cca Jack Miller   2014-06-20  343  
e0f24cca Jack Miller   2014-06-20  344  /* Remove the list head from 
any segments still attached. */
0f1b4f37 Jack Miller   2014-06-20  345  
list_del(task-sysvshm.shm_clist);
d9a605e4 Davidlohr Bueso   2013-09-11  346  up_write(shm_ids(ns).rwsem);
^1da177e Linus Torvalds2005-04-16  347  }
^1da177e Linus Torvalds2005-04-16  348  
d0217ac0 Nick Piggin   2007-07-19  349  static int shm_fault(struct 
vm_area_struct *vma, struct vm_fault *vmf)
bc56bba8 Eric W. Biederman 2007-02-20  350  {
bc56bba8 Eric W. Biederman 2007-02-20  351  struct file *file = 
vma-vm_file;
bc56bba8 Eric W. Biederman 2007-02-20  352  struct shm_file_data *sfd = 
shm_file_data(file);
bc56bba8 Eric W. Biederman 2007-02-20  353  
d0217ac0 Nick Piggin   2007-07-19  354  return sfd-vm_ops-fault(vma, 
vmf);
bc56bba8 Eric W. Biederman 2007-02-20  355  }
bc56bba8 Eric W. Biederman 2007-02-20  356  
bc56bba8 Eric W. Biederman 2007-02-20  357  #ifdef CONFIG_NUMA
d823e3e7 Adrian Bunk   2007-10-16  358  static int shm_set_policy(struct 
vm_area_struct *vma, struct mempolicy *new)
bc56bba8 Eric W. Biederman 2007-02-20  359  {
bc56bba8 Eric W. Biederman 2007-02-20  360  struct file *file = 
vma-vm_file;
bc56bba8 Eric W. Biederman 2007-02-20  361  struct shm_file_data *sfd = 
shm_file_data(file);
bc56bba8 Eric W. Biederman 2007-02-20  362  int err = 0;
bc56bba8 Eric W. Biederman 2007-02-20  363  if (sfd-vm_ops-set_policy)
bc56bba8 Eric W. Biederman 2007-02-20  364  err = 
sfd-vm_ops-set_policy(vma, new);
bc56bba8 Eric W. Biederman 2007-02-20  365  return err;
bc56bba8 Eric W. Biederman 2007-02-20  366  }
bc56bba8 Eric W. Biederman 2007-02-20  367  
d823e3e7 Adrian Bunk   2007-10-16  368  static struct mempolicy 
*shm_get_policy(struct vm_area_struct *vma,
d823e3e7 Adrian Bunk   2007-10-16  369  
unsigned long addr)
bc56bba8 Eric W. Biederman 2007-02-20  370  {
bc56bba8 Eric W. Biederman 2007-02-20  371  struct file *file = 
vma-vm_file;
bc56bba8 Eric W. Biederman 2007-02-20  372

[kbuild] [pinchartl-fbdev:vsp1/devel 5/15] drivers/gpu/drm/drm_crtc.c:2322 drm_mode_setplane() error: we previously assumed 'fb' could be null (see line 2296)

2014-06-20 Thread kbuild test robot
TO: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com

tree:   git://linuxtv.org/pinchartl/fbdev.git vsp1/devel
head:   a0ab9195d02803b78751bc2212dfa07472d11964
commit: c8a48aae3e1f78a0b2edafbcd3dc6ff7d6ff8661 [5/15] drm: Connect live 
source to plane
:: branch date: 71 minutes ago
:: commit date: 72 minutes ago

drivers/gpu/drm/drm_crtc.c:2322 drm_mode_setplane() error: we previously 
assumed 'fb' could be null (see line 2296)

git remote add pinchartl-fbdev git://linuxtv.org/pinchartl/fbdev.git
git remote update pinchartl-fbdev
git checkout c8a48aae3e1f78a0b2edafbcd3dc6ff7d6ff8661
vim +/fb +2322 drivers/gpu/drm/drm_crtc.c

c8a48aae Laurent Pinchart 2013-06-24  2290  if (src-plane  
src-plane != plane) {
c8a48aae Laurent Pinchart 2013-06-24  2291  ret = -EBUSY;
c8a48aae Laurent Pinchart 2013-06-24  2292  goto out;
c8a48aae Laurent Pinchart 2013-06-24  2293  }
c8a48aae Laurent Pinchart 2013-06-24  2294  
c8a48aae Laurent Pinchart 2013-06-24  2295  /* Verify that the 
source can be associated with the plane. */
c8a48aae Laurent Pinchart 2013-06-24 @2296  list_for_each_entry(p, 
dev-mode_config.plane_list, head) {
c8a48aae Laurent Pinchart 2013-06-24  2297  if (p == plane)
c8a48aae Laurent Pinchart 2013-06-24  2298  break;
c8a48aae Laurent Pinchart 2013-06-24  2299  plane_mask = 
1;
c8a48aae Laurent Pinchart 2013-06-24  2300  }
c8a48aae Laurent Pinchart 2013-06-24  2301  
c8a48aae Laurent Pinchart 2013-06-24  2302  if 
(!(src-possible_planes  plane_mask)) {
c8a48aae Laurent Pinchart 2013-06-24  2303  ret = -EINVAL;
c8a48aae Laurent Pinchart 2013-06-24  2304  goto out;
c8a48aae Laurent Pinchart 2013-06-24  2305  }
c8a48aae Laurent Pinchart 2013-06-24  2306  
c8a48aae Laurent Pinchart 2013-06-24  2307  width = src-width  
16;
c8a48aae Laurent Pinchart 2013-06-24  2308  height = src-height  
16;
c8a48aae Laurent Pinchart 2013-06-24  2309  pixel_format = 
src-pixel_format;
c8a48aae Laurent Pinchart 2013-06-24  2310  } else {
c8a48aae Laurent Pinchart 2013-06-24  2311  DRM_DEBUG_KMS(Unknown 
framebuffer or live source ID %d\n,
8cf5c917 Jesse Barnes 2011-11-14  2312
plane_req-fb_id);
8cf5c917 Jesse Barnes 2011-11-14  2313  ret = -ENOENT;
8cf5c917 Jesse Barnes 2011-11-14  2314  goto out;
8cf5c917 Jesse Barnes 2011-11-14  2315  }
8cf5c917 Jesse Barnes 2011-11-14  2316  
c8a48aae Laurent Pinchart 2013-06-24  2317  /* Check whether this plane 
supports the pixel format. */
62443be6 Ville Syrjälä2011-12-20  2318  for (i = 0; i  
plane-format_count; i++)
c8a48aae Laurent Pinchart 2013-06-24  2319  if (pixel_format == 
plane-format_types[i])
62443be6 Ville Syrjälä2011-12-20  2320  break;
62443be6 Ville Syrjälä2011-12-20  2321  if (i == plane-format_count) {
6ba6d03e Ville Syrjälä2013-06-10 @2322  DRM_DEBUG_KMS(Invalid 
pixel format %s\n,
6ba6d03e Ville Syrjälä2013-06-10  2323
drm_get_format_name(fb-pixel_format));
62443be6 Ville Syrjälä2011-12-20  2324  ret = -EINVAL;
62443be6 Ville Syrjälä2011-12-20  2325  goto out;

:: The code at line 2322 was first introduced by commit
:: 6ba6d03e69125ef42a63e90d45e49c659ea3c34f drm: Print pretty names for 
pixel formats

:: TO: Ville Syrjälä ville.syrj...@linux.intel.com
:: CC: Dave Airlie airl...@redhat.com

---
0-DAY kernel build testing backend  Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild Intel Corporation
___
kbuild mailing list
kbuild@lists.01.org
https://lists.01.org/mailman/listinfo/kbuild


[kbuild] [cryptodev:master 9/28] crypto/drbg.c:526 drbg_ctr_df() error: we previously assumed 'tempstr' could be null (see line 523)

2014-06-20 Thread kbuild test robot
TO: Stephan Mueller smuel...@chronox.de
CC: Herbert Xu herb...@gondor.apana.org.au

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git 
master
head:   6c9e3dcd36691c8690861a5f6902226ed2d8a75e
commit: 5bfcf65b385f3e011b72261612abfd49df102086 [9/28] crypto: drbg - compile 
the DRBG code
config: make ARCH=i386 allyesconfig
:: branch date: 2 hours ago
:: commit date: 7 hours ago

All warnings:

   crypto/drbg.c: In function 'drbg_seed':
 crypto/drbg.c:1097:3: warning: format '%lu' expects argument of type 'long 
 unsigned int', but argument 2 has type 'size_t' [-Wformat=]
  pr_devel(DRBG: personalization string too long %lu\n,
  ^
   In file included from include/linux/cpumask.h:12:0,
from arch/x86/include/asm/cpumask.h:4,
from arch/x86/include/asm/msr.h:10,
from arch/x86/include/asm/processor.h:20,
from arch/x86/include/asm/archrandom.h:26,
from include/linux/random.h:81,
from include/crypto/drbg.h:43,
from crypto/drbg.c:100:
   crypto/drbg.c: In function 'drbg_init':
 include/linux/bug.h:33:45: warning: format '%lu' expects argument of type 
 'long unsigned int', but argument 2 has type 'unsigned int' [-Wformat=]
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); }))
^
 include/linux/compiler-gcc.h:47:28: note: in expansion of macro 
 'BUILD_BUG_ON_ZERO'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), (a)[0]))
   ^
 include/linux/kernel.h:54:59: note: in expansion of macro '__must_be_array'
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + 
__must_be_array(arr))
  ^
 include/linux/printk.h:244:34: note: in expansion of macro 'ARRAY_SIZE'
 printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
 ^
 crypto/drbg.c:1966:3: note: in expansion of macro 'pr_info'
  pr_info(DRBG: Cannot register all DRBG types
  ^
 include/linux/bug.h:33:45: warning: format '%lu' expects argument of type 
 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=]
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); }))
^
 include/linux/compiler-gcc.h:47:28: note: in expansion of macro 
 'BUILD_BUG_ON_ZERO'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), (a)[0]))
   ^
 include/linux/kernel.h:54:59: note: in expansion of macro '__must_be_array'
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + 
__must_be_array(arr))
  ^
 include/linux/printk.h:244:34: note: in expansion of macro 'ARRAY_SIZE'
 printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
 ^
 crypto/drbg.c:1966:3: note: in expansion of macro 'pr_info'
  pr_info(DRBG: Cannot register all DRBG types
  ^
crypto/drbg.c:526 drbg_ctr_df() error: we previously assumed 'tempstr' could be 
null (see line 523)

git remote add cryptodev 
git://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
git remote update cryptodev
git checkout 5bfcf65b385f3e011b72261612abfd49df102086
vim +/tempstr +526 crypto/drbg.c

541af946 Stephan Mueller 2014-05-31  517  
541af946 Stephan Mueller 2014-05-31  518/*
541af946 Stephan Mueller 2014-05-31  519 * splice in addtl between S2 
and S4 -- we place S4 at the end of the
541af946 Stephan Mueller 2014-05-31  520 * input data chain
541af946 Stephan Mueller 2014-05-31  521 */
541af946 Stephan Mueller 2014-05-31  522tempstr = addtl;
541af946 Stephan Mueller 2014-05-31 @523for (; NULL != tempstr; tempstr 
= tempstr-next)
541af946 Stephan Mueller 2014-05-31  524if (NULL == 
tempstr-next)
541af946 Stephan Mueller 2014-05-31  525break;
541af946 Stephan Mueller 2014-05-31 @526tempstr-next = S4;
541af946 Stephan Mueller 2014-05-31  527  
541af946 Stephan Mueller 2014-05-31  528/* 10.4.2 step 9 */
541af946 Stephan Mueller 2014-05-31  529while (templen  
(drbg_keylen(drbg) + (drbg_blocklen(drbg {

:: The code at line 526 was first introduced by commit
:: 541af946fe1360ec1b45730964e87d7f93c50781 crypto: drbg - SP800-90A 
Deterministic Random Bit Generator

:: TO: Stephan Mueller smuel...@chronox.de
:: CC: Herbert Xu herb...@gondor.apana.org.au

---
0-DAY kernel build testing backend  Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild Intel Corporation
___
kbuild mailing list
kbuild@lists.01.org
https://lists.01.org/mailman/listinfo/kbuild


[kbuild] I am offline until Jul 7

2014-06-20 Thread Dan Carpenter
I'm on vacation for the next two weeks.  :)  Can someone cover for me?
Otherwise, I'll catch up when I get back.

regards,
dan carpenter

___
kbuild mailing list
kbuild@lists.01.org
https://lists.01.org/mailman/listinfo/kbuild


[kbuild] [cryptodev:master 22/28] drivers/crypto/qat/qat_common/qat_uclo.c:960 qat_uclo_parse_uof_obj() warn: potential pointer math issue ('obj_handle-obj_hdr-file_buff' is a 128 bit pointer)

2014-06-20 Thread kbuild test robot
TO: Tadeusz Struk tadeusz.st...@intel.com
CC: Herbert Xu herb...@gondor.apana.org.au

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git 
master
head:   6c9e3dcd36691c8690861a5f6902226ed2d8a75e
commit: cea4001ae1f80270a30031c6de139313e4dda213 [22/28] crypto: qat - Update 
to makefiles
config: make ARCH=i386 allyesconfig
:: branch date: 3 hours ago
:: commit date: 7 hours ago

All error/warnings:

 drivers/crypto/qat/qat_dh895xcc/adf_drv.c:60:31: fatal error: 
 adf_accel_devices.h: No such file or directory
#include adf_accel_devices.h
  ^
   compilation terminated.
--
 drivers/crypto/qat/qat_dh895xcc/adf_isr.c:54:31: fatal error: 
 adf_accel_devices.h: No such file or directory
#include adf_accel_devices.h
  ^
   compilation terminated.
--
 drivers/crypto/qat/qat_dh895xcc/adf_dh895xcc_hw_data.c:47:31: fatal error: 
 adf_accel_devices.h: No such file or directory
#include adf_accel_devices.h
  ^
   compilation terminated.
--
 drivers/crypto/qat/qat_dh895xcc/adf_hw_arbiter.c:47:31: fatal error: 
 adf_accel_devices.h: No such file or directory
#include adf_accel_devices.h
  ^
   compilation terminated.
--
 drivers/crypto/qat/qat_dh895xcc/qat_admin.c:47:35: fatal error: 
 icp_qat_fw_init_admin.h: No such file or directory
#include icp_qat_fw_init_admin.h
  ^
   compilation terminated.
--
 drivers/crypto/qat/qat_dh895xcc/adf_admin.c:53:31: fatal error: 
 adf_accel_devices.h: No such file or directory
#include adf_accel_devices.h
  ^
   compilation terminated.
drivers/crypto/qat/qat_common/qat_uclo.c:960 qat_uclo_parse_uof_obj() warn: 
potential pointer math issue ('obj_handle-obj_hdr-file_buff' is a 128 bit 
pointer)

git remote add cryptodev 
git://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
git remote update cryptodev
git checkout cea4001ae1f80270a30031c6de139313e4dda213
vim +960 drivers/crypto/qat/qat_common/qat_uclo.c

b4b7e67c Tadeusz Struk 2014-06-05  944  }
b4b7e67c Tadeusz Struk 2014-06-05  945  }
b4b7e67c Tadeusz Struk 2014-06-05  946  
b4b7e67c Tadeusz Struk 2014-06-05  947  static int 
qat_uclo_parse_uof_obj(struct icp_qat_fw_loader_handle *handle)
b4b7e67c Tadeusz Struk 2014-06-05  948  {
b4b7e67c Tadeusz Struk 2014-06-05  949  struct icp_qat_uclo_objhandle 
*obj_handle = handle-obj_handle;
b4b7e67c Tadeusz Struk 2014-06-05  950  unsigned int ae;
b4b7e67c Tadeusz Struk 2014-06-05  951  
b4b7e67c Tadeusz Struk 2014-06-05  952  obj_handle-uword_buf = 
kzalloc(UWORD_CPYBUF_SIZE * sizeof(uint64_t),
b4b7e67c Tadeusz Struk 2014-06-05  953  
GFP_KERNEL);
b4b7e67c Tadeusz Struk 2014-06-05  954  if (!obj_handle-uword_buf)
b4b7e67c Tadeusz Struk 2014-06-05  955  return -ENOMEM;
b4b7e67c Tadeusz Struk 2014-06-05  956  
obj_handle-encap_uof_obj.beg_uof = obj_handle-obj_hdr-file_buff;
b4b7e67c Tadeusz Struk 2014-06-05  957  
obj_handle-encap_uof_obj.obj_hdr = (struct icp_qat_uof_objhdr *)
b4b7e67c Tadeusz Struk 2014-06-05  958  
 obj_handle-obj_hdr-file_buff;
b4b7e67c Tadeusz Struk 2014-06-05  959  
obj_handle-encap_uof_obj.chunk_hdr = (struct icp_qat_uof_chunkhdr *)
b4b7e67c Tadeusz Struk 2014-06-05 @960  
obj_handle-obj_hdr-file_buff + sizeof(struct icp_qat_uof_objhdr);
b4b7e67c Tadeusz Struk 2014-06-05  961  obj_handle-uword_in_bytes = 6;
b4b7e67c Tadeusz Struk 2014-06-05  962  obj_handle-prod_type = 
ICP_QAT_AC_C_CPU_TYPE;
b4b7e67c Tadeusz Struk 2014-06-05  963  obj_handle-prod_rev = 
PID_MAJOR_REV |
b4b7e67c Tadeusz Struk 2014-06-05  964  (PID_MINOR_REV 
 handle-hal_handle-revision_id);
b4b7e67c Tadeusz Struk 2014-06-05  965  if 
(qat_uclo_check_uof_compat(obj_handle)) {
b4b7e67c Tadeusz Struk 2014-06-05  966  pr_err(QAT: uof 
incompatible\n );
b4b7e67c Tadeusz Struk 2014-06-05  967  return -EINVAL;
b4b7e67c Tadeusz Struk 2014-06-05  968  }

:: The code at line 960 was first introduced by commit
:: b4b7e67c917fa8e2171b2ee7717b44efd7a52c47 crypto: qat - Intel(R) QAT 
ucode part of fw loader

:: TO: Tadeusz Struk tadeusz.st...@intel.com
:: CC: Herbert Xu herb...@gondor.apana.org.au

---
0-DAY kernel build testing backend  Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild Intel Corporation
___
kbuild mailing list
kbuild@lists.01.org
https://lists.01.org/mailman/listinfo/kbuild