* [bug report] chcr: Support for Chelsio's Crypto Hardware
@ 2016-10-12 6:13 Dan Carpenter
0 siblings, 0 replies; only message in thread
From: Dan Carpenter @ 2016-10-12 6:13 UTC (permalink / raw)
To: hariprasad; +Cc: linux-crypto
Hello Hariprasad Shenai,
This is a semi-automatic email about new static checker warnings.
The patch 324429d74127: "chcr: Support for Chelsio's Crypto Hardware"
from Aug 17, 2016, leads to the following Smatch complaint:
drivers/crypto/chelsio/chcr_algo.c:378 write_sg_data_page_desc()
error: we previously assumed 'sg' could be null (see line 376)
drivers/crypto/chelsio/chcr_algo.c
375 while (count > 0) {
376 if (sg && (!(sg->length)))
^^
Check.
377 break;
378 spage = sg_page(sg);
^^^^^^^^^^^
Unchecked dereference inside function.
379 get_page(spage);
380 page_len = min(sg->length, count);
regards,
dan carpenter
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-10-12 7:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-12 6:13 [bug report] chcr: Support for Chelsio's Crypto Hardware Dan Carpenter
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.