Re: [bug report] staging/atomisp: Add support for the Intel IPU v2

2017-03-20 Thread Alan Cox
>    674   >    675  /* To avoid owerflows when calling the efivar API */ >    676  if (*out_len > ULONG_MAX) > > This is impossible.  Was UINT_MAX intended? I am really not sure. The only case I can imagine is 32bit EFI on a 64bit system,

[bug report] staging/atomisp: Add support for the Intel IPU v2

2017-03-13 Thread Dan Carpenter
Hello Alan Cox, The patch a49d25364dfb: "staging/atomisp: Add support for the Intel IPU v2" from Feb 17, 2017, leads to the following static checker warning: drivers/staging/media/atomisp/platform/intel-mid/atomisp_gmin_platform.c:676 gmin_get_config_var() warn: impossible