Hi Alan,
Quoting Alan Tull :
On Sat, Oct 28, 2017 at 12:15 PM, Moritz Fischer wrote:
Hi Gustavo,
Thanks!
Glad to help. :)
Thanks
--
Gustavo A. R. Silva
On Sat, Oct 28, 2017 at 12:15 PM, Moritz Fischer wrote:
Hi Gustavo,
Thanks!
Alan
> On Fri, Oct 27, 2017 at 08:19:51PM +, Gustavo A. R. Silva wrote:
>> Notice that bridge = to_fpga_bridge(dev); expands to:
>>
>> bridge = container_of(dev, struct fpga_bridge, dev);
>>
>> and container_of is
Hi Moritz,
Quoting Moritz Fischer :
On Fri, Oct 27, 2017 at 08:19:51PM +, Gustavo A. R. Silva wrote:
Notice that bridge = to_fpga_bridge(dev); expands to:
bridge = container_of(dev, struct fpga_bridge, dev);
and container_of is never null, so this null check is
unnecessary.
Addresses-Co
On Fri, Oct 27, 2017 at 08:19:51PM +, Gustavo A. R. Silva wrote:
> Notice that bridge = to_fpga_bridge(dev); expands to:
>
> bridge = container_of(dev, struct fpga_bridge, dev);
>
> and container_of is never null, so this null check is
> unnecessary.
>
> Addresses-Coverity-ID: 1397912
> Repo
Notice that bridge = to_fpga_bridge(dev); expands to:
bridge = container_of(dev, struct fpga_bridge, dev);
and container_of is never null, so this null check is
unnecessary.
Addresses-Coverity-ID: 1397912
Reported-by: Alan Tull
Signed-off-by: Gustavo A. R. Silva
---
drivers/fpga/fpga-bridge.c
5 matches
Mail list logo